Diferencia entre revisiones de «Plantilla:Template other»
De Familia Sanchez Arjona
(Creating this namespace detecting template. Based on my code from {{category other}} and {{main other}} etc.) |
m (4 revisiones importadas) |
||
(No se muestran 3 ediciones intermedias de 2 usuarios) | |||
Línea 1: | Línea 1: | ||
{{#switch: | {{#switch: | ||
<!--If no or empty "demospace" parameter then detect namespace--> | <!--If no or empty "demospace" parameter then detect namespace--> | ||
− | {{#if:{{{demospace|}}} | + | {{#if:{{{demospace|}}} |
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | ||
− | | {{#ifeq:{{NAMESPACE}}|Template | + | | {{#ifeq:{{NAMESPACE}}|{{ns:Template}} |
| template | | template | ||
| other | | other | ||
− | }} | + | }} |
}} | }} | ||
| template = {{{1|}}} | | template = {{{1|}}} | ||
Línea 13: | Línea 13: | ||
}}<!--End switch--><noinclude> | }}<!--End switch--><noinclude> | ||
− | {{ | + | {{documentation}} |
− | |||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Revisión actual del 15:22 27 may 2016
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |