Template:Infobox language

From NSWiki
Jump to: navigation, search
Infobox language
Default
  • Infobox language
Language codes
ISO 639-3
Documentation icon Template documentation[view] [edit] [history] [purge]

This template provides a nicely-formatted infobox for languages and dialects; it's a direct port from the one on Wikipedia (Wikipedia:Template:Infobox_language). A quick summary is provided below.

While some of the more intricate features are undoubtedly broken (the original template has a lot of dependencies), most of the basic features should work quite alright.

Usage

Note that one of the required parameters (along with "name") is "familycolor", which sets a color based on which family the language ICly belongs to (Indo-European, Afro-Asiatic, etc.). The full list can be found in Template:Infobox_language/family-color. Most languages should have some best option already provided, even if that option is "language isolate" or "unclassified"; if you're not sure (or your language belongs to a fictional language family on NationStates), go with "unclassified".

Basic

{{Infobox language
| name = <!-- What's the language called in English?  REQUIRED -->
| nativename = <!-- What's the language called in itself? -->
| states = <!-- Any countries where this language is used? -->
| region = <!-- Any particular region where this language is used? -->
| ethnicity = <!-- Any particular people who use this language? -->
| speakers = <!-- How many speakers? -->
| familycolor = <!-- What language family does the language belong to?  REQUIRED -->
| script = <!-- What script is typically used to write your language? -->
| nation = <!-- Any countries where your language is the official one? -->
| minority = <!-- Any countries that recognize your language? -->
}}

Complete

Direct from Wikipedia's upstream documentation. You probably don't need anywhere near all of these options, particularly toward the latter half of the below description.

{{Infobox language
| name          = name of language #REQUIRED
| altname       = additional name of the language
| nativename    = native or a second additional name
| pronunciation = IPA pronunciation of the native name
| acceptance    = questionable acceptance/status of the language: unattested, spurious, etc.
| states        = (or 'state') countries in which it is mainly spoken
| region        = geographic region in which it is mainly spoken
| latd  = | latm  = | latNS  = <!-- latitude degrees/minutes/direction -->
| longd = | longm = | longEW = <!-- longitude degrees/minutes/direction -->
| ethnicity     = people for whom this is the ethnically native language; also good for the ethnic population if different from the number of speakers
                  (although the names chosen for the articles on the people and on the language will generally be the same, it may be appropriate to pipe in the native name of the people here)
| speakers      = {{sigfig|number of native speakers/signers|2}}
| extinct       = date of extinction, or information about extinction; 'speakers' will not display
| era           = era of use of a historical language, such as one that developed into something else; 'speakers' will not display
| date          = date of estimate of number of speakers/signers (must start with a 4-digit year: see next)
| dateprefix    = anything wanted inside the parentheses before the date
| ref           = reference for the number of speakers/signers. Appears after the (date) field.
| speakers2     = 2nd line (2nd estimate, 2nd country, L2 speakers, etc.)
| familycolor   = appropriate language family #REQUIRED
                  See table below for list of options. Please do not use other names, because they will not be recognised, and the table will be colored grey.
                  In most cases, 'familycolor' will trigger a default entry for the 'fam1' field, so that field is not necessary (you can continue will 'fam2'),
                  but you can override this by entering something under 'fam1'. For areal colors (American, Khoisan, Paleosiberian, etc.), you will be prompted
                  for a 'fam1' entry if you do not provide one. If 'isolate' or 'unclassified' is used, the fam1–xx tree will not display.
| fam1          = the broadest possible widely accepted [[language family]] of which the language is a part
| fam2          = a more specific sub-family
| ...
| fam15         = most specific sub group
| family        = whatever you want to say; fam1–xx will not display
| ancestor      = (or 'protoname') ancestral or reconstructed forms
| ancestor2–5   = intermediate forms
| creator       = name of language creator
| created       = year of first creation
| setting       = the use or setting for a created language
| posteriori    = natural-language sources of a created language
| dia1          = a primary dialect
| dia2          = another primary dialect
| ...             (up to 20)
| dialects      = whatever you want to say
| stand1        = a standardized register
| stand2        = a second standardized register
| ...             (up to 6)
| standards     = 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
| iso1          = the ISO 639-1 code for the language
| iso2          = the ISO 639-2 code for the language (not for its family)
| iso2b         = the ISO 639-2 bibliographic code
| iso2t         = the ISO 639-2 terminological code
| iso2comment   = for comments to not interfere with the link
| iso3          = the ISO 639-3 code for the language.
                  Field will display even if left empty, unless 'lc1' etc. is used.
                  Use 'none' if the language (not dialect) has no iso3 code, and the article will be added to [[:Category:Languages without iso3 codes]].
                  Use 'linglist' if it has an iso3 code, but this is maintained at Linguist List instead of at SIL. Add the code itself under |linglist=
                  (This is not necessary if the SIL page provides its own link to the Linguist List page.)
| iso3comment   = for comments to not interfere with the link
| isoexception  = a maintenance field to organize cleanup categories (see below).
                  currently excludes article from general missing-ISO category if set to 'dialect', 'historical', 'protolanguage', or 'talkpage'.
| lc1           = ISO code of the first dialect (the 'iso3' field will not display if empty and this is included)
| ld1           = name of the first language dialect
| lc2           = ISO code of the second dialect
| ld2           = name of the second language dialect
| ...             (up to 30)
| iso6          = the ISO 639-6 code for the language.
| linglist      = a private or local Linguist List ISO 639-3 code or substitute for an ISO code; use xxx-xxx format for dialects.
                  Use for code range qaa–qtz or those involving numerals only; enter other codes under 'iso3' and the reader will be redirected from Ethnologue.
| lingname      = comment on the Linguist List code or support
| linglist2/3   = additional Linguist List codes
| lingname2/3   = additional comments. (If Linguist List has redundant codes, write to them, and they will likely retire them.)
| lingua        = the Linguasphere code for the language
| glotto(2–5)   = the Glottolog code(s) for the language
| glottoname(2–5) = the Glottolog name(s) for the language; appears in both the info box and the footnote
| glottorefname(2–5) = the Glottolog name(s) for the language; appears only in the footnote
| glottofoot    = set to "no" to hide the Glottolog footnotes
| guthrie       = the Guthrie code for Bantu languages
| aiatsis       = the AIATSIS code for Australian languages (linked)
| aiatsis2–5    = additional AIATSIS codes
| aiatsis(2–5)name = name of code, if not that of the info box, or note to appear after code
| image         = image at top of info box. Use format "image name.png", without "file/image" or brackets.
| imagesize     = override default image size (currently 250px). Use units ("123px", "12em")
| imagealt      = alt text for the image
| imagecaption  = caption to appear under image
| imageheader   = brief header for image (appears in the left-hand column)
| map           = image at bottom of info box. Use format "image name.png", without "file/image" or brackets.
| mapsize       = override default map size (currently 350px). Use units ("123px", "12em"). Affects both maps.
| mapalt        = alt text for the map
| mapcaption    = caption to appear under map
| map2          = a second map
| mapalt2       = alt text for the second map
| mapcaption2   = caption to appear under both maps
| boxsize       = overrides default width of infobox, currently set at 22em. Format must include units ("12em" or "123px").
                  Useful when an article has various infoboxes aligned in a column. (Box will automatically expand to fix map wider than default box width.)
| notice(2)     = IPA/ipa [adds notice for IPA notation], Indic [same for Indic scripts]
}}

