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

Template:Infobox Country: Difference between revisions

Template page
More languages
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
| name    =  
| name    =  
| title    = {{{name|}}}
| title    = {{{name|}}}
| image    = {{{image|}}}
| image    = [[File:{{{image|}}}]]
| caption  = {{{caption|}}}
| caption  = {{{caption|}}}


Line 21: Line 21:
| label6  = Formed
| label6  = Formed
|  data6  = {{#if:{{{start_year|}}}{{{start_month|}}}{{{start_day|}}}
|  data6  = {{#if:{{{start_year|}}}{{{start_month|}}}{{{start_day|}}}
             | {{#formatdate:{{{start_day}}}.{{#switch:{{#sub:{{lc:{{{start_month}}}}}|0|3}}
             | {{#formatdate:{{{start_day|XX}}}.{{#switch:{{#sub:{{lc:{{{start_month}}}}}|0|3}}
               | jan = 01
               | jan = 01
               | feb = 02
               | feb = 02
Line 34: Line 34:
               | nov = 11
               | nov = 11
               | dec = 12
               | dec = 12
               | {{padleft:{{{start_month}}}|2}}
               | {{padleft:{{{start_month|XX}}}|2}}
               }}.{{{start_year}}}}}}}
               }}.{{{start_year}}}}}}}


Line 56: Line 56:


| label8=Capital
| label8=Capital
| data8={{{capital|}}}
| data8=[[{{{capital|}}}]]


| label9=Coördinates
| label9=Coördinates
Line 62: Line 62:


