Template:ISO 639 name conversion template doc/doc

From Wikipedia, the free encyclopedia
Jump to: navigation, search

This is the documentation template for the subcategories of Category:ISO 639 name from code templates.

Usage[edit]

{{ISO 639 name conversion template doc}}

{{ISO 639 name conversion template doc|NAME}}

{{ISO 639 name conversion template doc|NAME|CODE}}

{{ISO 639 name conversion template doc|NAME|CODE|dab=DISAMBIGUATION}}

Parameters[edit]

1 (unnamed parameter)
Language name. This parameter is optional; it defaults to the name output by the template.
Example: for {{ISO 639 name de}} the default language name is German.
2 (unnamed parameter)
Language code (ISO 639-1, ISO 639-2, or ISO 639-3). This parameter is optional; it defaults to last two letters of the template name.
Example: for {{ISO 639 name de}} the default language code is de.
dab
Disambiguation used in name of Wikipedia article for the language. This parameter is optional; there is no default value.
Example: {{ISO 639 name lij}} uses |dab=Romance language to generate a link to Ligurian language (Romance language); without this parameter the link would be Ligurian language (a disambiguation page).

Example[edit]

Examples showing content of {{ISO 639 name de}}:

Without parameters[edit]

German<noinclude>
{{ISO 639 name conversion template doc}}
</noinclude>

With parameters, using text[edit]

German<noinclude>
{{ISO 639 name conversion template doc|German|de}}
</noinclude>

With parameters, using PAGENAME[edit]

German<noinclude>
{{ISO 639 name conversion template doc|{{ {{PAGENAME}} }}|de}}
</noinclude>

With parameters, using template[edit]

German<noinclude>
{{ISO 639 name conversion template doc|{{ISO 639 name de}}|de}}
</noinclude>

Categories added by template[edit]

See also[edit]