Example

English
Pronunciation /ˈɪŋɡlɪʃ/<ref>English Adjective – Oxford Advanced Learner's Dictionary – Oxford University Press ©2010.</ref>
Region (see below)
Native speakers
360 million  (cited 2010)Template:Infobox language/ref
L2: 375 million and 750 million EFL<ref name=BritishCouncilEnglish>Script error (page 10)</ref>
English alphabet (Latin script)
Manually coded English
Official status
Official language in
54 countries
27 non-sovereign entities
United Nations
European Union
Commonwealth of Nations
Council of Europe
IOC
NATO
NAFTA
OAS
OECD
OIC
PIF
UKUSA Agreement
Language codes
ISO 639-1 en
ISO 639-2 eng
ISO 639-3 eng
Linguasphere 52-ABA
{{{mapalt}}}
  Countries where English is the native language of the majority of the population
  Countries where English is an official but not primary language
This article contains IPA phonetic symbols. Without proper rendering support, you may see question marks, boxes, or other symbols instead of Unicode characters.
{{Infobox language 
| name = English 
| pronunciation = {{IPAc-en|ˈ|ɪ|ŋ|ɡ|l|ɪ|ʃ}}<ref>[http://www.oxfordadvancedlearnersdictionary.com/dictionary/english_2 English Adjective] – Oxford Advanced Learner's Dictionary – Oxford University Press ©2010.</ref> |region = (see [[#Geographical distribution|below]]) 
| speakers = 360 million 
| date = 2010 
| dateprefix = cited 
| ref = <ref name=NE>[[Nationalencyklopedin]] "Världens 100 största språk 2010" The World's 100 Largest Languages in 2010</ref> 
| speakers2 = [[Second language|L2]]: 375 million and 750 million [[English as a foreign or second language|EFL]]<ref name=BritishCouncilEnglish>{{cite web |url=http://www.britishcouncil.org/learning-elt-future.pdf |title=Future of English|accessdate=24 August 2011 |publisher=The British Council}} (page 10)</ref> 
| familycolor = Indo-European 
| fam2 = [[Germanic languages|Germanic]] 
| fam3 = [[West Germanic languages|West Germanic]] 
| fam4 = [[Anglo-Frisian languages|Anglo–Frisian]] 
| fam5 = [[English languages|Anglic]] 
| sign = [[Manually coded English]]
| script = [[English alphabet]] ([[Latin script]]) 
| nation = [[List of countries where English is an official language#Sovereign states|54 countries]]<br />[[List of countries where English is an official language#Non-sovereign entities|27 non-sovereign entities]]<br />[[United Nations]]<br />[[European Union]]<br />[[Commonwealth of Nations]]<br />[[Council of Europe]]<br />[[International Olympic Committee|IOC]]<br />[[NATO]]<br />[[North American Free Trade Agreement|NAFTA]]<br />[[Organization of American States|OAS]]<br />[[Organisation for Economic Co-operation and Development|OECD]]<br />[[Organisation of Islamic Cooperation|OIC]]<br />[[Pacific Islands Forum|PIF]]<br />[[UKUSA Agreement]] 
| iso1 = en 
| iso2 = eng 
| iso3 = eng 
| lingua = 52-ABA 
| map = Anglospeak.svg 
| mapcaption = {{legend|#0000ff|Countries where English is the native language of the majority of the population}} {{legend|#8ddada|Countries where English is an official but not primary language}} 
| notice = IPA 
}}