Difference between revisions of "Template:Pp-template"

From RimWorld Wiki
Jump to navigation Jump to search
(simplification, expiry, documentation)
Line 1: Line 1:
<noinclude>{{Recode|reason=Automatically called on protected pages, should not have been deleted in the first place. Current template is a placeholder only}}</noinclude>{{rwbox
+
<noinclude>{{Recode|reason=Automatically called on protected pages, should not have been deleted in the first place. Current template is a placeholder only}}</noinclude><includeonly>{{Rwbox
  | nocat = true
+
   | type  = protect
   | type  = manual
+
   | text  = This page is protected. '''Level:''' {{ucfirst:{{PROTECTIONLEVEL:edit}}}} users and above. '''Until:''' {{#ifeq: {{PROTECTIONEXPIRY:edit}} | infinity | Indefinetly | {{#time:j M Y H:i:s | {{PROTECTIONEXPIRY:edit}} }} }}.
  | image = [[File:Modal Protect Icon.png|40px]]
+
}}</includeonly><noinclude>{{Documentation | content =
   | text  = This page is protected. Level: {{ucfirst:{{PROTECTIONLEVEL:edit}}}} users and above.
+
 
}}
+
This template is automatically called on protected pages and produces the following notice:
 +
 
 +
{{Pp-template}}
 +
 
 +
[[Category:Notice templates]]
 +
 
 +
}}</noinclude>

Revision as of 15:17, 14 December 2022

Documentation icon Template documentation

This template is automatically called on protected pages and produces the following notice: