Template:Underconstruction: Difference between revisions
m (added |tr={{Template:Underconstruction/tr}}) |
(new layout) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
| | {{Documentation/sandbox|doc = | ||
Articles that are either new and still being constructed, or articles undergoing a major transition requiring multiple edits. | |||
Adds articles to the {{ll|:Category:WIP articles|WIP articles}} category. | |||
==Usage== | |||
This template can be used by simply adding {{Tlx|Underconstruction}} to the page. | |||
'''This will produce:''' | |||
{{Underconstruction|hidecat=true}} | |||
{{Translation guide|<syntaxhighlight lang="html"> | |||
{{#switch: {{{1|}}} | |||
| title = This article or section is currently under construction. | |||
| content = It is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well. | |||
| note = If this page has not been updated in a while, please remove this notice. Last edit was {{REVISIONDAY2}}/{{REVISIONMONTH}}/{{REVISIONYEAR}}. | |||
| #default = [[Category:Incorrect template usage]] | |||
}} | }} | ||
| | </syntaxhighlight>}} | ||
| | }} | ||
{{ll|Category:Maintenance templates}} | |||
{{ll|Category:Mbox templates}} | |||
</noinclude><includeonly>{{Mbox | |||
| color = #ee0000 | |||
| sign = [[File:Hammer.png|link=Template:Underconstruction{{#ifeq:{{Language code}}|true|{{Subpage}}|}}]] | |||
| title = {{tt | |||
| name = Underconstruction | |||
| default = This article or section is currently under construction. | |||
| arg1 = title | |||
}} | |||
| content = {{tt | |||
| name = Underconstruction | |||
| default = It is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well. | |||
| arg1 = content | |||
}} | |||
| note = {{tt | |||
| name = Underconstruction | |||
| default = If this page has not been updated in a while, please remove this notice. Last edit was {{REVISIONDAY2}}/{{REVISIONMONTH}}/{{REVISIONYEAR}}. | |||
| arg1 = note | |||
}} | |||
| id = mbox-wip | |||
| cat = {{#if:{{{hidecat|}}}||WIP articles{{#ifeq:{{Language code}}|true|{{Subpage}}|}}}} | |||
| collapsed = true | |||
}}</includeonly> | }}</includeonly> |
Revision as of 16:32, 28 December 2023
Articles that are either new and still being constructed, or articles undergoing a major transition requiring multiple edits.
Adds articles to the WIP articles category.
Usage
This template can be used by simply adding {{Underconstruction}}
to the page.
This will produce:
How to translate
This template is translatable.
Template code
Paste the following code into the <includeonly>
tag of the translated template and translate the text after each =
sign (except for #default =
).
{{#switch: {{{1|}}}
| title = This article or section is currently under construction.
| content = It is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well.
| note = If this page has not been updated in a while, please remove this notice. Last edit was {{REVISIONDAY2}}/{{REVISIONMONTH}}/{{REVISIONYEAR}}.
| #default = [[Category:Incorrect template usage]]
}}
Template documentation
Copy the code wrapped in the <noinclude>
tag in this template and translate the text after doc =
in the {{Documentation}}
template.
{{Translation guide}}
template should be removed from the translated documentation.