Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:CorpRP Nation Infobox: Difference between revisions

Template page
imported>MechanicalDog
No edit summary
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 8: Line 8:
   <image source="image2">
   <image source="image2">
     <caption source="caption2"/>
     <caption source="caption2"/>
  </image>
  <image source="image3">
    <caption source="caption3"/>
   </image>
   </image>
   <data source="full_name">
   <data source="full_name">
Line 37: Line 40:
     <data source="ethnic_groups">
     <data source="ethnic_groups">
       <label>Ethnic groups</label>
       <label>Ethnic groups</label>
    </data>
    <data source="gdp">
      <label>GDP</label>
     </data>
     </data>
   </group>
   </group>
Line 59: Line 59:
}}
}}
</pre>
</pre>
</noinclude>
<templatedata>
{
"params": {
"title1": {
"aliases": [
"title1"
],
"label": "Nation's Name",
"example": "Wiltshire",
"type": "string",
"description": "Can be the full name or the most commonly used name."
},
"image1": {
"aliases": [
"image1"
],
"label": "Flag",
"description": "The nation's flag.",
"type": "wiki-file-name"
},
"image2": {
"aliases": [
"image2"
],
"label": "Map",
"description": "Map of the region that the nation is in, with the nation itself clearly highlighted.",
"type": "wiki-file-name"
},
"caption1": {
"aliases": [
"caption1"
],
"label": "Flag Caption",
"type": "string"
},
"caption2": {
"aliases": [
"caption2"
],
"label": "Map Caption"
},
"image3": {
"aliases": [
"image3"
]
},
"caption3": {
"aliases": [
"caption3"
]
},
"full_name": {
"aliases": [
"full_name"
],
"label": "Full Name",
"description": "The nation's full, formal name.",
"example": "Republic of India",
"type": "string"
},
"capital": {
"aliases": [
"capital"
],
"label": "Capital",
"description": "Name of the capital city or capital district- where the seat of government is located.",
"type": "string"
},
"official_languages": {
"aliases": [
"official_languages"
],
"label": "Official Languages",
"type": "string"
},
"government": {
"aliases": [
"government"
],
"label": "Government",
"description": "Governmental classifcation",
"example": "parliamentary republic",
"type": "string"
},
"head_of_state": {
"aliases": [
"head_of_state"
],
"label": "Head of State",
"description": "The leader(s) of the nation.",
"type": "string"
},
"formation": {
"aliases": [
"formation"
],
"label": "Formation",
"description": "Date of the nation's founding.",
"type": "date"
},
"population": {
"aliases": [
"population"
],
"label": "Population",
"description": "Refer to the spreadsheet.",
"type": "string"
},
"demonym": {
"aliases": [
"demonym"
],
"label": "Demonym",
"description": "What are people from this nation called?",
"example": "Wiltshirian",
"type": "string"
},
"ethnic_groups": {
"aliases": [
"ethnic_groups"
],
"label": "Ethnic groups",
"description": "Ethnic groups by percentage",
"example": "60% Apples, 38% Oranges, 2% Milk",
"type": "string"
}
},
"paramOrder": [
"title1",
"image1",
"caption1",
"image2",
"caption2",
"image3",
"caption3",
"full_name",
"capital",
"official_languages",
"government",
"head_of_state",
"formation",
"population",
"demonym",
"ethnic_groups"
]
}
</templatedata></noinclude>

Latest revision as of 15:40, 23 July 2023

Example usage:

{{Nation infobox
|title1=Example
|image1= Flag
|caption1= flag desc
|image2 = Map
|caption2 = Map Desc. and Legend
|capital=Example
|official_languages=Example
|government=Example
|head_of_state=Example
|formation=Example
|population=Example
}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Nation's Nametitle1 title1

Can be the full name or the most commonly used name.

Example
Wiltshire
Stringoptional
Flagimage1 image1

The nation's flag.

Fileoptional
Flag Captioncaption1 caption1

no description

Stringoptional
Mapimage2 image2

Map of the region that the nation is in, with the nation itself clearly highlighted.

Fileoptional
Map Captioncaption2 caption2

no description

Unknownoptional
image3image3 image3

no description

Unknownoptional
caption3caption3 caption3

no description

Unknownoptional
Full Namefull_name full_name

The nation's full, formal name.

Example
Republic of India
Stringoptional
Capitalcapital capital

Name of the capital city or capital district- where the seat of government is located.

Stringoptional
Official Languagesofficial_languages official_languages

no description

Stringoptional
Governmentgovernment government

Governmental classifcation

Example
parliamentary republic
Stringoptional
Head of Statehead_of_state head_of_state

The leader(s) of the nation.

Stringoptional
Formationformation formation

Date of the nation's founding.

Dateoptional
Populationpopulation population

Refer to the spreadsheet.

Stringoptional
Demonymdemonym demonym

What are people from this nation called?

Example
Wiltshirian
Stringoptional
Ethnic groupsethnic_groups ethnic_groups

Ethnic groups by percentage

Example
60% Apples, 38% Oranges, 2% Milk
Stringoptional