Difference between revisions of "Template:ISO 639 name"

From ERPC Wiki Archive
Jump to: navigation, search
m (1 revision imported)
(test if {{{1}}} exists first, return empty string if template doesn't exist, per Template talk:ISO 639 name#Return empty string for codes not on the list)
Line 1: Line 1:
{{ISO 639 name {{{1|undefined}}}}}<noinclude>
+
{{#if:{{{1|}}} | {{#ifexist:Template:ISO 639 name {{{1}}}|{{ISO 639 name {{{1}}}}}| }} | {{ISO 639 name undefined}} }}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 14:51, 5 April 2017

Template:ISO 639 name undefined Lua error in Module:Fallback at line 134: attempt to index a nil value.