Difference between revisions of "Template:InfoboxLanguage"
Jump to navigation
Jump to search
(most existing articles use "countries" already, changing it accordingly) |
(some more explanations and code, testing…) |
||
Line 1: | Line 1: | ||
− | <div style="float: right; clear: right;"> | + | <onlyinclude><div style="float: right; clear: right;"> |
{| cellpadding="2" cellspacing="0" style="width:330px; 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 58: | Line 58: | ||
| colspan="2" style="border-color:#E8E8E8;" | {{{WALScode}}} | | colspan="2" style="border-color:#E8E8E8;" | {{{WALScode}}} | ||
|} | |} | ||
− | </div> | + | </div></onlyinclude> |
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. | 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 == | == Usage == | ||
+ | Copy the following code into the article. | ||
<pre> | <pre> | ||
{{InfoboxLanguage | {{InfoboxLanguage | ||
Line 85: | Line 86: | ||
}} | }} | ||
</pre> | </pre> | ||
+ | |||
+ | Fill out the values like in the explanations below. | ||
{| valign="top" style="border-width:0px; border-collapse:collapse; padding:2px;" | {| valign="top" style="border-width:0px; border-collapse:collapse; padding:2px;" |
Revision as of 17:14, 3 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: | {{{Countries}}} | |
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
Copy the following code into the article.
{{InfoboxLanguage |Language = |Autoglottonym = |Pronunciation = |Ethn15name = |OLACname = |WALSname = |WALSLoc = |Family = |Genus = |Countries = |OfficialLg = |Speakers = |WritingSyst = |ISO = |ISO2B = |ISO2T = |ISO3 = |WALScode = }}
Fill out the values like in the explanations below.
{{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 |
| 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 |
}} |