Difference between revisions of "Template:Ethnologue19/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(update documentation to work with any edition, add {{Documentation subpage}} header, add {{Template shortcut}}, update usage and examples, update see also links, use <includeonly> and {{sandbox other}} to keep /doc or /sandbox out of template category)
imported>WOSlinker
(larger doesn't work here)
 
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
 
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{Larger|{{Template shortcut|E{{str right|{{BASEPAGENAME}}|10}}}}}}
+
{{Template shortcut|E{{str right|{{BASEPAGENAME}}|10}}}}
  
 
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' is designed for use in the reference section of a language article. It links to the appropriate article at ''[[Ethnologue]]'', {{ordinal|{{str right|{{BASEPAGENAME}}|10}}}} edition.
 
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' is designed for use in the reference section of a language article. It links to the appropriate article at ''[[Ethnologue]]'', {{ordinal|{{str right|{{BASEPAGENAME}}|10}}}} edition.

Latest revision as of 07:10, 30 July 2017

Template:Ethnologue19 is designed for use in the reference section of a language article. It links to the appropriate article at Ethnologue, Template:Ordinal edition.

Usage

One parameter
Replace xyz with the ISO 639-3 code for the language. The page name will be used as the link text
{{Ethnologue19|xyz}}
{{E19|xyz}}
Two parameters
Replace ABC with the link text to be displayed. This may be useful if the Ethnologue name differs from the page name of the Wikipedia article.
{{Ethnologue19|xyz|ABC}}
{{E19|xyz|ABC}}
No parameters
The template will revert to a generic citation and link to Ethnologue
{{Ethnologue19}}
{{E19}}

Examples

One parameter
{{Ethnologue19|eng}}
Ethnologue19/doc at Ethnologue (19th ed., 2016)
Two parameters
{{Ethnologue19|eng|English}}
English at Ethnologue (19th ed., 2016)
No parameters
{{Ethnologue19}}
Lewis, M. Paul; Gary F. Simons; Charles D. Fennig, eds. (2016). Ethnologue: Languages of the World (19th ed.). Dallas, Texas: SIL International.

Note

For a reference to the Ethnologue population figures, enter "e19" in the ref parameter of {{Infobox language}}. This will automatically generate a reference based on this template, and is easier for other editors to update.

See also