Template:Underconstruction: Difference between revisions

From PZwiki
(update doc)
m (update)
Line 6: Line 6:


==Usage==
==Usage==
This template can be used by simply adding {{Tlx|Underconstruction}} (or it's shortcut {{Tlx|wip}}) to the page.
*{{tll|Underconstruction}} / {{tll|wip}}
 
'''This will produce:'''
{{Underconstruction|hidecat=true}}
{{Underconstruction|hidecat=true}}


Line 30: Line 28:
</noinclude><includeonly>{{Mbox
</noinclude><includeonly>{{Mbox
| color = #ee0000
| color = #ee0000
| sign = [[File:Hammer.png|link=Template:Underconstruction{{#ifeq:{{Language code}}|true|{{Subpage}}|}}]]
| sign = [[File:Hammer.png|link=Template:Underconstruction{{lcs}}]]
| title = {{tt
| title = {{tt
   | name = Underconstruction
   | name = Underconstruction
Line 47: Line 45:
   }}
   }}
| id = mbox-wip
| id = mbox-wip
| cat = {{#if:{{{hidecat|}}}||WIP articles{{#ifeq:{{Language code}}|true|{{Subpage}}|}}}}
| cat = {{#if:{{{hidecat|}}}||WIP articles{{lcs}}}}
| collapsed = true
| collapsed = true
}}</includeonly>
}}</includeonly>

Revision as of 19:10, 30 December 2023

Notebook.pngTemplate Documentation

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

Hammer.png
This article or section is currently under construction.
It is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well.
If this page has not been updated in a while, please remove this notice. Last edit was 30/12/2023.

Parameters

hidecat
If not empty, will not add the page to the "WIP articles" category.

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.

See also

Editors can experiment in this template's sandbox.