Difference between revisions of "Template:InfoboxLanguage"
Jump to navigation
Jump to search
(testing…) |
(more explanations) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
|- | |- | ||
| style="vertical-align:top; border-color:#E8E8E8" | Autoglottonym: | | style="vertical-align:top; border-color:#E8E8E8" | Autoglottonym: | ||
| − | | colspan="2" style="border-color:#E8E8E8;" | {{{ | + | | colspan="2" style="border-color:#E8E8E8;" | {{{Autonym}}} |
|- | |- | ||
| style="vertical-align:top; border-color:#E8E8E8" | Pronunciation: | | style="vertical-align:top; border-color:#E8E8E8" | Pronunciation: | ||
| − | | colspan="2" style="border-color:#E8E8E8;" | {{{Pronunciation}}} | + | | colspan="2" style="border-color:#E8E8E8;" | [{{{Pronunciation}}}] |
|- | |- | ||
| style="vertical-align:top; border-color:#E8E8E8" | [[Ethnologue]] name: | | style="vertical-align:top; border-color:#E8E8E8" | [[Ethnologue]] name: | ||
| Line 20: | Line 20: | ||
}} | }} | ||
|- | |- | ||
| − | | style="vertical-align:top;border-color:#E8E8E8" | | + | | style="vertical-align:top;border-color:#E8E8E8" | Location point: |
| colspan="2" style="border-color:#E8E8E8;"| {{{WALSLoc}}} | | colspan="2" style="border-color:#E8E8E8;"| {{{WALSLoc}}} | ||
|- | |- | ||
| Line 64: | Line 64: | ||
{{!}} style="vertical-align:top; border-color:#E8E8E8" {{!}} [[WALS]]: | {{!}} style="vertical-align:top; border-color:#E8E8E8" {{!}} [[WALS]]: | ||
{{!}} colspan="2" style="border-color:#E8E8E8;" {{!}} {{{WALScode}}} | {{!}} colspan="2" style="border-color:#E8E8E8;" {{!}} {{{WALScode}}} | ||
| + | }} | ||
| + | |- | ||
| + | {{#if: {{{MPIExt1|}}} | | ||
| + | {{!}} style="vertical-align:top; border-color:#E8E8E8" {{!}} MPIExt1: | ||
| + | {{!}} colspan="2" style="border-color:#E8E8E8;" {{!}} {{{MPIExt1}}} | ||
}} | }} | ||
|} | |} | ||
| Line 75: | Line 80: | ||
{{InfoboxLanguage | {{InfoboxLanguage | ||
|Language = | |Language = | ||
| − | | | + | |Autonym = |
|Pronunciation = | |Pronunciation = | ||
|Ethn15name = | |Ethn15name = | ||
|OLACname = | |OLACname = | ||
|WALSname = | |WALSname = | ||
| − | |WALSLoc = | + | |WALSLoc = |
|Family = | |Family = | ||
|Genus = | |Genus = | ||
| Line 92: | Line 97: | ||
|ISO3 = | |ISO3 = | ||
|WALScode = | |WALScode = | ||
| + | |MPIExt1 = | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 103: | Line 109: | ||
| width="15%" | | Language|| width="20px" | = || Name of language (defaults to page name) | | width="15%" | | Language|| width="20px" | = || Name of language (defaults to page name) | ||
|- | |- | ||
| − | || | + | || Autonym|| = || |
|- | |- | ||
|| Pronunciation|| = || Pronunciation of the autoglottonym (in [[IPA]]) | || Pronunciation|| = || Pronunciation of the autoglottonym (in [[IPA]]) | ||
|- | |- | ||
| − | || Ethn15name|| = || Name of the language used by [[Ethnologue]] | + | || Ethn15name|| = || Name of the language used by [[Ethnologue]] |
|- | |- | ||
|| OLACname|| = || Name of the language used by [[OLAC]] | || OLACname|| = || Name of the language used by [[OLAC]] | ||
| Line 113: | Line 119: | ||
|| WALSname|| = || Name of the language used by [[WALS]] | || WALSname|| = || Name of the language used by [[WALS]] | ||
|- | |- | ||
| − | || WALSLoc|| = || Language coordinates used | + | || WALSLoc|| = || Language coordinates used, see below |
|- | |- | ||
|| Family|| = || Highest genealogical unit to which the language belongs | || Family|| = || Highest genealogical unit to which the language belongs | ||
| Line 136: | Line 142: | ||
|- | |- | ||
|| WALScode|| = || Language code used by [[WALS]] | || WALScode|| = || Language code used by [[WALS]] | ||
| + | |- | ||
| + | || MPIExt1|| = || | ||
|- | |- | ||
| colspan="3" | <nowiki>}}</nowiki> | | colspan="3" | <nowiki>}}</nowiki> | ||
|} | |} | ||
| + | |||
| + | ==Examples== | ||
| + | |||
| + | ===WALSloc=== | ||
| + | For languages included in [[WALS]] you can lookup coordinates there. If you write the coordinates like in the following example, a link to GoogleMaps is included automatically. | ||
| + | <pre> | ||
| + | |WALSLoc ={{GooglemapLink|Lat=43°N|Long=44°E}} | ||
| + | </pre> | ||
Latest revision as of 19:06, 4 February 2013
| {{{Language}}} | ||
|---|---|---|
| Autoglottonym: | {{{Autonym}}} | |
| Pronunciation: | [{{{Pronunciation}}}] | |
| Ethnologue name: | {{{Ethn15name}}} | |
| OLAC name: | {{{OLACname}}} | |
| Location point: | {{{WALSLoc}}} | |
| Genealogy | ||
| Family: | {{{Family}}} | |
| Genus: | {{{Genus}}} | |
| Speakers | ||
| Country: | {{{Countries}}} | |
| Official in: | {{{OfficialLg}}} | |
| Speakers: | {{{Speakers}}} | |
| Writing system: | {{{WritingSyst}}} | |
| Codes | ||
| ISO 639-3: | {{{ISO3}}} | |
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
Copy the following code into the article.
{{InfoboxLanguage
|Language =
|Autonym =
|Pronunciation =
|Ethn15name =
|OLACname =
|WALSname =
|WALSLoc =
|Family =
|Genus =
|Countries =
|OfficialLg =
|Speakers =
|WritingSyst =
|ISO =
|ISO2B =
|ISO2T =
|ISO3 =
|WALScode =
|MPIExt1 =
}}
Fill out the values like in the explanations below.
| {{InfoboxLanguage | ||
| | Language | = | Name of language (defaults to page name) |
| | Autonym | = | |
| | Pronunciation | = | Pronunciation of the autoglottonym (in IPA) |
| | Ethn15name | = | Name of the language used by Ethnologue |
| | OLACname | = | Name of the language used by OLAC |
| | WALSname | = | Name of the language used by WALS |
| | WALSLoc | = | Language coordinates used, see below |
| | Family | = | Highest genealogical unit to which the language belongs |
| | Genus | = | Lowest genealogical unit to which the language belongs |
| | Countries | = | 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 |
| | MPIExt1 | = | |
| }} | ||
Examples
WALSloc
For languages included in WALS you can lookup coordinates there. If you write the coordinates like in the following example, a link to GoogleMaps is included automatically.
|WALSLoc ={{GooglemapLink|Lat=43°N|Long=44°E}}