Template:Infobox settlement: Difference between revisions

m
added visual editor support to settlement infobox
(created basic infobox)
 
m (added visual editor support to settlement infobox)
Line 150:
<noinclude>
{{documentation}}
<templatedata>
</noinclude>
{
"params": {
"name": {
"description": "The full name of the settlement",
"example": "Crowsroost",
"type": "string",
"suggested": true
},
"subheader": {
"description": "The shorthand name of the settlement",
"example": "Crowsroost",
"type": "string"
},
"image": {
"description": "Flag/CoA of settlement or picture of settlement",
"type": "wiki-file-name",
"suggested": true
},
"alt": {
"description": "the text that should display incase the image fails",
"type": "string"
},
"caption": {
"description": "Description of the image",
"type": "string",
"suggested": true
},
"image2": {
"description": "second image or render of the settlement",
"type": "wiki-file-name"
},
"caption2": {},
"part_of": {
"description": "what nation the settlement is a part of",
"example": "{{flag|Lusitania}}",
"type": "wiki-template-name",
"suggested": true
},
"custom_leader": {
"description": "the current leader of the settlement",
"example": "[[Metriximor]]",
"type": "wiki-page-name",
"suggested": true
},
"famous_for": {
"description": "a short description of why people might know about the settlement",
"type": "string",
"suggested": true
},
"server_iteration": {
"description": "what server iteration the settlement was a part of",
"example": "[[CivClassic]] [[Civcraft 1.0]] [[Civcraft 2.0]] ...",
"type": "wiki-page-name",
"suggested": true
},
"custom_general_label0": {
"description": "extra data label",
"example": "Mascot",
"type": "string"
},
"custom_general_data0": {
"description": "data for the custom label of same number",
"example": "Llamma",
"type": "string"
},
"custom_general_label1": {},
"custom_general_data1": {},
"custom_general_label2": {},
"custom_general_data2": {},
"custom_general_label3": {},
"custom_general_data3": {},
"custom_general_label4": {},
"custom_general_data4": {},
"custom_leader_role": {
"description": "The title of the current leader of the settlement",
"example": "Mayor",
"type": "string",
"suggested": true
},
"custom_geographical_region_name_label": {
"description": "description of the area the settlement is in",
"example": "Region / State / Geographical Area",
"type": "string",
"default": "Region",
"autovalue": "Region",
"suggested": true
},
"custom_geographical_region_name_data": {
"description": "name of the geographical area",
"example": "[[Greenmarsh]]",
"type": "wiki-page-name",
"autovalue": "",
"suggested": true
},
"coordinates": {
"description": "should make use of the correct {{Coord|x|y||350}} template for the appropriate server",
"type": "wiki-template-name",
"suggested": true
},
"custom_geography_label0": {},
"custom_geography_data0": {},
"custom_geography_label1": {},
"custom_geography_data1": {},
"custom_geography_label2": {},
"custom_geography_data2": {},
"custom_geography_label3": {},
"custom_geography_data3": {},
"custom_geography_label4": {},
"custom_geography_data4": {},
"demonym": {
"description": "what people from that area should be called",
"example": "Lusitan",
"type": "string",
"suggested": true
},
"architectural_style": {
"description": "what style(s) the settlement was built in",
"example": "* Medieval <br/> * Classical",
"type": "string",
"suggested": true
},
"religion": {
"description": "what religion people in the settlement worship",
"example": "[[Canalism]]",
"type": "wiki-page-name",
"suggested": true
},
"motto": {
"description": "the motto of the city",
"type": "string",
"suggested": true
},
"custom_culture_label0": {},
"custom_culture_data0": {},
"custom_culture_label1": {},
"custom_culture_data1": {},
"custom_culture_label2": {},
"custom_culture_data2": {},
"custom_culture_label3": {},
"custom_culture_data3": {},
"custom_culture_label4": {},
"custom_culture_data4": {},
"administrative_building": {
"description": "The building where the government of the settlement is located at",
"example": "Town Hall",
"type": "string",
"suggested": true
},
"government": {
"description": "the government of the city",
"example": "elected democracy",
"type": "string",
"suggested": true
},
"custom_government_label0": {},
"custom_government_data0": {},
"custom_government_label1": {},
"custom_government_data1": {},
"custom_government_label2": {},
"custom_government_data2": {},
"custom_government_label3": {},
"custom_government_data3": {},
"custom_government_label4": {},
"custom_government_data4": {},
"founder": {
"description": "use if there was only one founder",
"example": "[[Metriximor]]",
"type": "wiki-page-name",
"suggested": true
},
"founders": {
"description": "use if there were multiple founders",
"example": "* [[Metriximor]] <br/> * [[Lodish]]",
"type": "wiki-page-name",
"suggested": true
},
"foundation_date": {
"description": "the date that the city was founded",
"example": "1 January 2021",
"type": "date",
"suggested": true
},
"preceded_by": {
"description": "list of settlements(s) that preceded this settlement",
"example": "* {{flagicon|Lusitania}} Petra",
"type": "wiki-template-name",
"suggested": true
},
"succeeded_by": {
"description": "list of settlement(s) that succeeded this settlement",
"example": "{{flagicon|Lusitania}} Portucale",
"type": "wiki-template-name",
"suggested": true
},
"custom_history_label0": {},
"custom_history_data0": {},
"custom_history_label1": {},
"custom_history_data1": {},
"custom_history_label2": {},
"custom_history_data2": {},
"custom_history_label3": {},
"custom_history_data3": {},
"custom_history_label4": {},
"custom_history_data4": {}
},
"description": "This template should be used for settlements inside civilizations. It can be used on it's own page at the top or on the page of a civilization if there is not enough content for the settlement itself"
}
</templatedata></noinclude>