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

From blackwiki
Jump to navigation Jump to search
imported>Debresser
(→‎Usage: Try harder.)
imported>Debresser
(→‎References (from the examples): That first error is removed.)
Line 19: Line 19:
 
* {{tlx|Infobox language/ref|}} → {{Infobox language/ref|}} (blank returns blank)
 
* {{tlx|Infobox language/ref|}} → {{Infobox language/ref|}} (blank returns blank)
 
====References (from the examples)====
 
====References (from the examples)====
{{reflist}}
+
{{Reflist}}
  
Note that the first generates an error. This is because no ISO code has been supplied. We can't reference the speaker population to ''Ethnologue'' if there is no ''Ethnologue'' page to refer to. Technically, e15 should generate an error here too, but it is rare enough that this is not a likely problem.
+
We can't reference the speaker population to ''Ethnologue'' if there is no ''Ethnologue'' page to refer to. Technically, e15 should generate an error here, but it is rare enough that this is not a likely problem.
  
 
== See also ==
 
== See also ==

Revision as of 01:30, 9 December 2013

Usage

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

  • {{Infobox language/ref|e17}}[1]
  • {{Infobox language/ref|e16}}[2]
  • {{Infobox language/ref|e15}}[3]
  • {{Infobox language/ref|e14}}[4]
  • {{Infobox language/ref|linglist}}[5]
  • {{Infobox language/ref|Some reference}} → Some reference
  • {{Infobox language/ref|{{cite book|title=Some book}}}}Some book.
  • {{Infobox language/ref}} → (blank returns blank)

References (from the examples)

  1. [1] at Ethnologue (17th ed., 2013)
  2. [2] at Ethnologue (16th ed., 2009)
  3. [3] at Ethnologue (15th ed., 2005)
  4. [4] at Ethnologue (14th ed., 2000).
  5. [5] at MultiTree on the Linguist List

We can't reference the speaker population to Ethnologue if there is no Ethnologue page to refer to. Technically, e15 should generate an error here, but it is rare enough that this is not a likely problem.

See also

The reference code is created by: