Difference between revisions of "Template:InfoboxLanguage"

From Glottopedia
Jump to navigation Jump to search
(correcting)
(starting to write explanations how the infobox is used, some more chenges in the actual box)
Line 1: Line 1:
 
<div style="float: right; clear: right;">
 
<div style="float: right; clear: right;">
{| cellpadding="2" cellspacing="0" style="width:350px; border:1px solid #ccc; margin-left:1em; border-collapse:collapse;" rules="all"
+
{| cellpadding="2" cellspacing="0" style="width:330px; border:1px solid #ccc; margin-left:1em; border-collapse:collapse;" rules="all"
 
! colspan="3" style="background-color:#A9BEC7; font-size:120%;" | {{{Language}}}
 
! colspan="3" style="background-color:#A9BEC7; font-size:120%;" | {{{Language}}}
 
|-  
 
|-  
Line 9: Line 9:
 
| colspan="2" style="border-color:#E8E8E8;" | {{{Pronunciation}}}
 
| colspan="2" style="border-color:#E8E8E8;" | {{{Pronunciation}}}
 
|-  
 
|-  
| style="vertical-align:top; border-color:#E8E8E8" | WALS name:
+
| style="vertical-align:top; border-color:#E8E8E8" | [[Ethnologue]] name:
 +
| colspan="2" style="border-color:#E8E8E8;" | [http://www.ethnologue.com/show_language.asp?code={{{ISO3}}} {{{Ethn15name}}}]
 +
|-
 +
| style="vertical-align:top; border-color:#E8E8E8" | [[OLAC]] name:
 +
| colspan="2" style="border-color:#E8E8E8;" | [http://www.language-archives.org/language/{{{ISO3}}} {{{OLACname}}}]
 +
|-
 +
| style="vertical-align:top; border-color:#E8E8E8" | [[WALS]] name:
 
| colspan="2" style="border-color:#E8E8E8;" | {{{WALSname}}}
 
| colspan="2" style="border-color:#E8E8E8;" | {{{WALSname}}}
 
|-  
 
|-  
| style="vertical-align:top; border-color:#E8E8E8" | Ethnologue name:
+
| style="vertical-align:top;border-color:#E8E8E8" | [[WALS]] location:
| colspan="2" style="border-color:#E8E8E8;" | {{{Ethn15name}}}
+
| colspan="2" style="border-color:#E8E8E8;"| {{{WALSLoc}}}
|-
 
| style="vertical-align:top; border-color:#E8E8E8" | Alternative names:
 
| colspan="2" style="border-color:#E8E8E8;" | {{{Alternativenames}}}
 
 
|-
 
|-
 
! colspan="3" style="background-color:#A9BEC7;border-color:#E8E8E8" | Genealogy
 
! colspan="3" style="background-color:#A9BEC7;border-color:#E8E8E8" | Genealogy
Line 31: Line 34:
 
| colspan="2"  style="border-color:#E8E8E8;"| {{{Country}}}
 
| colspan="2"  style="border-color:#E8E8E8;"| {{{Country}}}
 
|-  
 
|-  
| style="vertical-align:top;border-color:#E8E8E8" | Location point:
+
| style="vertical-align:top;border-color:#E8E8E8" | Official in:
| colspan="2"  style="border-color:#E8E8E8;"| {{{WALSLoc}}}
+
| colspan="2"  style="border-color:#E8E8E8;"| {{{OfficialLg}}}
|-
+
|-  
 
| style="vertical-align:top;border-color:#E8E8E8" | Speakers:
 
| style="vertical-align:top;border-color:#E8E8E8" | Speakers:
 
| colspan="2"  style="border-color:#E8E8E8;"| {{{Speakers}}}
 
| colspan="2"  style="border-color:#E8E8E8;"| {{{Speakers}}}
 
|-
 
|-
! colspan="3" style="background-color:#A9BEC7;border-color:#E8E8E8" | Status
 
|-
 
| style="vertical-align:top;border-color:#E8E8E8" | Official in:
 
| colspan="2"  style="border-color:#E8E8E8;"| {{{OfficialLg}}}
 
|-
 
 
| style="vertical-align:top;border-color:#E8E8E8" | Writing system:
 
| style="vertical-align:top;border-color:#E8E8E8" | Writing system:
 
| colspan="2" style="border-color:#E8E8E8;"| {{{WritingSyst}}}  
 
| colspan="2" style="border-color:#E8E8E8;"| {{{WritingSyst}}}  
 
|-
 
|-
! colspan="3" style="background-color:#A9BEC7;border-color:#E8E8E8" | Resources
+
! colspan="3" style="background-color:#A9BEC7;border-color:#E8E8E8" | Codes
 
|-
 
|-
 
| style="border-color:#E8E8E8;" | [[ISO 639]]-1:
 
| style="border-color:#E8E8E8;" | [[ISO 639]]-1:
Line 57: Line 55:
 
| colspan="2" style="border-color:#E8E8E8;" | {{{ISO3}}}
 
| colspan="2" style="border-color:#E8E8E8;" | {{{ISO3}}}
 
|-
 
|-
| style="vertical-align:top; border-color:#E8E8E8" | [[Ethnologue]]:
 
| colspan="2" style="border-color:#E8E8E8;" | [http://www.ethnologue.com/show_language.asp?code={{{ISO3}}} {{{ISO3}}}]
 
|-
 
 
| style="vertical-align:top; border-color:#E8E8E8" | [[WALS]]:
 
| style="vertical-align:top; border-color:#E8E8E8" | [[WALS]]:
| colspan="2" style="border-color:#E8E8E8;" | [http://wals.info/languoid/lect/wals_code_{{{WALScode}}} {{{WALScode}}} ]
+
| colspan="2" style="border-color:#E8E8E8;" | {{{WALScode}}}
|-
 
| style="vertical-align:top; border-color:#E8E8E8" | [[OLAC]]:
 
| colspan="2" style="border-color:#E8E8E8;" | [http://www.language-archives.org/language/{{{ISO3}}} {{{ISO3}}}]
 
 
|}
 
|}
 
</div>
 
</div>
 +
 +
The '''Template:InfoboxLanguage''' is used in [[Glottopedia:Language articles|language articles]] to display details about single languages as a right-side infobox. It can be stacked with other infoboxes.
 +
 +
== Usage ==
 +
<pre>
 +
{{InfoboxLanguage
 +
|Language        =
 +
|Autoglottonym    =
 +
|Pronunciation    =
 +
|Ethn15name      =
 +
|OLACname        =
 +
|WALSname        =
 +
|WALSLoc          =
 +
|Family          =
 +
|Genus            =
 +
|Country          =
 +
|OfficialLg      =
 +
|Speakers        =
 +
|WritingSyst      =
 +
|ISO              =
 +
|ISO2B            =
 +
|ISO2T            =
 +
|ISO3            =
 +
|WALScode        =
 +
}}
 +
</pre>
 +
 +
{| valign="top" style="border-width:0px; border-collapse:collapse; padding:2px;"
 +
|-
 +
| colspan="3" | <nowiki>{{</nowiki>InfoboxLanguage
 +
|-
 +
| width="15%" | &#124; Language|| width="20px" | = || Name of language (defaults to page name)
 +
|-
 +
|&#124; Autoglottonym|| = ||
 +
|-
 +
|&#124; Pronunciation|| = || Pronunciation of the autoglottonym (in [[IPA]])
 +
|-
 +
|&#124; Ethn15name|| = || Name of the language used by [[Ethnologue]] (15)
 +
|-
 +
|&#124; OLACname|| = || Name of the language used by [[OLAC]]
 +
|-
 +
|&#124; WALSname|| = || Name of the language used by [[WALS]]
 +
|-
 +
|&#124; WALSLoc|| = || Language coordinates used by [[WALS]]
 +
|-
 +
|&#124; Family|| = || Highest genealogical unit to which the language belongs
 +
|-
 +
|&#124; Genus|| = || Lowest genealogical unit to which the language belongs
 +
|-
 +
|&#124; Country|| = || Country or countries where the language is spoken
 +
|-
 +
|&#124; OfficialLg|| = || Country or countries where the language has official status
 +
|-
 +
|&#124; Speakers|| = || Number of speakers
 +
|-
 +
|&#124; WritingSyst|| = || Writing system
 +
|-
 +
|&#124; ISO|| = || Language code used by [[ISO 693]]-1
 +
|-
 +
|&#124; ISO2B|| = || Language code used by [[ISO 693]]-2/B
 +
|-
 +
|&#124; ISO2T|| = || Language code used by [[ISO 693]]-2/T
 +
|-
 +
|&#124; ISO3|| = || Language code used by [[ISO 693]]-3
 +
|-
 +
|&#124; WALScode|| = || Language code used by [[WALS]]
 +
|-
 +
| colspan="3" | <nowiki>}}</nowiki>
 +
|}
 +
 +
 
<noinclude>
 
<noinclude>
 
[[Category:Template|InfoboxLanguage]]
 
[[Category:Template|InfoboxLanguage]]
 
</noinclude>
 
</noinclude>

Revision as of 20:09, 2 February 2013

{{{Language}}}
Autoglottonym: {{{Autoglottonym}}}
Pronunciation: {{{Pronunciation}}}
Ethnologue name: {{{Ethn15name}}}
OLAC name: {{{OLACname}}}
WALS name: {{{WALSname}}}
WALS location: {{{WALSLoc}}}
Genealogy
Family: {{{Family}}}
Genus: {{{Genus}}}
Speakers
Country: {{{Country}}}
Official in: {{{OfficialLg}}}
Speakers: {{{Speakers}}}
Writing system: {{{WritingSyst}}}
Codes
ISO 639-1: {{{ISO1}}}
ISO 639-2: {{{ISO2B}}} {{{ISO2T}}}
ISO 639-3: {{{ISO3}}}
WALS: {{{WALScode}}}

The Template:InfoboxLanguage is used in language articles to display details about single languages as a right-side infobox. It can be stacked with other infoboxes.

Usage

{{InfoboxLanguage
|Language         =
|Autoglottonym    =
|Pronunciation    =
|Ethn15name       =
|OLACname         =
|WALSname         =
|WALSLoc          = 
|Family           =
|Genus            =
|Country          =
|OfficialLg       =
|Speakers         =
|WritingSyst      =
|ISO              =
|ISO2B            =
|ISO2T            =
|ISO3             =
|WALScode         =
}}
{{InfoboxLanguage
| Language = Name of language (defaults to page name)
| Autoglottonym =
| Pronunciation = Pronunciation of the autoglottonym (in IPA)
| Ethn15name = Name of the language used by Ethnologue (15)
| OLACname = Name of the language used by OLAC
| WALSname = Name of the language used by WALS
| WALSLoc = Language coordinates used by WALS
| Family = Highest genealogical unit to which the language belongs
| Genus = Lowest genealogical unit to which the language belongs
| Country = Country or countries where the language is spoken
| OfficialLg = Country or countries where the language has official status
| Speakers = Number of speakers
| WritingSyst = Writing system
| ISO = Language code used by ISO 693-1
| ISO2B = Language code used by ISO 693-2/B
| ISO2T = Language code used by ISO 693-2/T
| ISO3 = Language code used by ISO 693-3
| WALScode = Language code used by WALS
}}