Template:Infobox City: Difference between revisions

From CinderCivs Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
! scope="col" colspan="2" style="width: 250px; text-align: center; background-color: {{{hexcode|#f0f0f0}}}; font-size:125%" | {{{name|}}}
! scope="col" colspan="2" style="width: 250px; text-align: center; background-color: {{{hexcode|#f0f0f0}}}; font-size:125%" | {{{name|}}}
|- {{#if: {{{image1|}}} | | style="display: none;" }}
|- {{#if: {{{image1|}}} | | style="display: none;" }}
| colspan="2" style="text-align: center;" |[[file:{{{image1|}}}|240px]] {{{caption-image1|}}}.
| colspan="2" style="text-align: center;" |[[file:{{{image1|}}}|240px]].
|- {{#if: {{{image2|}}} | | style="display: none;" }}
| colspan="2" style="text-align: center;" |[[file:{{{image2|}}}|240px]] {{{caption-image1|}}}.
|- {{#if: {{{gen_info|}}} | | style="display: none;" }}.
|- {{#if: {{{gen_info|}}} | | style="display: none;" }}.
| colspan="2" style="background-color: {{{hexcode|#f0f0f0}}};"|
! scope="col" colspan="2" style="text-align: center; width: 250px; background-color: #e6e6e6; font-size:105%" | {{{gen_info|}}}
! scope="col" colspan="2" style="text-align: center; width: 250px; background-color: #e6e6e6; font-size:105%" | {{{gen_info|}}}
|- {{#if: {{{location|}}} | | style="display: none;" }}
|- {{#if: {{{location|}}} | | style="display: none;" }}
! '''Location'''
! '''Location'''
| {{{location}}}
| {{{location}}}
| scope="col" colspan="2" style="width:250px; background-color: {{{hexcode|#f0f0f0}}};"|
|- {{#if: {{{country|}}} | | style="display: none;" }}
|- {{#if: {{{country|}}} | | style="display: none;" }}
! '''Country'''
! '''Country'''
| {{{country}}}
| {{{country}}}
|- {{#if: {{{Province|}}} | | style="display: none;" }}
|- {{#if: {{{province|}}} | | style="display: none;" }}
! '''Province'''
! '''Province'''
| {{{province}}}
| {{{province}}}
|- {{#if: {{{other_info|}}} | | style="display: none;" }}.
| colspan="2" style="background-color: {{{hexcode|#f0f0f0}}};"|
! scope="col" colspan="2" style="text-align: center; width: 250px; background-color: #e6e6e6; font-size:105%" | {{{other_info|}}}
|- {{#if: {{{date_founded_IRL|}}} | | style="display: none;" }}
|- {{#if: {{{date_opened_IRL|}}} | | style="display: none;" }}
! '''Opened (IRL)'''
! '''Opened (IRL)'''
| {{{date_opened_IRL}}}
| {{{date_founded_IRL}}}
|- {{#if: {{{date_opened_LORE|}}} | | style="display: none;" }}
|- {{#if: {{{date_founded_LORE|}}} | | style="display: none;" }}
! '''Opened (Lore)'''
! '''Opened (Lore)'''
| {{{date_opened_LORE}}}
| {{{date_founded_LORE}}}
|}
|}
</onlyinclude>
</onlyinclude>
Line 34: Line 35:
"params": {
"params": {
"image1": {
"image1": {
"label": "photo of the station",
"label": "City Photo 1",
"description": "Station photo. Please use the correct case-sensitive filename and don't forget the file extension (.png or .jpg).",
"description": "City photo. Please use the correct case-sensitive filename and don't forget the file extension (.png or .jpg).",
"type": "string",
"type": "string",
"required": true
"required": true
Line 45: Line 46:
"required": true,
"required": true,
"default": "#f0f0f0"
"default": "#f0f0f0"
},
"colour_1": {
"label": "Colour 1",
"description": "Do NOT add any text here. this will be for whatever hexcode you wish to add for the station.",
"type": "string",
"suggested": true
},
"location": {
"label": "Location",
"description": "Location of the station. State the city name.",
"type": "string",
"suggested": true
},
},
"gen_info": {
"gen_info": {
Line 67: Line 56:
"label": "Caption",
"label": "Caption",
"description": "Caption for images in the textbox"
"description": "Caption for images in the textbox"
},
"other_info": {
"label": "Other Information",
"description": "Just put \"Other Information\""
},
"date_opened_LORE": {
"label": "Date Opened (Lore)",
"description": "Put the date of opening, but using the in-universe calendar as found in #rp-discussion on the Discord."
},
},
"name": {
"name": {
Line 100: Line 81:
"label": "Date Founded (IRL)",
"label": "Date Founded (IRL)",
"description": "Put the date of the city's founding in OORP time here."
"description": "Put the date of the city's founding in OORP time here."
},
"date_founded_LORE": {
"label": "Date Founded (Lore)",
"description": "Put the date of foundation, but using the in-universe calendar as found in #rp-discussion on the Discord."
},
"location": {
"label": "Location",
"description": "The coordinates of the city."
},
"image2": {
"label": "City Photo 2",
"description": "Second photo of the city. Remember to add .jpg and .png as well."
}
}
},
},
Line 110: Line 103:
"hexcode",
"hexcode",
"location",
"location",
"colour_1",
"other_info",
"caption-image1",
"caption-image1",
"date_founded_IRL",
"date_founded_IRL",
"date_opened_LORE"
"date_founded_LORE",
"image2"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 12:54, 12 July 2024

[[file:|240px]].
[[file:|240px]] .
Location {{{location}}}
Country {{{country}}}
Province {{{province}}}
Opened (IRL) {{{date_founded_IRL}}}
Opened (Lore) {{{date_founded_LORE}}}



No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namename

City Name

Example
Palermo, Tintorini, Barbacena etc.
Stringrequired
Provinceprovince

(If any) the province or subdivision the city is a part of within a nation.

Example
Théma of Danouvia, Province of Syraterra
Stringsuggested
Countrycountry

The country the city is in.

Example
Ashannar, Aranna, etc.
Stringsuggested
General Informationgen_info

Just put "General Information".

Stringrequired
City Photo 1image1

City photo. Please use the correct case-sensitive filename and don't forget the file extension (.png or .jpg).

Stringrequired
Hexcodehexcode

The hexcode for the bar where your nation name is written keep at default or write your whole hexcode. Example: #fbca69.

Default
#f0f0f0
Stringrequired
Locationlocation

The coordinates of the city.

Unknownoptional
Captioncaption-image1

Caption for images in the textbox

Unknownoptional
Date Founded (IRL)date_founded_IRL

Put the date of the city's founding in OORP time here.

Unknownoptional
Date Founded (Lore)date_founded_LORE

Put the date of foundation, but using the in-universe calendar as found in #rp-discussion on the Discord.

Unknownoptional
City Photo 2image2

Second photo of the city. Remember to add .jpg and .png as well.

Unknownoptional