Diferencia entre revisiones de «Plantilla:Documentation»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
(Reducing transclusion depth per discussion on talk page)
(Undid revision 390426456 by Plastikspork (talk) Didn't fix the problem :()
Línea 15: Línea 15:
 
}}<!--
 
}}<!--
 
   Start of green doc box.
 
   Start of green doc box.
-->{{documentation/core
+
-->{{documentation/core2
 
| preload = {{{preload|}}}  <!--Allow custom preloads-->
 
| preload = {{{preload|}}}  <!--Allow custom preloads-->
 
| heading = {{{heading|¬}}}  <!--Empty but defined means no header-->
 
| heading = {{{heading|¬}}}  <!--Empty but defined means no header-->
Línea 22: Línea 22:
 
| link box = {{{link box|}}}  <!--So "link box=off" works-->
 
| link box = {{{link box|}}}  <!--So "link box=off" works-->
  
| docpage =
+
<!--Some namespaces must have the /doc, /sandbox and /testcases  
  {{#if: {{{1|}}}
+
     in talk space-->
  | {{{1|}}}
+
| docspace =
  | {{#switch: {{SUBJECTSPACE}}
+
  {{#switch: {{SUBJECTSPACE}}
  | {{ns:0}}
 
  | {{ns:File}}
 
  | {{ns:MediaWiki}}
 
  | {{ns:Category}} = {{TALKSPACE}}
 
  | #default = {{SUBJECTSPACE}}
 
  }}:{{#switch: {{SUBPAGENAME}}
 
  | sandbox
 
  | testcases = {{BASEPAGENAME}}
 
  | #default = {{PAGENAME}}
 
  }}/doc
 
  }}
 
| doc exist =
 
  {{#ifexist:
 
     {{#if: {{{1|}}}
 
    | {{{1|}}}  <!--Other docname fed-->
 
    | {{#switch: {{SUBJECTSPACE}}
 
 
   | {{ns:0}}
 
   | {{ns:0}}
 
   | {{ns:File}}
 
   | {{ns:File}}
Línea 47: Línea 31:
 
   | {{ns:Category}} = {{TALKSPACE}}
 
   | {{ns:Category}} = {{TALKSPACE}}
 
   | #default = {{SUBJECTSPACE}}
 
   | #default = {{SUBJECTSPACE}}
  }}:{{#switch: {{SUBPAGENAME}}
 
  | sandbox
 
  | testcases = {{BASEPAGENAME}}
 
  | #default = {{PAGENAME}}
 
  }}/doc
 
    }}
 
  | yes
 
  }}
 
| docname fed =
 
  {{#if: {{{1|}}}
 
  | yes
 
 
   }}
 
   }}
  
| sandbox =  
+
| 1 = {{{1|}}}  <!--Other docname, if fed-->
  {{#switch: {{SUBJECTSPACE}}
 
  | {{ns:0}}
 
  | {{ns:File}}
 
  | {{ns:MediaWiki}}
 
  | {{ns:Category}} = {{TALKSPACE}}
 
  | #default = {{SUBJECTSPACE}}
 
  }}:{{#switch: {{SUBPAGENAME}}
 
  | sandbox
 
  | testcases = {{BASEPAGENAME}}
 
  | #default = {{PAGENAME}}
 
  }}/sandbox
 
| testcases =
 
  {{#switch: {{SUBJECTSPACE}}
 
  | {{ns:0}}
 
  | {{ns:File}}
 
  | {{ns:MediaWiki}}
 
  | {{ns:Category}} = {{TALKSPACE}}
 
  | #default = {{SUBJECTSPACE}}
 
  }}:{{#switch: {{SUBPAGENAME}}
 
  | sandbox
 
  | testcases = {{BASEPAGENAME}}
 
  | #default = {{PAGENAME}}
 
   }}/testcases
 
  
 +
<!--The namespace is added in /core2-->
 
| template page =  
 
| template page =  
   {{NAMESPACE}}:{{#switch: {{SUBPAGENAME}}
+
   {{#switch: {{SUBPAGENAME}}
 
   | sandbox
 
   | sandbox
 
   | testcases = {{BASEPAGENAME}}
 
   | testcases = {{BASEPAGENAME}}

Revisión del 03:44 13 oct 2010

Plantilla:Documentation/core2