Difference between revisions of "Template:Infobox language/ref/doc"
Jump to navigation
Jump to search
imported>Zyxw (remove stray )) |
imported>Zyxw (revert multiple {{reflist}}, which works but breaks documentation wrapper when viewed on template page) |
||
| Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
| − | This subtemplate produces references for speaker data on language articles. If the number of speakers is taken from ''Ethnologue'' 19, enter | + | This subtemplate produces references for speaker data on language articles. If the number of speakers is taken from ''Ethnologue'' 19, enter {{angle bracket|e19}} 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 <code><nowiki><ref name=e19/></nowiki></code>. ({{angle bracket|e18}} and {{angle bracket|e17}}, etc., can be used for the 18th etc. editions.) |
| − | In addition, using | + | In addition, using {{angle bracket|linglist}} produces a named reference which can be linked to with <code><nowiki><ref name=linglist/></nowiki></code>. Using either {{angle bracket|ne2007}} or {{angle bracket|ne2010}} produces <code><nowiki><ref name=NE100/></nowiki></code>. |
| − | * {{tlx|Infobox language/ref|e19}} → {{Infobox language/ref|e19|iso3=eng | + | * {{tlx|Infobox language/ref|e19}} → {{Infobox language/ref|e19|iso3=eng}} |
| − | * {{tlx|Infobox language/ref|e18}} → {{Infobox language/ref|e18|iso3=eng | + | * {{tlx|Infobox language/ref|e18}} → {{Infobox language/ref|e18|iso3=eng}} |
| − | * {{tlx|Infobox language/ref|e17}} → {{Infobox language/ref|e17|iso3=eng | + | * {{tlx|Infobox language/ref|e17}} → {{Infobox language/ref|e17|iso3=eng}} |
| − | * {{tlx|Infobox language/ref|e16}} → {{Infobox language/ref|e16|iso3=eng | + | * {{tlx|Infobox language/ref|e16}} → {{Infobox language/ref|e16|iso3=eng}} |
| − | * {{tlx|Infobox language/ref|e15}} → {{Infobox language/ref|e15|iso3=eng | + | * {{tlx|Infobox language/ref|e15}} → {{Infobox language/ref|e15|iso3=eng}} |
| − | * {{tlx|Infobox language/ref|e14}} → {{Infobox language/ref|e14|iso3=eng | + | * {{tlx|Infobox language/ref|e14}} → {{Infobox language/ref|e14|iso3=eng}} |
| − | * {{tlx|Infobox language/ref|e13}} → {{Infobox language/ref|e13|iso3=eng | + | * {{tlx|Infobox language/ref|e13}} → {{Infobox language/ref|e13|iso3=eng}} |
| − | * {{tlx|Infobox language/ref|e12}} → {{Infobox language/ref|e12|iso3=eng | + | * {{tlx|Infobox language/ref|e12}} → {{Infobox language/ref|e12|iso3=eng}} |
| − | * {{tlx|Infobox language/ref|e11}} → {{Infobox language/ref|e11|iso3=eng | + | * {{tlx|Infobox language/ref|e11}} → {{Infobox language/ref|e11|iso3=eng}} |
| − | * {{tlx|Infobox language/ref|e10}} → {{Infobox language/ref|e10|iso3=eng | + | * {{tlx|Infobox language/ref|e10}} → {{Infobox language/ref|e10|iso3=eng}} |
| − | * {{tlx|Infobox language/ref|e09}} → {{Infobox language/ref|e09|iso3=eng | + | * {{tlx|Infobox language/ref|e09}} → {{Infobox language/ref|e09|iso3=eng}} |
| − | * {{tlx|Infobox language/ref|e08}} → {{Infobox language/ref|e08|iso3=eng | + | * {{tlx|Infobox language/ref|e08}} → {{Infobox language/ref|e08|iso3=eng}} |
| − | * {{tlx|Infobox language/ref|linglist}} → {{Infobox language/ref|linglist | + | * {{tlx|Infobox language/ref|linglist}} → {{Infobox language/ref|linglist}} |
| − | * {{tlx|Infobox language/ref|ne2007}} → {{Infobox language/ref|ne2007 | + | * {{tlx|Infobox language/ref|ne2007}} → {{Infobox language/ref|ne2007}} |
| − | * {{tlx|Infobox language/ref|ne2010}} → {{Infobox language/ref|ne2010 | + | * {{tlx|Infobox language/ref|ne2010}} → {{Infobox language/ref|ne2010}} |
| − | * {{tlx|Infobox language/ref|<nowiki><ref>Some reference</ref></nowiki>}} → {{Infobox language/ref|<ref>Some reference</ref> | + | * {{tlx|Infobox language/ref|<nowiki><ref>Some reference</ref></nowiki>}} → {{Infobox language/ref|<ref>Some reference</ref>}} |
| − | * {{tlx|Infobox language/ref|<nowiki><ref>{{cite book|title=Some book}}</ref></nowiki>}} → {{Infobox language/ref|<ref>{{cite book|title=Some book}}</ref> | + | * {{tlx|Infobox language/ref|<nowiki><ref>{{cite book|title=Some book}}</ref></nowiki>}} → {{Infobox language/ref|<ref>{{cite book|title=Some book}}</ref>}} |
| − | * {{tlx|Infobox language/ref|}} → {{Infobox language/ref|}} (blank returns blank) {{ | + | * {{tlx|Infobox language/ref|}} → {{Infobox language/ref|}} (blank returns blank) |
| + | ====References (from the examples)==== | ||
| + | {{Reflist}} | ||
In addition, ''aiatsis'' will link to the ref generated by code section at the bottom of the info box. | In addition, ''aiatsis'' will link to the ref generated by code section at the bottom of the info box. | ||
Revision as of 02:26, 5 July 2017
| File:Edit-copy green.svg | This is a documentation subpage for Template:Infobox language/ref. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This subtemplate produces references for speaker data on language articles. If the number of speakers is taken from Ethnologue 19, enter ⟨e19⟩ 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=e19/>. (⟨e18⟩ and ⟨e17⟩, etc., can be used for the 18th 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|e19}}→ [1]{{Infobox language/ref|e18}}→ [2]{{Infobox language/ref|e17}}→ [3]{{Infobox language/ref|e16}}→ [4]{{Infobox language/ref|e15}}→ [5]{{Infobox language/ref|e14}}→ [6]{{Infobox language/ref|e13}}→ [7]{{Infobox language/ref|e12}}→ [8]{{Infobox language/ref|e11}}→ [9]{{Infobox language/ref|e10}}→ [10]{{Infobox language/ref|e09}}→ [11]{{Infobox language/ref|e08}}→ [12]{{Infobox language/ref|linglist}}→ [13]{{Infobox language/ref|ne2007}}→ [14]{{Infobox language/ref|ne2010}}→ [15]{{Infobox language/ref|<ref>Some reference</ref>}}→ [16]{{Infobox language/ref|<ref>{{cite book|title=Some book}}</ref>}}→ [17]{{Infobox language/ref}}→ (blank returns blank)
References (from the examples)
- ↑ [1] at Ethnologue (19th ed., 2016)
- ↑ [2] at Ethnologue (18th ed., 2015)
- ↑ [3] at Ethnologue (17th ed., 2013)
- ↑ [4] at Ethnologue (16th ed., 2009)
- ↑ [5] at Ethnologue (15th ed., 2005)
- ↑ [6] at Ethnologue (14th ed., 2000).
- ↑ at Ethnologue (13th ed., 1996).
- ↑ at Ethnologue (12th ed., 1992).
- ↑ at Ethnologue (11th ed., 1988).
- ↑ at Ethnologue (10th ed., 1984). Note: Data may come from the 9th edition (1978).
- ↑ at Ethnologue (9th ed., 1978).
- ↑ at Ethnologue (8th ed., 1974). Note: Data may come from an earlier edition.
- ↑ [7] 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
- ↑ Some book.
In addition, aiatsis will link to the ref generated by code section at the bottom of the info box.
See also
The reference code is created by:
{{Ethnologue18}}{{Ethnologue17}}- etc.
Categories:
- Language articles citing Ethnologue 19
- Language articles citing Ethnologue 18
- Language articles citing Ethnologue 16
- Language articles citing Ethnologue 15
- Language articles citing Ethnologue 14
- Language articles citing Ethnologue 13
- Language articles citing Ethnologue 12
- Language articles citing Ethnologue 11
- Language articles citing Ethnologue 10
- Language articles citing Ethnologue 9
- Language articles citing Ethnologue 8
- Template documentation pages