Template:LangSwitch: Difference between revisions

restore error handling to non-file pages
(Lua version, per talk)
(restore error handling to non-file pages)
Line 1:
<includeonly>{{#invoke: fallback|langSwitchfromWiki}}{{#ifeq:{{NAMESPACE}}|File||{{#if:{{{en|}}}{{{default|}}}{{{nocat|}}}||<span style="color:red">'''LangSwitch Error: no default'''</span>[[Category:LangSwitch template without default version]]}}}}</includeonly><noinclude>
 
{{Documentation}}
 
Anonymous user