Difference between revisions of "Template:Ethnologue21"

From blackwiki
Jump to navigation Jump to search
imported>Julia
(Created page with '{{#if: {{{1|}}} |[https://www.ethnologue.com/language/{{{1|}}} {{{2|{{PAGENAME}}}}}] at ''Ethnologue'' (21st ed., 2018) |{{cite book|editor-last1 = Simons| e...')
 
imported>Largoplazo
(Ah, the 21 was missing.)
 
Line 1: Line 1:
 
{{#if: {{{1|}}}
 
{{#if: {{{1|}}}
|[https://www.ethnologue.com/language/{{{1|}}} {{{2|{{PAGENAME}}}}}] at ''[[Ethnologue]]'' (21st ed., 2018)
+
|[https://www.ethnologue.com/21/language/{{{1|}}} {{{2|{{PAGENAME}}}}}] at ''[[Ethnologue]]'' (21st ed., 2018)
 
|{{cite book|editor-last1 = Simons| editor-first1 = Gary F| editor-last2 =  Fennig| editor-first2 = Charles D| year=2018|title=Ethnologue: Languages of the World|edition=21st|location=Dallas, Texas|publisher=SIL International|url=http://www.ethnologue.com/}}
 
|{{cite book|editor-last1 = Simons| editor-first1 = Gary F| editor-last2 =  Fennig| editor-first2 = Charles D| year=2018|title=Ethnologue: Languages of the World|edition=21st|location=Dallas, Texas|publisher=SIL International|url=http://www.ethnologue.com/}}
 
}}<includeonly>[[Category:Language articles citing Ethnologue 21]]</includeonly><noinclude>
 
}}<includeonly>[[Category:Language articles citing Ethnologue 21]]</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:19, 2 March 2019

Simons, Gary F; Fennig, Charles D, eds. (2018). Ethnologue: Languages of the World (21st ed.). Dallas, Texas: SIL International.

Template documentation[view] [edit] [history] [purge]

Template:Ethnologue21 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
{{Ethnologue21|xyz}}
{{E21|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.
{{Ethnologue21|xyz|ABC}}
{{E21|xyz|ABC}}
No parameters
The template will revert to a generic citation and link to Ethnologue
{{Ethnologue21}}
{{E21}}

Examples

One parameter
{{Ethnologue21|eng}}
Ethnologue21 at Ethnologue (21st ed., 2018)
Two parameters
{{Ethnologue21|eng|English}}
English at Ethnologue (21st ed., 2018)
No parameters
{{Ethnologue21}}
Simons, Gary F; Fennig, Charles D, eds. (2018). Ethnologue: Languages of the World (21st ed.). Dallas, Texas: SIL International.

Note

For a reference to the Ethnologue population figures, enter "e21" 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