Difference between revisions of "Template:Ethnolink/doc"

From blackwiki
Jump to navigation Jump to search
imported>Kwamikagami
imported>Kwamikagami
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Categories and interwikis go at the bottom of this page. -->
 
<!-- Categories and interwikis go at the bottom of this page. -->
This template produces an in-line link to ''[[Ethnologue]]'' through the [[ISO639-3]] code of a language. It is mostly used in tables and footnotes to reference the ISO code or name. Note that it links to the current edition of ''Ethnologue'', and therefore should not be used to reference data such as population figures which may become outdated with the next edition. For a dated ''Ethnologue'' reference, {{tl|Ethnologue16}} etc. should be used.  
+
This template produces an in-line link to the SIL page documenting the [[ISO639-3]] code of a language. It is mostly used in tables and footnotes to reference the ISO code or name. To refenence an edition of ''Ethnologue'', {{tl|Ethnologue16}} etc. should be used.  
  
 
=== Usage ===
 
=== Usage ===
The first parameter links to ''Ethnologue'' through its [[ISO 639-3]] code. For example,
+
The first parameter links to SIL through an [[ISO 639-3]] code. For example,
  
 
:<nowiki>{{ethnolink|aap}}</nowiki> = {{ethnolink|aap}}.
 
:<nowiki>{{ethnolink|aap}}</nowiki> = {{ethnolink|aap}}.
Line 12: Line 12:
 
:<nowiki>{{ethnolink|aap|Arára}}</nowiki> = {{ethnolink|aap|Arára}}.
 
:<nowiki>{{ethnolink|aap|Arára}}</nowiki> = {{ethnolink|aap|Arára}}.
  
Both formats link to the Arára page at ''Ethnologue''.
+
Both formats link to the ISO code page for Arára at SIL.
  
  

Revision as of 10:25, 7 February 2013

This template produces an in-line link to the SIL page documenting the ISO639-3 code of a language. It is mostly used in tables and footnotes to reference the ISO code or name. To refenence an edition of Ethnologue, {{Ethnologue16}} etc. should be used.

Usage

The first parameter links to SIL through an ISO 639-3 code. For example,

{{ethnolink|aap}} = aap.

If a second parameter is used, it will display instead of the ISO code. For example,

{{ethnolink|aap|Arára}} = Arára.

Both formats link to the ISO code page for Arára at SIL.


If a WP article might be created soon, or it's a good idea to have the page show up under 'what links here', a red link can be left in by linking inside the template. For example,

{{ethnolink|aap|[[Arára language|Arára]]}}

produces:

Arára.

See also

  • {{Ethnologue}}, which is more convenient for the reference section.