قالب:Infobox language/ref
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)
- ^ خطأ استشهاد: وسم
<ref>
غير صحيح؛ لا نص تم توفيره للمراجع المسماةe16
- ^ قالب: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:
{{ethnologue16}}
{{ethnologue15}}
The above documentation is transcluded from قالب:Infobox language/ref/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |