Difference between revisions of "Template:Iso2language/doc"

From blackwiki
Jump to navigation Jump to search
imported>Lfdder
imported>Gonnym
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{Lua|Module:ISO 639 name}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 
Same function as {{tl|ISO 639 name}}, but links the language name to its article.
 
Same function as {{tl|ISO 639 name}}, but links the language name to its article.
Line 10: Line 11:
 
| <code><nowiki>{{iso2language|en}}</nowiki></code>
 
| <code><nowiki>{{iso2language|en}}</nowiki></code>
 
| {{iso2language|en}}
 
| {{iso2language|en}}
 +
|-
 +
| <code><nowiki>{{iso2language|en|code=yes}}</nowiki></code>
 +
| {{iso2language|en|code=yes}}
 
|}
 
|}
  
<includeonly><!--
+
<includeonly>{{Sandbox other||<!--
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 
[[Category:ISO 639 name from code templates| ]]
 
[[Category:ISO 639 name from code templates| ]]
  
 
[[it:Template:Nomelingua]]
 
[[it:Template:Nomelingua]]
</includeonly>
+
}}</includeonly>

Latest revision as of 16:16, 14 August 2020

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