Difference between revisions of "Template:Iso2language"

From blackwiki
Jump to navigation Jump to search
imported>Gonnym
imported>Gonnym
(Undid revision 972946830 by Gonnym (talk))
 
Line 1: Line 1:
 
<includeonly>{{#invoke:ISO 639 name|iso_639_code_to_name|{{{1}}}|link=yes|label={{#ifeq:{{{code|}}}|yes|{{{1|}}}}}}}</includeonly><noinclude>
 
<includeonly>{{#invoke:ISO 639 name|iso_639_code_to_name|{{{1}}}|link=yes|label={{#ifeq:{{{code|}}}|yes|{{{1|}}}}}}}</includeonly><noinclude>
{{documentation|content=
+
{{documentation}}
{{Lua|Module:ISO 639 name}}}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 16:16, 14 August 2020

Template documentation[view] [edit] [history] [purge]

Same function as {{ISO 639 name}}, but links the language name to its article.

Example
Code Result
{{iso2language|en}} English
{{iso2language|en|code=yes}} en

it:Template:Nomelingua