Template:Infobox City: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision 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;" }}. | ||
! 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|}}} | ||
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> |
Latest revision as of 11:54, 12 July 2024
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | City Name
| String | required |
Province | province | (If any) the province or subdivision the city is a part of within a nation.
| String | suggested |
Country | country | The country the city is in.
| String | suggested |
General Information | gen_info | Just put "General Information". | String | required |
City Photo 1 | image1 | City photo. Please use the correct case-sensitive filename and don't forget the file extension (.png or .jpg). | String | required |
Hexcode | hexcode | The hexcode for the bar where your nation name is written keep at default or write your whole hexcode. Example: #fbca69.
| String | required |
Location | location | The coordinates of the city. | Unknown | optional |
Caption | caption-image1 | Caption for images in the textbox | Unknown | optional |
Date Founded (IRL) | date_founded_IRL | Put the date of the city's founding in OORP time here. | Unknown | optional |
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. | Unknown | optional |
City Photo 2 | image2 | Second photo of the city. Remember to add .jpg and .png as well. | Unknown | optional |