Template:Infobox City: Difference between revisions

From CinderCivs Wiki
Jump to navigation Jump to search
(made a new infobox template for cities)
 
No edit summary
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
{| style="float: right; margin: 0 0 0 0.5em; text-align: left; background-color: light-gray; font-size: 85%; border: 2px solid gray; padding: 0.2em; width: 250px;"
{| style="float: right; margin: 0 0 0 0.5em; text-align: left; background-color: light-gray; font-size: 85%; border: 2px solid gray; padding: 0.2em; width: 250px;"
|- {{#if: {{{station_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%" | {{{station_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]] {{{caption-image1|}}}.

Revision as of 00:51, 9 July 2024

[[file:|240px]] .
Location {{{location}}}
Country {{{country}}}
Province {{{province}}}
Opened (IRL) {{{date_opened_IRL}}}
Opened (Lore) {{{date_opened_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
photo of the stationimage1

Station 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

Location of the station. State the city name.

Stringsuggested
Colour 1colour_1

Do NOT add any text here. this will be for whatever hexcode you wish to add for the station.

Stringsuggested
Other Informationother_info

Just put "Other Information"

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 Opened (Lore)date_opened_LORE

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

Unknownoptional