Template:Infobox settlement: Difference between revisions

no edit summary
(created basic infobox)
 
No edit summary
 
(7 intermediate revisions by 3 users not shown)
Line 4:
| abovestyle = background:#eaecee;font-size:130%;padding:0.3em;
| headerstyle = background:#eaecee;
| autoheaders = y
<!-- images -->
| image1 = {{#if:{{{image|}}}| [[File:{{{image}}}|frameless|alt={{{alt|}}}|border|upright=.6|]]}}
Line 11 ⟶ 12:
| caption2 = {{{caption2|}}}
<!-- general -->
| header1 = General
| header1 = {{#if:{{{part_of|}}}{{{custom_leader|}}}{{{famous_for|}}}{{{server_iteration|}}}{{{custom_general_label0|}}}{{{custom_general_data0|}}}{{{custom_general_label1|}}}{{{custom_general_data1|}}}{{{custom_general_label2|}}}{{{custom_general_data2|}}}{{{custom_general_label3|}}}{{{custom_general_data3|}}}{{{custom_general_label4|}}}{{{custom_general_data4|}}}|General}}
 
| label2 = Part of
Line 40 ⟶ 41:
| data10 = {{{custom_general_data4|}}}
<!-- geography -->
| header20 = Geography
| header20 = {{#if:{{{custom_geographical_region_name_label|}}}{{{custom_geographical_region_name_data|}}}{{{coordinates|}}}{{{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|}}}|Geography}}
 
| label21 = {{{custom_geographical_region_name_label|}}}
Line 63 ⟶ 64:
| data27 = {{{custom_geography_data4|}}}
<!-- culture -->
| header40 = Culture
| header40 = {{#if:{{{demonym|}}}{{{architectural_style|}}}{{{religion|}}}{{{motto|}}}{{{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|}}}|Culture}}
 
| label41 = Demonym
Line 92 ⟶ 93:
| data49 = {{{custom_culture_data4|}}}
<!-- government -->
| header60 = Government
| header60 = {{#if:{{{administrative_building|}}}{{{government|}}}{{{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|}}}|Government}}
 
| label61 = Administrative Building
Line 115 ⟶ 116:
| data67 = {{{custom_government_data4|}}}
<!-- history -->
| header80 = History
| header80 = {{#if:{{{founder|}}}{{{founders|}}}{{{foundation_date|}}}{{{preceded_by|}}}{{{succeeded_by|}}}{{{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|}}}|History}}
 
| label81 = Founder
Line 147 ⟶ 148:
| data90 = {{{custom_history_data4|}}}
}}
<includeonly>[[Category{{#ifeq:Settlement]]</includeonly> {{lc:{{{categories}}}}} | no ||
[[Category:Settlements]]}}</includeonly>
<noinclude>
{{documentation}}
<templatedata>
{
"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": {},
"categories": {
"label": "Category settlement should be included?",
"description": "Should the category settlement be automatically included",
"example": "no",
"autovalue": "yes"
}
},
"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>
[[Category:Civ infobox templates]]
</noinclude>
2,284

edits