Template:ISO 639 name conversion template doc

From SweepMe! Wiki
Revision as of 20:07, 9 March 2020 by wikipedia>Gonnym
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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

Usage

{{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

1 Page Template:Nobold/styles.css has no content.(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 Page Template:Nobold/styles.css has no content.(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

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

Without parameters

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

With parameters, using text

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

With parameters, using PAGENAME

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

With parameters, using template

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

Categories added by template

See also