Mudanças entre as edições de "Predefinição:Documentation"

De Wiki Coolab
Ir para navegação Ir para pesquisar
NumBlk>Cenarium
(rv, not much use here)
NumBlk>Davidgothberg
(Adding automatic adding of {{pp-template}} to protected templates. See talk page.)
Linha 1: Linha 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:
  
These are the literal class definitions in common.css:
 
 
 
/* For template documentation */
 
/* For template documentation */
 
.template-documentation {
 
.template-documentation {
Linha 43: Linha 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>
  
{{pp-template|small=yes}}
 
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Edição das 06h51min de 3 de janeiro de 2010

Predefinição:Template other

{{#ifeq:μ|
 |
|
{{#ifeq:μ|μ
  |{{#ifexist: Predefinição:Documentation/docname
   |[[{{fullurl:Predefinição:Documentation/docname|action=edit}} edit]] [[[:Predefinição:Purge]]] 
   |[[{{fullurl:Predefinição:Documentation/docname|action=edit&preload=Template:Documentation/preload}} create]]
  }}
}} {{#if:|{{{heading}}}|{{#ifeq:Predefinição|Predefinição|Template-info.svg Template documentation|Documentation}}}}
}}

{{#if:|{{{content}}}|{{#ifexist:Predefinição:Documentation/docname | {{ Predefinição:Documentation/docname }} }}}}