Template:Infobox Country: Difference between revisions
More languages
More actions
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: | | 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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | The name of the country
| String | required |
| Image | image | An image to represent the country
| File | required |
| Caption | caption | Explanation of the above image | Line | suggested |
| Head of Government | leader | The person(s) who hold(s) the power
| String | required |
| Head of State | head_of_state | The public persona of the country
| String | suggested |
| Form of Government | form_of_government | The type of government the country is
| String | required |
| System of Voting | state_voting | If a democracy or similar, which way do the citizens vote
| String | optional |
| Foundation Year | start_year | Year, when the country was founded | Number | required |
| Foundation Month | start_month | Month, when the country was founded | Number | suggested |
| Foundation Day | start_day | Day of the month, when the country was founded | Number | suggested |
| Dissolution Year | stop_year | Year, when the country was dissolved | Number | optional |
| Dissolution Month | stop_month | Month, when the country was dissolved | Number | optional |
| Dissolution Day | stop_day | Day of the month, when the country was dissolved | Number | optional |
| Capital | capital | The capital of the country
| Page name | required |
| World | world | The world, where the country exists
| Page name | required |
| X-Coördinate | xcoord | X-Coördinate of the country’s capital OR representative city in Terrafirma, if ‘Both’ worlds are selected, and the capital is in Luna | Number | required |
| Y-Coördinate | ycoord | Y-Coördinate of the country’s capital OR representative city in Terrafirma, if ‘Both’ worlds are selected, and the capital is in Luna | Number | required |
| Z-Coördinate | zcoord | Z-Coördinate of the country’s capital OR representative city in Terrafirma, if ‘Both’ worlds are selected, and the capital is in Luna | Number | required |
| Luna X-Coördinate | xcoord2 | X-Coördinate of the representative city in Luna, if ‘Both’ worlds are selected | Number | optional |
| Luna Z-Coördinate | zcoord2 | Z-Coördinate of the representative city in Luna, if ‘Both’ worlds are selected | Number | optional |
| Luna Y-Coördinate | ycoord2 | Y-Coördinate of the representative city in Luna, if ‘Both’ worlds are selected | Number | optional |
| Dependencies | region | Regions that depend on or are colonies of this country | String | optional |
| Motto | motto | The country’s motto | Line | optional |
| Founder(s) | founder | The person(s), who founded the country
| String | suggested |
| Founding Location | founding_location | The place, where the country’s independence was declared
| Page name | optional |
| Predecessor | predecessor | The country that came before this one | String | optional |
| Union | merger | The country with which this country united to become one | Page name | optional |
| Successor | successor | The country that came after this one’s dissolution | Page name | optional |
| Former Names | former_names | A list of past names for this country | String | optional |