Template:Documentation: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Cenarium rv, not much use here |
imported>Davidgothberg Adding automatic adding of {{pp-template}} to protected templates. See talk page. |
||
Line 1: | Line 1: | ||
<!--Automatically add {{pp-template}} to protected templates--> |
|||
⚫ | |||
{{template other |
|||
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop |
|||
⚫ | |||
| {{#if: {{PROTECTIONLEVEL:edit}} |
|||
| {{pp-template}} |
|||
| <!--Not protected, or only semi-move-protected--> |
|||
}} |
|||
}} |
|||
}}<!-- |
|||
Start of green doc box. |
|||
⚫ | |||
⚫ | |||
⚫ | |||
/* For template documentation */ |
/* For template documentation */ |
||
.template-documentation { |
.template-documentation { |
||
Line 43: | Line 54: | ||
{{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}} |
{{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}} |
||
<div style="clear: both;"></div> |
<div style="clear: both;"></div> |
||
</div><noinclude> |
</div><!--End of green doc box--><noinclude> |
||
⚫ | |||
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
||
</noinclude> |
</noinclude> |
Revision as of 06:51, 3 January 2010
[[{{fullurl:Template:Documentation/docname|action=edit&preload=Template:Documentation/preload}} create]] Template documentation