Šablona:Documentation: Porovnání verzí
Z Wiki JU
hidden>Cenarium (rv, not much use here) |
hidden>Davidgothberg (Adding automatic adding of {{pp-template}} to protected templates. See talk page.) |
||
Řádek 1: | Řádek 1: | ||
<div class="template-documentation"><!-- | <!--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: | |||
/* For template documentation */ | /* For template documentation */ | ||
.template-documentation { | .template-documentation { | ||
Řádek 43: | Řádek 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> |
Verze z 3. 1. 2010, 07:51
[[{{fullurl:Šablona:Documentation/docname|action=edit&preload=Template:Documentation/preload}} create]] Soubor:Template-info.svg Template documentation