Predloga:Infopolje Jezik/sklic/dok

Iz Wikipedije, proste enciklopedije

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]

  1. Napaka pri navajanju: Neveljavna oznaka <ref>; sklici, poimenovani e17, ne vsebujejo besedila (glej stran pomoči).
  2. Napaka pri navajanju: Neveljavna oznaka <ref>; sklici, poimenovani e16, ne vsebujejo besedila (glej stran pomoči).
  3. Napaka pri navajanju: Neveljavna oznaka <ref>; sklici, poimenovani e15, ne vsebujejo besedila (glej stran pomoči).
  4. Napaka pri navajanju: Neveljavna oznaka <ref>; sklici, poimenovani e14, ne vsebujejo besedila (glej stran pomoči).
  5. [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: