Changes

Template:Documentation

317 bytes added, 22:51, 2 January 2010
Adding automatic adding of {{pp-template}} to protected templates. See talk page.
<!--Automatically add {{pp-template}} to protected templates-->{{template other| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop | {{pp-template}} | {{#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 MediaWiki:Common.css:
These are the literal class definitions in common.css:
/* For template documentation */
.template-documentation {
{{#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>
Anonymous user