Template:Infobox settlement: Difference between revisions
Metriximor (talk | contribs) (created basic infobox) |
No edit summary |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
| abovestyle = background:#eaecee;font-size:130%;padding:0.3em; |
| abovestyle = background:#eaecee;font-size:130%;padding:0.3em; |
||
| headerstyle = background:#eaecee; |
| headerstyle = background:#eaecee; |
||
| autoheaders = y |
|||
<!-- images --> |
<!-- images --> |
||
| image1 = {{#if:{{{image|}}}| [[File:{{{image}}}|frameless|alt={{{alt|}}}|border|upright=.6|]]}} |
| image1 = {{#if:{{{image|}}}| [[File:{{{image}}}|frameless|alt={{{alt|}}}|border|upright=.6|]]}} |
||
Line 11: | Line 12: | ||
| caption2 = {{{caption2|}}} |
| caption2 = {{{caption2|}}} |
||
<!-- general --> |
<!-- 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 |
| label2 = Part of |
||
Line 40: | Line 41: | ||
| data10 = {{{custom_general_data4|}}} |
| data10 = {{{custom_general_data4|}}} |
||
<!-- geography --> |
<!-- 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|}}} |
| label21 = {{{custom_geographical_region_name_label|}}} |
||
Line 63: | Line 64: | ||
| data27 = {{{custom_geography_data4|}}} |
| data27 = {{{custom_geography_data4|}}} |
||
<!-- culture --> |
<!-- 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 |
| label41 = Demonym |
||
Line 92: | Line 93: | ||
| data49 = {{{custom_culture_data4|}}} |
| data49 = {{{custom_culture_data4|}}} |
||
<!-- government --> |
<!-- 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 |
| label61 = Administrative Building |
||
Line 115: | Line 116: | ||
| data67 = {{{custom_government_data4|}}} |
| data67 = {{{custom_government_data4|}}} |
||
<!-- history --> |
<!-- 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 |
| label81 = Founder |
||
Line 147: | Line 148: | ||
| data90 = {{{custom_history_data4|}}} |
| data90 = {{{custom_history_data4|}}} |
||
}} |
}} |
||
<includeonly> |
<includeonly>{{#ifeq: {{lc:{{{categories}}}}} | no || |
||
[[Category:Settlements]]}}</includeonly> |
|||
<noinclude> |
<noinclude> |
||
{{documentation}} |
{{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> |
</noinclude> |
Latest revision as of 03:14, 7 January 2024
Infobox settlement |
---|
Usage
Use this template for settlements.
Full
{{{name}}} | |
---|---|
{{{subheader}}} | |
[[File:{{{image}}}|frameless|alt={{{alt}}}|border|upright=.6|]] {{{caption}}} | |
[[File:{{{image2}}}|frameless|alt={{{alt}}}|border|upright=.6|]] {{{caption2}}} | |
General | |
Part of | {{{part_of}}} |
Famous for | {{{famous_for}}} |
Server Iteration | {{{server_iteration}}} |
{{{custom_leader_role}}} | {{{custom_leader}}} |
{{{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}}} |
Geography | |
{{{custom_geographical_region_name_label}}} | {{{custom_geographical_region_name_data}}} |
Coordinates | {{{coordinates}}} |
{{{custom_geography_label0}}} | {{{custom_geography_data0}}} |
Culture | |
Demonym | {{{demonym}}} |
Architectural Style | {{{architectural_style}}} |
Religion | {{{religion}}} |
Motto | {{{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}}} |
Government | |
Administrative Building | {{{administrative_building}}} |
Government | {{{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}}} |
History | |
Founder | {{{founder}}} |
Founders | {{{founders}}} |
Foundation Date | {{{foundation_date}}} |
Preceded by | {{{preceded_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}}} |
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
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The full name of the settlement
| String | suggested |
subheader | subheader | The shorthand name of the settlement
| String | optional |
image | image | Flag/CoA of settlement or picture of settlement | File | suggested |
alt | alt | the text that should display incase the image fails | String | optional |
caption | caption | Description of the image | String | suggested |
image2 | image2 | second image or render of the settlement | File | optional |
caption2 | caption2 | no description | Unknown | optional |
part_of | part_of | what nation the settlement is a part of
| Template | suggested |
custom_leader | custom_leader | the current leader of the settlement
| Page name | suggested |
famous_for | famous_for | a short description of why people might know about the settlement | String | suggested |
server_iteration | server_iteration | what server iteration the settlement was a part of
| Page name | suggested |
custom_general_label0 | custom_general_label0 | extra data label
| String | optional |
custom_general_data0 | custom_general_data0 | data for the custom label of same number
| String | optional |
custom_general_label1 | custom_general_label1 | no description | Unknown | optional |
custom_general_data1 | custom_general_data1 | no description | Unknown | optional |
custom_general_label2 | custom_general_label2 | no description | Unknown | optional |
custom_general_data2 | custom_general_data2 | no description | Unknown | optional |
custom_general_label3 | custom_general_label3 | no description | Unknown | optional |
custom_general_data3 | custom_general_data3 | no description | Unknown | optional |
custom_general_label4 | custom_general_label4 | no description | Unknown | optional |
custom_general_data4 | custom_general_data4 | no description | Unknown | optional |
custom_leader_role | custom_leader_role | The title of the current leader of the settlement
| String | suggested |
custom_geographical_region_name_label | custom_geographical_region_name_label | description of the area the settlement is in
| String | suggested |
custom_geographical_region_name_data | custom_geographical_region_name_data | name of the geographical area
| Page name | suggested |
coordinates | coordinates | should make use of the correct {{Coord|x|y||350}} template for the appropriate server | Template | suggested |
custom_geography_label0 | custom_geography_label0 | no description | Unknown | optional |
custom_geography_data0 | custom_geography_data0 | no description | Unknown | optional |
custom_geography_label1 | custom_geography_label1 | no description | Unknown | optional |
custom_geography_data1 | custom_geography_data1 | no description | Unknown | optional |
custom_geography_label2 | custom_geography_label2 | no description | Unknown | optional |
custom_geography_data2 | custom_geography_data2 | no description | Unknown | optional |
custom_geography_label3 | custom_geography_label3 | no description | Unknown | optional |
custom_geography_data3 | custom_geography_data3 | no description | Unknown | optional |
custom_geography_label4 | custom_geography_label4 | no description | Unknown | optional |
custom_geography_data4 | custom_geography_data4 | no description | Unknown | optional |
demonym | demonym | what people from that area should be called
| String | suggested |
architectural_style | architectural_style | what style(s) the settlement was built in
| String | suggested |
religion | religion | what religion people in the settlement worship
| Page name | suggested |
motto | motto | the motto of the city | String | suggested |
custom_culture_label0 | custom_culture_label0 | no description | Unknown | optional |
custom_culture_data0 | custom_culture_data0 | no description | Unknown | optional |
custom_culture_label1 | custom_culture_label1 | no description | Unknown | optional |
custom_culture_data1 | custom_culture_data1 | no description | Unknown | optional |
custom_culture_label2 | custom_culture_label2 | no description | Unknown | optional |
custom_culture_data2 | custom_culture_data2 | no description | Unknown | optional |
custom_culture_label3 | custom_culture_label3 | no description | Unknown | optional |
custom_culture_data3 | custom_culture_data3 | no description | Unknown | optional |
custom_culture_label4 | custom_culture_label4 | no description | Unknown | optional |
custom_culture_data4 | custom_culture_data4 | no description | Unknown | optional |
administrative_building | administrative_building | The building where the government of the settlement is located at
| String | suggested |
government | government | the government of the city
| String | suggested |
custom_government_label0 | custom_government_label0 | no description | Unknown | optional |
custom_government_data0 | custom_government_data0 | no description | Unknown | optional |
custom_government_label1 | custom_government_label1 | no description | Unknown | optional |
custom_government_data1 | custom_government_data1 | no description | Unknown | optional |
custom_government_label2 | custom_government_label2 | no description | Unknown | optional |
custom_government_data2 | custom_government_data2 | no description | Unknown | optional |
custom_government_label3 | custom_government_label3 | no description | Unknown | optional |
custom_government_data3 | custom_government_data3 | no description | Unknown | optional |
custom_government_label4 | custom_government_label4 | no description | Unknown | optional |
custom_government_data4 | custom_government_data4 | no description | Unknown | optional |
founder | founder | use if there was only one founder
| Page name | suggested |
founders | founders | use if there were multiple founders
| Page name | suggested |
foundation_date | foundation_date | the date that the city was founded
| Date | suggested |
preceded_by | preceded_by | list of settlements(s) that preceded this settlement
| Template | suggested |
succeeded_by | succeeded_by | list of settlement(s) that succeeded this settlement
| Template | suggested |
custom_history_label0 | custom_history_label0 | no description | Unknown | optional |
custom_history_data0 | custom_history_data0 | no description | Unknown | optional |
custom_history_label1 | custom_history_label1 | no description | Unknown | optional |
custom_history_data1 | custom_history_data1 | no description | Unknown | optional |
custom_history_label2 | custom_history_label2 | no description | Unknown | optional |
custom_history_data2 | custom_history_data2 | no description | Unknown | optional |
custom_history_label3 | custom_history_label3 | no description | Unknown | optional |
custom_history_data3 | custom_history_data3 | no description | Unknown | optional |
custom_history_label4 | custom_history_label4 | no description | Unknown | optional |
custom_history_data4 | custom_history_data4 | no description | Unknown | optional |
Category settlement should be included? | categories | Should the category settlement be automatically included
| Unknown | optional |