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

De Wiki Coolab
Ir para navegação Ir para pesquisar
NumBlk>Tra
(add new parameter, per talk)
NumBlk>Mr. Stradivarius
(avoid passing {{{content}}} through, as subtemplates only need to know if it is blank or not, per protected edit request)
Linha 19: Linha 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  
Linha 48: Linha 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-->
  

Edição das 09h12min de 12 de julho de 2013

{{#ifeq: Documentation | sandbox |

Predefinição:Template sandbox notice }}Predefinição:Template otherPredefinição:Documentation/start box2 {{#switch: {{#if:|1|0}}{{#if:|1|0}}{{#ifexist:|1|0}}{{#ifexist:Predefinição:Documentation/docspace:Predefinição:Documentation/template page/doc|1|0}} | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 = | 0110 | 0111 = {{ {{{1}}} }} | 0001 | 0011 = {{ Predefinição:Documentation/docspace:Predefinição:Documentation/template page/doc }} | 0000 | 0100 | 0010 | 0101 = }} Predefinição:Documentation/end box2