Template:Underconstruction: Difference between revisions
(add "section" field with Template:Page ns) |
m (add →Examples) |
||
Line 6: | Line 6: | ||
==Usage== | ==Usage== | ||
===Parameters=== | ===Parameters=== | ||
;<code>section</code> | ;<code>section</code> | ||
:If set to <code>true</code>, will display "section" instead of "article" in the title. | :If set to <code>true</code>, will display "section" instead of "article" in the title. | ||
;<code>hidecat</code> | ;<code>hidecat</code> | ||
:If | :If set to <code>true</code>, will not add the page to the "{{ll|:Category:WIP articles|WIP articles}}" category. | ||
==Examples== | |||
*{{tll|Underconstruction}} or {{tll|wip}} | |||
{{Underconstruction|hidecat=true}} | |||
{{Translation guide|<syntaxhighlight lang="html"> | {{Translation guide|<syntaxhighlight lang="html"> | ||
Line 19: | Line 20: | ||
| title = This {{{2}}} is currently under construction. | | title = This {{{2}}} 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. | | 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 | | note = If this page has not been updated in a while, please replace this notice with {{tll|Improve}}. Last edit was {{REVISIONDAY2}}/{{REVISIONMONTH}}/{{REVISIONYEAR}}. | ||
| #default = [[Category:Incorrect template usage]] | | #default = [[Category:Incorrect template usage]] | ||
}} | }} | ||
Line 41: | Line 42: | ||
}} | }} | ||
| note = {{tt|name=Underconstruction | | note = {{tt|name=Underconstruction | ||
| default = If this page has not been updated in a while, please | | default = If this page has not been updated in a while, please replace this notice with {{tll|Improve}}. Last edit was {{REVISIONDAY2}}/{{REVISIONMONTH}}/{{REVISIONYEAR}}. | ||
| arg1 = note | | arg1 = note | ||
}} | }} |
Revision as of 17:57, 13 January 2024
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
Parameters
section
- If set to
true
, will display "section" instead of "article" in the title. hidecat
- If set to
true
, will not add the page to the "WIP articles" category.
Examples
{{Underconstruction}}
or{{wip}}
{{Improve}}
. Last edit was 13/01/2024.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 {{{2}}} 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 replace this notice with {{tll|Improve}}. 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.