Difference between revisions of "Template:Infobox language/doc"

 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
=== Usage ===
 
=== Usage ===
 
This template accepts the following parameters:
 
This template accepts the following parameters:
;'''name''':name of language, simplest transliteration #REQUIRED
+
;'''name''':name of language, simplest romanization #REQUIRED
;'''nativename''':native transliteration of the language's name
+
;'''nativename''':native, most-accurate romanization of the language's name
 
;'''pronunciation''':IPA pronunciation of the native name
 
;'''pronunciation''':IPA pronunciation of the native name
;'''ailname''':transliteration of the name recorded at the [[World:Aldeemah Imperial Library|AIL]]
+
;'''ailname''':romanization of the name recorded at the [[World:Aldeemah Imperial Library|AIL]]
 
;'''ailpron''':IPA pronunciation of the AIL name
 
;'''ailpron''':IPA pronunciation of the AIL name
 
;'''states''':countries in which it is mainly spoken
 
;'''states''':countries in which it is mainly spoken
Line 32: Line 32:
 
;'''agency''':regulatory body or language academy for the language
 
;'''agency''':regulatory body or language academy for the language
 
;'''type''':basic morphological type (agglutinative, fusional, isolating, polysynthetic)
 
;'''type''':basic morphological type (agglutinative, fusional, isolating, polysynthetic)
;'''order''':typical word order
+
;'''order''':typical sentence order (V=verb, S=subject, A=agent-like argument, P=patient-like argument)
 
<!--;'''image''':image at top of info box. Use format "image name.png", without "file/image" or brackets.
 
<!--;'''image''':image at top of info box. Use format "image name.png", without "file/image" or brackets.
 
;'''imagesize''':override default image size (currently 200px). Use units ("123px", "12em")
 
;'''imagesize''':override default image size (currently 200px). Use units ("123px", "12em")
Line 93: Line 93:
 
== Example ==
 
== Example ==
 
{{Infobox language
 
{{Infobox language
| name = English
+
| name         = Langlang
| pronunciation = {{IPAc-en|ˈ|ɪ|ŋ|ɡ|l|ɪ|ʃ}}
+
| nativename    =  
| region = (see [[#Geographical distribution|below]])
+
| pronunciation =
| familycolor = #fff
+
| ailname      = Langlang
| bgcolor = #fff
+
| ailpron      =
| script = [[English alphabet]] ([[Latin script]])
+
| states        = The Land of Lang
| sign = [[Manually coded English]]
+
| region       = Langistan
| nation = {{plainlist|
+
| ethnicity    = Langic
* [[List of countries where English is an official language#Sovereign states|54 countries]]
+
| familycolor   = #fe9
* [[List of countries where English is an official language#Non-sovereign entities|27 non-sovereign entities]]
+
| bgcolor       = #fffcf0
* [[United Nations]]
+
| ancestor      = Ancient Langlang
* [[European Union]]
+
| script        = Langlang alphabet
* [[Commonwealth of Nations]]
+
| nation       = Lang Kingdom
* [[Council of Europe]]
+
| minority      = Nextlang
* [[International Olympic Committee|IOC]]
+
| agency        =
* [[NATO]]
+
| type          = isolating
* [[North American Free Trade Agreement|NAFTA]]
+
| order        = VPA/VS
* [[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
 
 
}}
 
}}
 
<pre style="overflow:auto;">
 
<pre style="overflow:auto;">
 
{{Infobox language
 
{{Infobox language
| name = English
+
| name         = Langlang
| pronunciation = {{IPAc-en|ˈ|ɪ|ŋ|ɡ|l|ɪ|ʃ}}
+
| ailname      = Langlang
| region = (see [[#Geographical distribution|below]])
+
| states        = The Land of Lang
| familycolor = #fff
+
| region       = Langistan
| bgcolor = #fff
+
| ethnicity    = Langic
| script = [[English alphabet]] ([[Latin script]])
+
| familycolor   = #fe9
| sign = [[Manually coded English]]
+
| bgcolor       = #fffcf0
| nation = {{plainlist|
+
| ancestor      = Ancient Langlang
* [[List of countries where English is an official language#Sovereign states|54 countries]]
+
| script        = Langlang alphabet
* [[List of countries where English is an official language#Non-sovereign entities|27 non-sovereign entities]]
+
| nation       = Lang Kingdom
* [[United Nations]]
+
| minority      = Nextlang
* [[European Union]]
+
| type          = isolating
* [[Commonwealth of Nations]]
+
| order        = VPA/VS
* [[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
 
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 23:04, 7 November 2017

Template:Mbox

This template provides a common standard for displaying data about a language.

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.