Template:ISO 639 name conversion template doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (1 revision imported from wikipedia:Template:ISO_639_name_conversion_template_doc) |
Latest revision as of 12:20, 29 March 2020
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 isGerman
.
- 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 isde
.
- 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
- Category:ISO 639 name from code templates (1)
- Category:ISO 639 name from code templates without a category (8)
See also
The above documentation is transcluded from Template:ISO 639 name conversion template doc/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |