Template:Infobox language/doc
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 transliteration #REQUIRED
- nativename
- native transliteration of the language's name
- pronunciation
- IPA pronunciation of the native name
- ailname
- transliteration 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 word order
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
English | |
---|---|
Pronunciation | /ˈɪŋɡlɪʃ/ |
Region | (see below) |
Writing system | English alphabet (Latin script) |
Signed forms | Manually coded English |
Official status | |
Official language in | |
{{Infobox language | name = English | pronunciation = {{IPAc-en|ˈ|ɪ|ŋ|ɡ|l|ɪ|ʃ}} | region = (see [[#Geographical distribution|below]]) | familycolor = #fff | bgcolor = #fff | script = [[English alphabet]] ([[Latin script]]) | sign = [[Manually coded English]] | nation = {{plainlist| * [[List of countries where English is an official language#Sovereign states|54 countries]] * [[List of countries where English is an official language#Non-sovereign entities|27 non-sovereign entities]] * [[United Nations]] * [[European Union]] * [[Commonwealth of Nations]] * [[Council of Europe]] * [[International Olympic Committee|IOC]] * [[NATO]] * [[North American Free Trade Agreement|NAFTA]] * [[Organization of American States|OAS]] * [[Organisation for Economic Co-operation and Development|OECD]] * [[Organisation of Islamic Cooperation|OIC]] * [[Pacific Islands Forum|PIF]] * [[UKUSA Agreement]]}} | notice = IPA }}
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.