Más acciones
m Protected "Template:LangSwitch": Widely used template ([Edit=Administrators only] (indefinite) [Move=Administrators only] (indefinite)) |
add visible error for no default case |
||
Línea 27: | Línea 27: | ||
| #default = {{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} | | #default = {{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} | ||
}} | }} | ||
|}}}<includeonly>{{#ifeq:{{NAMESPACE}}|File||{{#if:{{{en|}}}{{{default|}}}{{{nocat|<noinclude>1</noinclude>}}}||[[Category:LangSwitch template without | |}}}<includeonly>{{#ifeq:{{NAMESPACE}}|File||{{#if:{{{en|}}}{{{default|}}}{{{nocat|<noinclude>1</noinclude>}}}||<span style="color:red">'''LangSwitch Error: no default'''</span>[[Category:LangSwitch template without default version]]}}}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revisión del 18:00 13 feb 2013
Aún no se han escrito las instrucciones sobre esta plantilla. Añádelas.