Template:ISO 639 name conversion template doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]


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 he-n}} the default language name is Hebrew.
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 he-n}} the default language code is he-n.
dab
Disambiguation used in name of Wikipedia article for the language. This parameter is optional; there is no default value.
Example: {{ISO 639 name he-n}} uses |dab=Romance language to generate a link to Category:Hebrew language; without this parameter the link would be Hebrew language (a disambiguation page).

Example

[edit]

Examples showing content of {{ISO 639 name he-n}}:

Without parameters

[edit]
Hebrew<noinclude>
{{ISO 639 name conversion template doc}}
</noinclude>

With parameters, using text

[edit]
Hebrew<noinclude>
{{ISO 639 name conversion template doc|Hebrew|he-n}}
</noinclude>

With parameters, using PAGENAME

[edit]
Hebrew<noinclude>
{{ISO 639 name conversion template doc|{{ {{PAGENAME}} }}|he-n}}
</noinclude>

With parameters, using template

[edit]
Hebrew<noinclude>
{{ISO 639 name conversion template doc|{{ISO 639 name he-n}}|he-n}}
</noinclude>

Categories added by template

[edit]

See also

[edit]

</onlyinclude> Template loop detected: Template:Documentation <includeonly></includeonly>