| label10=World
| label10=World
| data10={{#switch:{{lc:{{{world|Terrafirma}}}}}|luna=[[Luna]][[Category:Organisations in Luna]]|terrafirma=[[Terrafirma]][[Category:Organisations in Terrafirma]]|both=Both[[Category:Organisations in both worlds]][[Category:Organisations in Luna]][[Category:Organisations in Terrafirma]]|#default=[[Terrafirma]][[Category:Organisations in Terrafirma]]}}
| data10={{#switch:{{lc:{{{world|Terrafirma}}}}}|luna=[[Luna]][[Category:Organisations in Luna]]|terrafirma=[[Terrafirma]][[Category:Organisations in Terrafirma]]|both=Both[[Category:Countries in both worlds]][[Category:Countries in Luna]][[Category:Countries in Terrafirma]]|#default=[[Terrafirma]][[Category:Countries in Terrafirma]]}}


| label11=Region(s) controlled
| label11=Region(s) controlled
Line 94: Line 94:
<templatedata>
<templatedata>
{
{
"params": {},
"params": {
"description": "Used for defining a country on Moxiecraft"
"name": {
"label": "Name",
"description": "The name of the country",
"example": "Terpomo Federation",
"type": "string",
"required": true
},
"image": {
"label": "Image",
"description": "An image to represent the country",
"example": "Your Flag.png",
"type": "wiki-file-name",
"required": true
},
"caption": {
"label": "Caption",
"description": "Explanation of the above image",
"type": "line",
"suggested": true
},
"leader": {
"label": "Head of Government",
"description": "The person(s) who hold(s) the power",
"example": "{{playerhead|grelf}}",
"type": "string",
"required": true
},
"head_of_state": {
"label": "Head of State",
"description": "The public persona of the country",
"example": "{{playerhead|grefl}}",
"type": "string",
"suggested": true
},
"form_of_government": {
"label": "Form of Government",
"description": "The type of government the country is",
"example": "Democracy",
"type": "string",
"required": true
},
"state_voting": {
"label": "System of Voting",
"description": "If a democracy or similar, which way do the citizens vote",
"example": "Proportional Voting",
"type": "string"
},
"start_year": {
"label": "Foundation Year",
"description": "Year, when the country was founded",
"type": "number",
"required": true
},
"start_month": {
"label": "Foundation Month",
"description": "Month, when the country was founded",
"type": "number",
"suggested": true
},
"start_day": {
"label": "Foundation Day",
"description": "Day of the month, when the country was founded",
"type": "number",
"suggested": true
},
"stop_year": {
"label": "Dissolution Year",
"description": "Year, when the country was dissolved ",
"type": "number"
},
"stop_month": {
"label": "Dissolution Month",
"description": "Month, when the country was dissolved ",
"type": "number"
},
"stop_day": {
"label": "Dissolution Day",
"description": "Day of the month, when the country was dissolved ",
"type": "number"
},
"capital": {
"label": "Capital",
"description": "The capital of the country",
"example": "Potato Valley",
"type": "wiki-page-name",
"required": true
},
"world": {
"label": "World",
"description": "The world, where the country exists",
"example": "Terrafirma; Luna; Both",
"type": "wiki-page-name",
"default": "Terrafirma",
"required": true
},
"xcoord": {
"label": "X-Coördinate",
"description": "X-Coördinate of the country’s capital OR representative city in Terrafirma, if ‘Both’ worlds are selected, and the capital is in Luna",
"type": "number",
"required": true
},
"ycoord": {
"label": "Y-Coördinate",
"description": "Y-Coördinate of the country’s capital OR representative city in Terrafirma, if ‘Both’ worlds are selected, and the capital is in Luna",
"type": "number",
"required": true
},
"zcoord": {
"label": "Z-Coördinate",
"description": "Z-Coördinate of the country’s capital OR representative city in Terrafirma, if ‘Both’ worlds are selected, and the capital is in Luna",
"type": "number",
"required": true
},
"xcoord2": {
"label": "Luna X-Coördinate",
"description": "X-Coördinate of the representative city in Luna, if ‘Both’ worlds are selected",
"type": "number"
},
"zcoord2": {
"label": "Luna Z-Coördinate",
"description": "Z-Coördinate of the representative city in Luna, if ‘Both’ worlds are selected",
"type": "number"
},
"ycoord2": {
"label": "Luna Y-Coördinate",
"description": "Y-Coördinate of the representative city in Luna, if ‘Both’ worlds are selected",
"type": "number"
},
"region": {
"label": "Dependencies",
"description": "Regions that depend on or are colonies of this country",
"type": "string"
},
"motto": {
"label": "Motto",
"description": "The country’s motto",
"type": "line"
},
"founder": {
"label": "Founder(s)",
"description": "The person(s), who founded the country",
"example": "{{playerhead|grefl}}",
"type": "string",
"suggested": true
},
"founding_location": {
"label": "Founding Location",
"description": "The place, where the country’s independence was declared",
"example": "Potato Valley",
"type": "wiki-page-name"
},
"predecessor": {
"label": "Predecessor",
"description": "The country that came before this one",
"type": "string"
},
"merger": {
"label": "Union",
"description": "The country with which this country united to become one",
"type": "wiki-page-name"
},
"successor": {
"label": "Successor",
"description": "The country that came after this one’s dissolution",
"type": "wiki-page-name"
},
"former_names": {
"label": "Former Names",
"description": "A list of past names for this country",
"type": "string"
}
},
"description": "Used for defining a country on Moxiecraft",
"format": "block"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 11:04, 2 June 2026


Used for defining a country on Moxiecraft

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The name of the country

Example
Terpomo Federation
Stringrequired
Imageimage

An image to represent the country

Example
Your Flag.png
Filerequired
Captioncaption

Explanation of the above image

Linesuggested
Head of Governmentleader

The person(s) who hold(s) the power

Example
{{playerhead|grelf}}
Stringrequired
Head of Statehead_of_state

The public persona of the country

Example
{{playerhead|grefl}}
Stringsuggested
Form of Governmentform_of_government

The type of government the country is

Example
Democracy
Stringrequired
System of Votingstate_voting

If a democracy or similar, which way do the citizens vote

Example
Proportional Voting
Stringoptional
Foundation Yearstart_year

Year, when the country was founded

Numberrequired
Foundation Monthstart_month

Month, when the country was founded

Numbersuggested
Foundation Daystart_day

Day of the month, when the country was founded

Numbersuggested
Dissolution Yearstop_year

Year, when the country was dissolved

Numberoptional
Dissolution Monthstop_month

Month, when the country was dissolved

Numberoptional
Dissolution Daystop_day

Day of the month, when the country was dissolved

Numberoptional
Capitalcapital

The capital of the country

Example
Potato Valley
Page namerequired
Worldworld

The world, where the country exists

Default
Terrafirma
Example
Terrafirma; Luna; Both
Page namerequired
X-Coördinatexcoord

X-Coördinate of the country’s capital OR representative city in Terrafirma, if ‘Both’ worlds are selected, and the capital is in Luna

Numberrequired
Y-Coördinateycoord

Y-Coördinate of the country’s capital OR representative city in Terrafirma, if ‘Both’ worlds are selected, and the capital is in Luna

Numberrequired
Z-Coördinatezcoord

Z-Coördinate of the country’s capital OR representative city in Terrafirma, if ‘Both’ worlds are selected, and the capital is in Luna

Numberrequired
Luna X-Coördinatexcoord2

X-Coördinate of the representative city in Luna, if ‘Both’ worlds are selected

Numberoptional
Luna Z-Coördinatezcoord2

Z-Coördinate of the representative city in Luna, if ‘Both’ worlds are selected

Numberoptional
Luna Y-Coördinateycoord2

Y-Coördinate of the representative city in Luna, if ‘Both’ worlds are selected

Numberoptional
Dependenciesregion

Regions that depend on or are colonies of this country

Stringoptional
Mottomotto

The country’s motto

Lineoptional
Founder(s)founder

The person(s), who founded the country

Example
{{playerhead|grefl}}
Stringsuggested
Founding Locationfounding_location

The place, where the country’s independence was declared

Example
Potato Valley
Page nameoptional
Predecessorpredecessor

The country that came before this one

Stringoptional
Unionmerger

The country with which this country united to become one

Page nameoptional
Successorsuccessor

The country that came after this one’s dissolution

Page nameoptional
Former Namesformer_names

A list of past names for this country

Stringoptional