Template:Infobox City: Difference between revisions

From CinderCivs Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
|- {{#if: {{{name|}}} | | style="display: none;" }}
|- {{#if: {{{name|}}} | | style="display: none;" }}
! 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;" }}
| colspan="2" style="text-align: center;" |[[file:{{{image1|}}}|240px]].
|- {{#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]] {{{caption-image1|}}}.
Line 87: Line 89:
"label": "Location",
"label": "Location",
"description": "The coordinates of the city."
"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 99: Line 105:
"caption-image1",
"caption-image1",
"date_founded_IRL",
"date_founded_IRL",
"date_founded_LORE"
"date_founded_LORE",
"image2"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 02:02, 11 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