Template:Underconstruction: Difference between revisions

From PZwiki
(changed category to WIP articles)
(added better translation funcitonality, removed REVISIONUSER, adjusted styling)
Line 1: Line 1:
<noinclude>{{Documentation}}[[Category:Maintenance templates]][[Category:Mbox templates]]</noinclude><includeonly>{{NoticeBox
<noinclude>{{Languages}}{{Documentation}}[[Category:Maintenance templates]][[Category:Mbox templates]]</noinclude><includeonly>{{NoticeBox
| color  = #e00
| color  = #e00
| image  = [[File:Hammer.png]]
| image  = [[File:Hammer.png]]
| style   = text-align:center; font-size:120%;
|text={{#switch: {{Subpage|slash=false}}
| text    = {{Translation|This article or section is currently '''UNDER CONSTRUCTION'''.}}<br> {{Translation|It is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well, be sure to check the}} [[{{TALKPAGENAME}}|{{Translation|talk page}}]].<br><small>''{{Translation|If this page has not been updated in a while, please remove this notice. Last edit was}} {{REVISIONDAY2}}/{{REVISIONMONTH}}/{{REVISIONYEAR}} {{Translation|by}} [[User:{{REVISIONUSER}}|{{REVISIONUSER}}]].''</small>
  |es={{Template:Underconstruction/es}}
  |pl={{Template:Underconstruction/pl}}
  |pt={{Template:Underconstruction/pt}}
   |ru={{Template:Underconstruction/ru}}
  |zh-cn={{Template:Underconstruction/zh-cn}}
  |en <!-- default -->
  |#default=<span style="font-size:120%">This article or section is currently '''UNDER CONSTRUCTION'''.</span><br> It is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well, be sure to check the [[{{TALKPAGENAME}}|{{Translation|talk page}}]].<br><small>''If this page has not been updated in a while, please remove this notice. Last edit was {{REVISIONDAY2}}/{{REVISIONMONTH}}/{{REVISIONYEAR}}.''</small>
}}
| cat    = [[Category:WIP articles{{#ifeq:{{Language code|{{Subpage|slash=false}}}}|true|{{Subpage}}|}}]] <!-- checks if pagename = subpagename in language code registry then returns null, else add subpagename -->
| cat    = [[Category:WIP articles{{#ifeq:{{Language code|{{Subpage|slash=false}}}}|true|{{Subpage}}|}}]] <!-- checks if pagename = subpagename in language code registry then returns null, else add subpagename -->
| hidecat = {{{hidecat|}}}
| hidecat = {{{hidecat|}}}
}}</includeonly>
}}</includeonly>

Revision as of 06:56, 23 July 2023

[view] [edit] [history] [purge] Template documentation
This template doesn't have any documentation yet! Help out by writing some.
Documentation transcluded from Template:Underconstruction/doc.
Editors can experiment in this template's sandbox (create)