Template:Pp-protected: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(+link to avoid confusion)
(Switch to doc subpage per talk request)
Line 1: Line 1:
{{#ifeq:{{{small|}}}{{{expiry|ʁ}}}|yesʁ
<noinclude>{{pp-template|small=yes}}
</noinclude>{{#ifeq:{{{small|}}}{{{expiry|ʁ}}}|yesʁ
|
|
<div style="position:absolute; z-index:100; right:25px; top:8px; height:10px; width:300px;"></div>
<div style="position:absolute; z-index:100; right:25px; top:8px; height:10px; width:300px;"></div>
Line 19: Line 18:
</tr>
</tr>
</table>
</table>
}}<includeonly>[[Category:Protected|{{PAGENAME}}]]{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Protected pages with expiry expired|{{PAGENAME}}]]}}</includeonly><noinclude>
}}<includeonly>[[Category:Protected|{{PAGENAME}}]]{{
#ifexpr:

{{#if:{{{expiry|}}}
----
* Use {{tlx|{{lc:{{PAGENAME}}}}}} for the normal template
| {{#time:U|today}}>{{#time:U|{{{expiry}}}}}
| 0
* Use {{tlx|{{lc:{{PAGENAME}}}}|reason&#61;text}} for applying a specific reason
}}
* Use {{tlx|{{lc:{{PAGENAME}}}}|expiry&#61;{{#time:F j, Y|+1 month}}}} for a specific expiration date
| [[Category:Protected pages with expiry expired|{{PAGENAME}}]]
* Use {{tlx|{{lc:{{PAGENAME}}}}|small&#61;yes}} for just an icon at the top
}}</includeonly><noinclude>
* Use {{tlx|{{lc:{{PAGENAME}}}}|expiry&#61;<nowiki>{{subst:#time:F j, Y|+7 days}}</nowiki>}} for a specific expiration time period

{{pp-template|small=yes}}
Note that ''(UTC)'' will be added automatically.
{{template doc}}

<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
This template is not to be used as a bluff. '''''Only use it on FULLY PROTECTED pages.''''' Only [[Wikipedia:Administrators|administrators]] can protect pages.

{{protection templates}}
{{in category|Protected|Protected pages with expiry expired}}
[[Category:Protection templates|{{PAGENAME}}]]
</noinclude>
</noinclude>