قالب:Infobox language/ref/doc

Usage

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

  • {{Infobox language/ref|e16}}[1]
  • {{Infobox language/ref|e15}}[2]
  • {{Infobox language/ref|Some reference}} → Some reference
  • {{Infobox language/ref|{{cite book|title=Some book}}}}"Some book". {{cite web}}: Missing or empty |url= (help)
  • {{Infobox language/ref}} → (blank returns blank)

References (from the examples)

  1. ^ خطأ استشهاد: وسم <ref> غير صحيح؛ لا نص تم توفيره للمراجع المسماة e16
  2. ^ قالب:Ethnologue15

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.

See also

The reference code is created by: