Difference between revisions of "Template:Underconstruction"

From Project: Gorgon Wiki
Jump to: navigation, search
(copy-over from latest version on http://templates.wikia.com/wiki/Template:Underconstruction)
 
m (fix for nor-template pages)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{ambox
 
{{ambox
| image  = [[File:Under contruction icon-yellow.svg|50px]]
+
| image  = [[File:Under contruction icon-yellow.png|50px]]
 
| border = red
 
| border = red
| type  = Note that {{{1|this {{#switch:{{NAMESPACE}}|=article|{{ns:template}}=template}}}}} is still under construction.
+
| type  = Note that {{{1|this {{#switch:{{NAMESPACE}}
| info  = It may not function as expected. Check the [[{{#switch:{{NAMESPACE}}|=Talk|{{ns:Template}}=Template talk}}:{{#ifeq:{{#titleparts:{{PAGENAME}}|1|-1}}|doc|{{BASEPAGENAME}}|{{PAGENAME}}}}|discussion]] for info about its current state.<br/>See [[:Category:Underconstruction {{#switch:{{NAMESPACE}}|=article|{{ns:template}}=template}}s]] for other incomplete {{#switch:{{NAMESPACE}}|=article|{{ns:template}}=template}}s.
+
                              | {{ns:template}} = template
 +
                              | #default = article
 +
                              }} }}} is still under construction.
 +
| info  = It may not function as expected. Check the [[{{#switch:{{NAMESPACE}}
 +
                                                        | {{ns:Template}} = Template talk
 +
                                                        | #default = Talk
 +
                                                        }}:{{#ifeq:{{#titleparts:{{PAGENAME}}|1|-1}} | doc
 +
                                                          | {{BASEPAGENAME}}
 +
                                                          | {{PAGENAME}}
 +
                                                          }}|discussion]] for info about its current state.<br/>See [[:Category:Underconstruction {{#switch:{{NAMESPACE}}
 +
                              | {{ns:template}} = template
 +
                              | #default = article
 +
                              }}s]] for other incomplete {{#switch:{{NAMESPACE}}
 +
                                                        | {{ns:template}} = template
 +
                                                        | #default = article
 +
                                                        }}s.
 
}}<includeonly>
 
}}<includeonly>
{{{category|[[<noinclude>:</noinclude>Category:Underconstruction {{#switch:{{NAMESPACE}}|=article|{{ns:template}}=template}}s|{{PAGENAME}}]]}}}
+
{{{category|[[<noinclude>:</noinclude>Category:Underconstruction {{#switch:{{NAMESPACE}}
 +
                                                                | {{ns:template}} = template
 +
                                                                | #default = article
 +
                                                                }}s|{{PAGENAME}}]]}}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories to the documentation sub page -->
 
<!-- Add categories to the documentation sub page -->
 
</noinclude>
 
</noinclude>

Latest revision as of 10:18, 12 April 2016

Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Usage
Place {{Underconstruction}} at the top of the documentation page of any incomplete templates or the top of the articles to warn potential users they may not function properly yet.
It also adds them to the Category:Underconstruction templates or Category:Underconstruction articles
Dependencies
Example
{{Underconstruction}} gives



Notes
This is based on and requires the template:Ambox meta template.
It has a Icon & Standard message set.
Changing the message in the template will change it in every instance of the template on the Wiki.
The template is set to Categorize the pages it is used on.
The above text is transcluded from Template:Underconstruction/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:Underconstruction/doc. (View all subpages of this page.)