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

 
(One intermediate revision 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 109: Line 109:
 
| agency        =
 
| agency        =
 
| type          = isolating
 
| type          = isolating
| order        = VOS
+
| order        = VPA/VS
 
}}
 
}}
 
<pre style="overflow:auto;">
 
<pre style="overflow:auto;">
Line 125: Line 125:
 
| minority      = Nextlang
 
| minority      = Nextlang
 
| type          = isolating
 
| type          = isolating
| order        = VOS
+
| order        = VPA/VS
 
}}
 
}}
 
</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.