Template:Language: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
(Created page with "<templatestyles src="Nation/styles.css" /> <includeonly>{{Infobox/begin}} {{Infobox/Header|title={{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}|subtitle={{#if:{{{localized_name|}}}|{{{localized_name|}}}|}}}} {{Infobox/Item|key=Pronunciation|value={{{pronunciation|}}}}} {{Infobox/Item|key=[https://en.wikipedia.org/wiki/Language_family Classification]|value={{{classification|}}}}} {{Infobox/Item|key=Subdivisions|value={{{subdivisions|}}}}} {{Infobox/Item|key=[https://en.wik...")
 
mNo edit summary
Line 3: Line 3:
 
<includeonly>{{Infobox/begin}}
 
<includeonly>{{Infobox/begin}}
 
{{Infobox/Header|title={{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}|subtitle={{#if:{{{localized_name|}}}|{{{localized_name|}}}|}}}}
 
{{Infobox/Header|title={{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}|subtitle={{#if:{{{localized_name|}}}|{{{localized_name|}}}|}}}}
{{Infobox/Item|key=Pronunciation|value={{{pronunciation|}}}}}
+
{{Infobox/Item|key=[http://ipa-reader.xyz/ Pronunciation]|value={{{pronunciation|}}}}}
{{Infobox/Item|key=[https://en.wikipedia.org/wiki/Language_family Classification]|value={{{classification|}}}}}
+
{{Infobox/Item|key=[https://en.wikipedia.org/wiki/Language_family Classification]|value={{{family|}}}}}
 
{{Infobox/Item|key=Subdivisions|value={{{subdivisions|}}}}}
 
{{Infobox/Item|key=Subdivisions|value={{{subdivisions|}}}}}
 
{{Infobox/Item|key=[https://en.wikipedia.org/wiki/Writing_system Writing System]|value={{{system|}}}}}
 
{{Infobox/Item|key=[https://en.wikipedia.org/wiki/Writing_system Writing System]|value={{{system|}}}}}
Line 17: Line 17:
 
{{Language}}
 
{{Language}}
   
{{Language}}
+
{{Language
  +
|name = {{PAGENAME}}
  +
|localized_name = [localized_name]
  +
|pronunciation = [ipa pronunciation]
  +
|family = •[a]<br>&nbsp;&nbsp;•[b]<br>&nbsp;&nbsp;&nbsp;&nbsp;•[c]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;•[d]
  +
|subdivisions = •[a]<br>•[b]<br>•[c]
  +
|system = [cyrillic, latin, etc]
  +
|population = [pop]
  +
|o_nations = [countries]
  +
|r_nations = [countries]
  +
|map = KP_dark.png|mapdesc = [mapdesc]
  +
}}
   
 
[[Category:Infoboxes]]
 
[[Category:Infoboxes]]
 
[[Category:Templates]]
 
[[Category:Templates]]
  +
<templatedata>
</noinclude>
 
  +
{
  +
"params": {
  +
"name": {
  +
"label": "Language Name",
  +
"description": "English Language name for the given language or language group",
  +
"example": "Krostanian",
  +
"type": "string",
  +
"autovalue": "{{pagename}}",
  +
"suggested": true
  +
},
  +
"localized_name": {
  +
"label": "Localised Name",
  +
"description": "The name for the language in said language, does not apply to language groups",
  +
"example": "Kroslands",
  +
"type": "string"
  +
},
  +
"pronunciation": {
  +
"label": "Pronunciation",
  +
"description": "IPA pronunciation of the native language name",
  +
"example": "[dɔʏtʃ]",
  +
"type": "string"
  +
},
  +
"family": {
  +
"label": "Language Family",
  +
"description": "List of the language hierarchy leading up from this language",
  +
"example": "•[Tau]<br>&nbsp;&nbsp;•[Kafrican]<br>&nbsp;&nbsp;&nbsp;&nbsp;•[Palcife]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;•[Krostanian]",
  +
"type": "content",
  +
"default": "•[a]<br>&nbsp;&nbsp;•[b]<br>&nbsp;&nbsp;&nbsp;&nbsp;•[c]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;•[d]",
  +
"autovalue": "•[a]<br>&nbsp;&nbsp;•[b]<br>&nbsp;&nbsp;&nbsp;&nbsp;•[c]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;•[d]",
  +
"required": true
  +
},
  +
"subdivisions": {
  +
"label": "Subdivisions",
  +
"description": "List of contained languages, groups, or dialects, depending on specified level",
  +
"example": "•Strelkan<br>•Viennan",
  +
"type": "content"
  +
},
  +
"system": {
  +
"label": "Writing System",
  +
"suggestedvalues": [
  +
"Cyrillic, Latin, Emjoic"
  +
],
  +
"required": true
  +
},
  +
"population": {},
  +
"o_nations": {},
  +
"r_nations": {},
  +
"map": {},
  +
"mapdesc": {}
  +
},
  +
"description": "Template for the description of a language or family of languages"
  +
}
 
</templatedata></noinclude>

Revision as of 12:32, 20 February 2023



Language

Official Status


Language
[localized_name]
Pronunciation [ipa pronunciation]
Classification •[a]
  •[b]
    •[c]
      •[d]
Subdivisions •[a]
•[b]
•[c]
Writing System [cyrillic, latin, etc]
Official Status
Native Speakers [pop]
Official Language in [countries]
Recognised Language in [countries]
KP dark.png
[mapdesc]

Template for the description of a language or family of languages

Template parameters

ParameterDescriptionTypeStatus
Language Namename

English Language name for the given language or language group

Example
Krostanian
Auto value
{{pagename}}
Stringsuggested
Localised Namelocalized_name

The name for the language in said language, does not apply to language groups

Example
Kroslands
Stringoptional
Pronunciationpronunciation

IPA pronunciation of the native language name

Example
[dɔʏtʃ]
Stringoptional
Language Familyfamily

List of the language hierarchy leading up from this language

Default
•[a]<br>&nbsp;&nbsp;•[b]<br>&nbsp;&nbsp;&nbsp;&nbsp;•[c]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;•[d]
Example
•[Tau]<br>&nbsp;&nbsp;•[Kafrican]<br>&nbsp;&nbsp;&nbsp;&nbsp;•[Palcife]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;•[Krostanian]
Auto value
•[a]<br>&nbsp;&nbsp;•[b]<br>&nbsp;&nbsp;&nbsp;&nbsp;•[c]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;•[d]
Contentrequired
Subdivisionssubdivisions

List of contained languages, groups, or dialects, depending on specified level

Example
•Strelkan<br>•Viennan
Contentoptional
Writing Systemsystem

no description

Suggested values
Cyrillic, Latin, Emjoic
Unknownrequired
populationpopulation

no description

Unknownoptional
o_nationso_nations

no description

Unknownoptional
r_nationsr_nations

no description

Unknownoptional
mapmap

no description

Unknownoptional
mapdescmapdesc

no description

Unknownoptional