Difference between revisions of "Template:Infobox language/ref/doc"

From blackwiki
Jump to navigation Jump to search
imported>Kwamikagami
imported>Kanguole
(→‎Usage: fix explicit ref examples)
Line 21: Line 21:
 
* {{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|Some reference}} → {{Infobox language/ref|Some reference}}
+
* {{tlx|Infobox language/ref|<nowiki><ref>Some reference</ref></nowiki>}} &rarr; {{Infobox language/ref|<ref>Some reference</ref>}}
* {{tlx|Infobox language/ref|<nowiki>{{cite book|title=Some book}}</nowiki>}} &rarr; {{Infobox language/ref|{{cite book|title=Some book}}}}
+
* {{tlx|Infobox language/ref|<nowiki><ref>{{cite book|title=Some book}}</ref></nowiki>}} &rarr; {{Infobox language/ref|<ref>{{cite book|title=Some book}}</ref>}}
 
* {{tlx|Infobox language/ref|}} &rarr; {{Infobox language/ref|}} (blank returns blank)
 
* {{tlx|Infobox language/ref|}} &rarr; {{Infobox language/ref|}} (blank returns blank)
 
====References (from the examples)====
 
====References (from the examples)====

Revision as of 21:24, 29 November 2015

Usage

This subtemplate produces references for speaker data on language articles. If the number of speakers is taken from Ethnologue 18, enter ⟨e18⟩ 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=e18/>. (⟨e17⟩ and ⟨e16⟩, etc., can be used for the 17th 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/>.

References (from the examples)

  1. [1] at Ethnologue (18th ed., 2015)
  2. [2] at Ethnologue (17th ed., 2013)
  3. [3] at Ethnologue (16th ed., 2009)
  4. [4] at Ethnologue (15th ed., 2005)
  5. [5] at Ethnologue (14th ed., 2000).
  6. at Ethnologue (13th ed., 1996).
  7. at Ethnologue (12th ed., 1992).
  8. at Ethnologue (11th ed., 1988).
  9. at Ethnologue (10th ed., 1984). Note: Data may come from the 9th edition (1978).
  10. at Ethnologue (9th ed., 1978).
  11. at Ethnologue (8th ed., 1974). Note: Data may come from an earlier edition.
  12. [6] at MultiTree on the Linguist List
  13. Mikael Parkvall, "Världens 100 största språk 2007" (The World's 100 Largest Languages in 2007), in Nationalencyklopedin
  14. "Världens 100 största språk 2010" (The World's 100 Largest Languages in 2010), in Nationalencyklopedin
  15. Some reference
  16. 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: