Difference between revisions of "Template:Iso2language/doc"
Jump to navigation
Jump to search
imported>Lfdder |
imported>Gonnym |
||
| (3 intermediate revisions by 3 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| | + | Same function as {{tl|ISO 639 name}}, but links the language name to its article. |
;Example | ;Example | ||
| 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
| This is a documentation subpage for Template:Iso2language. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
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 |