Diferencia entre revisiones de «Plantilla:Documentation»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
(avoid passing {{{content}}} through, as subtemplates only need to know if it is blank or not, per protected edit request)
Línea 3: Línea 3:
 
-->{{#ifeq: {{SUBPAGENAME}} | sandbox
 
-->{{#ifeq: {{SUBPAGENAME}} | sandbox
 
| <div style="clear: both;"></div>{{template sandbox notice|{{{livepage|}}}}}
 
| <div style="clear: both;"></div>{{template sandbox notice|{{{livepage|}}}}}
 +
}}<!--
 +
  Automatically add {{pp-template}} to protected templates.
 +
-->{{template other
 +
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop
 +
  | {{pp-template|docusage=yes}}
 +
  | {{#if: {{PROTECTIONLEVEL:edit}}
 +
    | {{pp-template|docusage=yes}}
 +
    | <!--Not protected, or only semi-move-protected-->
 +
    }}
 +
  }}
 
}}<!--
 
}}<!--
 
   Start of green doc box.
 
   Start of green doc box.
Línea 9: Línea 19:
 
| heading = {{{heading|¬}}}  <!--Empty but defined means no header-->
 
| heading = {{{heading|¬}}}  <!--Empty but defined means no header-->
 
| heading-style = {{{heading-style|}}}
 
| heading-style = {{{heading-style|}}}
| content = {{{content|}}}
+
| content = {{#if:{{{content|}}}|1}}
  
 
<!--Some namespaces must have the /doc, /sandbox and /testcases  
 
<!--Some namespaces must have the /doc, /sandbox and /testcases  
Línea 38: Línea 48:
 
-->{{documentation/end box2
 
-->{{documentation/end box2
 
| preload = {{{preload|}}}  <!--Allow custom preloads-->
 
| preload = {{{preload|}}}  <!--Allow custom preloads-->
| content = {{{content|}}}
+
| content = {{#if:{{{content|}}}|1}}
 
| link box = {{{link box|}}}  <!--So "link box=off" works-->
 
| link box = {{{link box|}}}  <!--So "link box=off" works-->
  

Revisión del 10:12 12 jul 2013

Plantilla:Documentation/start box2

Plantilla:Documentation/end box2