Diferència entre les revisions de "Plantilla:Transclude"

Pàgina nova, en el contingut: «{{#switch: {{NAMESPACE: {{{1}}} }} |#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> |{{ns:0}} = {{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESP...».
 
Sense resum d'edició
Llínea 3: Llínea 3:
  |{{ns:0}} =  
  |{{ns:0}} =  
     {{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{1}}} }}
     {{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{1}}} }}
       | Predefinição:{{{1}}}            <!-- no leading colon, eg "Foo" -->
       | Plantilla:{{{1}}}            <!-- no leading colon, eg "Foo" -->
       | {{PAGENAME: {{{1}}} }}      <!-- leading colon, eg ":Foo", so we want the article -->
       | {{PAGENAME: {{{1}}} }}      <!-- leading colon, eg ":Foo", so we want the article -->
     }}
     }}
}}
}}