Template:Infobox language/ref/doc
| This is a documentation subpage for Template:Infobox language/ref. It may contain usage information, categories and other content that is not part of the original template page. |
| This template is used on approximately 7,300 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
[edit source]This subtemplate produces references for speaker data on language articles. If the number of speakers is taken from Ethnologue 22, enter ⟨e22⟩ in the 'ref' field, and a footnote will be generated that links to the page on Ethnologue article, based on the language's ISO639-3 code. This footnote can be linked to elsewhere on the page with <ref name=e22/>. (⟨e21⟩ and ⟨e20⟩, etc., can be used for the 21st etc. editions.)
In addition, using ⟨linglist⟩ produces a named reference which can be linked to with <ref name=linglist/>. Using either ⟨ne2007⟩ or ⟨ne2010⟩ produces <ref name=NE100/>.
{{Infobox language/ref|e27|iso3=eng|name=English}}→ [1]{{Infobox language/ref|e26|iso3=eng|name=English}}→ [2]{{Infobox language/ref|e25|iso3=eng|name=English}}→ [3]{{Infobox language/ref|e24|iso3=eng|name=English}}→ [4]{{Infobox language/ref|e23|iso3=eng|name=English}}→ [5]{{Infobox language/ref|e22|iso3=eng|name=English}}→ [6]{{Infobox language/ref|e21|iso3=eng|name=English}}→ [7]{{Infobox language/ref|e20|iso3=eng|name=English}}→ [8]{{Infobox language/ref|e19|iso3=eng|name=English}}→ [9]{{Infobox language/ref|e18|lc1=ell|ld1=Modern Greek|lc2=grc|ld2=Ancient Greek|refname=}}→ [10]{{Infobox language/ref|e17|lc1=ell|ld1=Modern Greek|lc2=grc|ld2=Ancient Greek|refname=Greek}}→ [11]{{Infobox language/ref|e16|iso3=eng|name=English}}→ [12]{{Infobox language/ref|e15|iso3=eng|name=English}}→ [13]{{Infobox language/ref|e14|iso3=ENG|name=English}}→ [14]{{Infobox language/ref|e13|iso3=eng|name=English}}→ [15]{{Infobox language/ref|e12|iso3=eng|name=English}}→ [16]{{Infobox language/ref|e11|iso3=eng|name=English}}→ [17]{{Infobox language/ref|e10|iso3=eng|name=English}}→ [18]{{Infobox language/ref|e09|iso3=eng|name=English}}→ [19]{{Infobox language/ref|e08|iso3=eng|name=English}}→ [20]{{Infobox language/ref|linglist|iso3=eng|name=English}}→ [21]{{Infobox language/ref|ne2007}}→ [22]{{Infobox language/ref|ne2010}}→ [23]{{Infobox language/ref|<ref>Some reference</ref>}}→ [24]{{Infobox language/ref|<ref>{{cite book|title=Some book}}</ref>}}→ [25]{{Infobox language/ref}}→ (blank returns blank)
References (from the examples)
[edit source]- ^ English at Ethnologue (27th ed., 2024)
- ^ English at Ethnologue (26th ed., 2023)
- ^ English at Ethnologue (25th ed., 2022)
- ^ English at Ethnologue (24th ed., 2021)
- ^ English at Ethnologue (23rd ed., 2020)
- ^ English at Ethnologue (22nd ed., 2019)
- ^ English at Ethnologue (21st ed., 2018)
- ^ English at Ethnologue (20th ed., 2017)
- ^ English at Ethnologue (19th ed., 2016)
- ^ Modern Greek at Ethnologue (18th ed., 2015) (subscription required)
Ancient Greek at Ethnologue (18th ed., 2015) (subscription required) - ^ Greek at Ethnologue (17th ed., 2013)

Ancient Greek at Ethnologue (17th ed., 2013)
- ^ English at Ethnologue (16th ed., 2009)
- ^ English at Ethnologue (15th ed., 2005)
- ^ English[dead link] at Ethnologue (14th ed., 2000).
- ^ English at Ethnologue (13th ed., 1996).
- ^ English at Ethnologue (12th ed., 1992).
- ^ English at Ethnologue (11th ed., 1988).
- ^ English at Ethnologue (10th ed., 1984). Note: Data may come from the 9th edition (1978).
- ^ English at Ethnologue (9th ed., 1978).
- ^ English at Ethnologue (8th ed., 1974). Note: Data may come from an earlier edition.
- ^ English at MultiTree on the Linguist List
- ^ Mikael Parkvall, "Världens 100 största språk 2007" (The World's 100 Largest Languages in 2007), in Nationalencyklopedin
- ^ "Världens 100 största språk 2010" (The World's 100 Largest Languages in 2010), in Nationalencyklopedin
- ^ Some reference
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
In addition, aiatsis will link to the ref generated by code section at the bottom of the info box.
See also
[edit source]The reference code is created by:
{{Ethnologue25}}{{Ethnologue24}}- etc.
TemplateData
[edit source]No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | no description
| String | optional |
| iso3 | iso3 | no description
| String | optional |
| refname | refname | no description | Unknown | optional |
| name | name | no description | String | optional |
| lc1 | lc1 | no description | Unknown | optional |
| ld1 | ld1 | no description | Unknown | optional |
| lc2 | lc2 | no description | Unknown | optional |
| ld2 | ld2 | no description | Unknown | optional |
| lc3 | lc3 | no description | Unknown | optional |
| ld3 | ld3 | no description | Unknown | optional |
| lc4 | lc4 | no description | Unknown | optional |
| ld4 | ld4 | no description | Unknown | optional |
| lc5 | lc5 | no description | Unknown | optional |
| ld5 | ld5 | no description | Unknown | optional |
| lc6 | lc6 | no description | Unknown | optional |
| ld6 | ld6 | no description | Unknown | optional |
| lc7 | lc7 | no description | Unknown | optional |