Template:Documentation: Difference between revisions
Content deleted Content added
rv, not much use here |
Adding automatic adding of {{pp-template}} to protected templates. See talk page. |
||
Line 1:
<!--Automatically add {{pp-template}} to protected templates-->
<div class="template-documentation"><!--▼
{{template other
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop
| {{#if: {{PROTECTIONLEVEL:edit}}
| {{pp-template}}
| <!--Not protected, or only semi-move-protected-->
}}
}}
}}<!--
Start of green doc box.
▲--><div class="template-documentation"><!--
▲These are the literal class definitions in common.css:
/* For template documentation */
.template-documentation {
Line 43 ⟶ 54:
{{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}}
<div style="clear: both;"></div>
</div><!--End of green doc box--><noinclude>
▲{{pp-template|small=yes}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
|