Predloga:Infopolje Jezik/sklic
Videz
Usage
[uredi kodo]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.)
{{Infopolje Jezik/sklic|e17}}
→ [1]{{Infopolje Jezik/sklic|e16}}
→ [2]{{Infopolje Jezik/sklic|e15}}
→ [3]{{Infopolje Jezik/sklic|e14}}
→ [4]{{Infopolje Jezik/sklic|linglist}}
→ [5]{{Infopolje Jezik/sklic|Some reference}}
→ Some reference{{Infopolje Jezik/sklic|{{navedi knjigo|title=Some book}}}}
→ Some book.{{Infopolje Jezik/sklic}}
→ (blank returns blank)
References (from the examples)
[uredi kodo]- ↑ Napaka pri navajanju: Neveljavna oznaka
<ref>
; sklici, poimenovanie17
, ne vsebujejo besedila (glej stran pomoči). - ↑ Napaka pri navajanju: Neveljavna oznaka
<ref>
; sklici, poimenovanie16
, ne vsebujejo besedila (glej stran pomoči). - ↑ Napaka pri navajanju: Neveljavna oznaka
<ref>
; sklici, poimenovanie15
, ne vsebujejo besedila (glej stran pomoči). - ↑ Napaka pri navajanju: Neveljavna oznaka
<ref>
; sklici, poimenovanie14
, ne vsebujejo besedila (glej stran pomoči). - ↑ [1] at MultiTree on the Linguist List
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
[uredi kodo]The reference code is created by:
{{ethnologue17}}
{{ethnologue16}}
{{ethnologue15}}