Difference between revisions of "Template:Infobox language"
(romanization) |
|||
Line 14: | Line 14: | ||
<!---------------------------------------------------------> | <!---------------------------------------------------------> | ||
− | | label1 = [[Meta:English | + | | label1 = [[Meta:English Romanization|Romanization]] |
| data1 = {{#if:{{{nativename|}}}|{{{name|{{PAGENAME}}}}} }} | | data1 = {{#if:{{{nativename|}}}|{{{name|{{PAGENAME}}}}} }} | ||
Latest revision as of 23:11, 7 November 2017
Infobox language |
---|
Uses Lua: |
This template provides a common standard for displaying data about a language.
Contents
Usage
This template accepts the following parameters:
- name
- name of language, simplest romanization #REQUIRED
- nativename
- native, most-accurate romanization of the language's name
- pronunciation
- IPA pronunciation of the native name
- ailname
- romanization of the name recorded at the AIL
- ailpron
- IPA pronunciation of the AIL name
- states
- countries in which it is mainly spoken
- state
- alias for states
- region
- geographic region in which it is mainly spoken
- ethnicity
- people for whom this is the ethnically native language; races can be specified; this may change as I figure this out (or something)
- familycolor
- background color for main heading
- bgcolor
- background color for entire box
- NOTE: The previous two will probably be changed after I decide on some language family color schemes (or something)
- ancestor
- ancestral or reconstructed forms
- ancestorn
- (n is a number between 2 and 5)
- intermediate forms
- protoname
- alias for ancestor
- dian
- (n is a number between 1 and 20)
- primary dialects
- dialects
- whatever you want to say
- script
- the writing system(s) used for the language by literate speakers
- sign
- signed forms (manually coded language)
- nation
- list of countries in which it is an official language
- minority
- list of countries in which it is a recognised/protected minority language
- agency
- regulatory body or language academy for the language
- type
- basic morphological type (agglutinative, fusional, isolating, polysynthetic)
- order
- typical sentence order (V=verb, S=subject, A=agent-like argument, P=patient-like argument)
Syntax
{{Infobox language | name = | nativename = | pronunciation = | ailname = | ailpron = | state(s) = | region = | ethnicity = | familycolor = | bgcolor = | ancestor = | ancestor2(-5) = | dia1(-20) = | dialects = | script = | sign = | nation = | minority = | agency = | type = | order = }}
Example
Langlang | |
---|---|
AIL Name | Langlang |
Native to | The Land of Lang |
Region | Langistan |
Ethnicity | Langic |
Early forms |
Ancient Langlang
|
Writing system | Langlang alphabet |
Official status | |
Official language in | Lang Kingdom |
Recognised minority language in |
Nextlang |
Structural Information | |
Morphological Type | isolating |
Word Order | VPA/VS |
{{Infobox language | name = Langlang | ailname = Langlang | states = The Land of Lang | region = Langistan | ethnicity = Langic | familycolor = #fe9 | bgcolor = #fffcf0 | ancestor = Ancient Langlang | script = Langlang alphabet | nation = Lang Kingdom | minority = Nextlang | type = isolating | order = VPA/VS }}
Placement
The template should placed at the very top of the wikitext of the article, before any text. The absolute basic syntax is as shown below:
- {{Infobox language ← this calls the template
- | name = name of language ← the name of the language needs to be given
- }} ← this ends the template call
However, you will probably want to add more than just this. Other parameters are listed above, they can be incorporated anywhere between the first and last lines, and in any order.
The above documentation is transcluded from Template:Infobox language/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |