Template:Infobox Railway Station: Difference between revisions

From CinderCivs Wiki
Jump to navigation Jump to search
No edit summary
m (different shade of gray)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
{| style="float: right; margin: 0 0 0 0.5em; text-align: center; background-color: light-gray; font-size: 85%; border: 1px 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: {{{name|}}} | | style="display: none;" }}
|- {{#if: {{{station_name|}}} | | style="display: none;" }}
! scope="col" colspan="2" style="width: 250px; background-color: #f0f0f0; font-size:125%" | {{{nation_name|}}}
! scope="col" colspan="2" style="width: 250px; text-align: center; background-color: {{{hexcode}}}; font-size:125%" | {{{station_name|}}}
|-
|- {{#if: {{{image1|}}} | | style="display: none;" }}
|- {{#if: {{{native_name|}}} | | style="display: none;" }}
| colspan="2" style="text-align: center;" |[[file:{{{image1|}}}|240px]] {{{caption-image1|}}}.
! scope="col" colspan="2" style="width: 250px; background-color: #f0f0f0; font-size:125%" | {{{nation_name|}}}
|- {{#if: {{{gen_info|}}} | | style="display: none;" }}.
! scope="col" colspan="2" style="text-align: center; width: 250px; background-color: #e6e6e6; font-size:105%" | {{{gen_info|}}}
|- {{#if: {{{location|}}} | | style="display: none;" }}
! '''Location'''
| {{{location}}}
|- {{#if: {{{operator|}}} | | style="display: none;" }}
! '''Operated by'''
| {{{operator}}}
|- {{#if: {{{lines|}}} | | style="display: none;" }}
! '''Line(s)'''
| {{{lines}}}
|- {{#if: {{{platforms|}}} | | style="display: none;" }}
! '''Platforms'''
| {{{platforms}}}
|- {{#if: {{{other_info|}}} | | style="display: none;" }}.
! scope="col" colspan="2" style="text-align: center; width: 250px; background-color: #e6e6e6; font-size:105%" | {{{other_info|}}}
|- {{#if: {{{date_opened_IRL|}}} | | style="display: none;" }}
! '''Opened (IRL)'''
| {{{date_opened_IRL}}}
|- {{#if: {{{date_opened_LORE|}}} | | style="display: none;" }}
! '''Opened (Lore)'''
| {{{date_opened_LORE}}}
|}
|}
</onlyinclude>
</onlyinclude>


<noinclude>
<noinclude>
Line 13: Line 35:
{
{
"params": {
"params": {
"name": {
"image1": {
"label": "Station Name",
"label": "photo of the station",
"description": "used for the station name in English",
"description": "Station 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
},
},
"native_name": {
"hexcode": {
"label": "Native Name",
"label": "Hexcode",
"description": "name of the station in national language",
"description": "The hexcode for the bar where your nation name is written keep at default or write your whole hexcode. Example: #fbca69.",
"type": "string",
"required": true,
"default": "#f0f0f0"
},
"station_name": {
"label": "Name",
"description": "Full Station Name",
"type": "string",
"required": true
},
"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",
"type": "string",
"suggested": true
"suggested": true
},
},
"station_image": {
"operator": {
"label": "Station Photo",
"label": "Operated by",
"description": "screenshot of the station",
"description": "Name of the company that operates the train station. Can also just state the country.",
"type": "string",
"type": "string",
"required": true
"suggested": true
},
"lines": {
"label": "Lines",
"description": "The railway lines that serve the station.",
"type": "string",
"suggested": true
},
},
"caption": {
"platforms": {
"label": "Caption",
"label": "Platforms",
"description": "caption of the image",
"description": "The # of platforms on the station. (Island/side/end, if similar design to southrail)",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
},
"country": {
"gen_info": {
"label": "Country",
"label": "General Information",
"description": "country where the station is located",
"description": "Just put \"General Information\".",
"type": "string",
"type": "string",
"required": true
"required": true
},
"caption-image1": {},
"other_info": {
"label": "Other Information",
"description": "Just put \"Other Information\""
},
"date_opened_IRL": {
"label": "Date Opened (IRL)",
"description": "Put the date of the station's opening in OORP time here."
},
"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."
}
}
},
},
"description": "used for railway stations on cinder!",
"paramOrder": [
"paramOrder": [
"name",
"station_name",
"native_name",
"operator",
"station_image",
"lines",
"caption",
"platforms",
"country"
"gen_info",
"image1",
"hexcode",
"location",
"colour_1",
"other_info",
"caption-image1",
"date_opened_IRL",
"date_opened_LORE"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 15:31, 27 May 2024

[[file:|240px]] .
Location {{{location}}}
Operated by {{{operator}}}
Line(s) {{{lines}}}
Platforms {{{platforms}}}
Opened (IRL) {{{date_opened_IRL}}}
Opened (Lore) {{{date_opened_LORE}}}



No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namestation_name

Full Station Name

Stringrequired
Operated byoperator

Name of the company that operates the train station. Can also just state the country.

Stringsuggested
Lineslines

The railway lines that serve the station.

Stringsuggested
Platformsplatforms

The # of platforms on the station. (Island/side/end, if similar design to southrail)

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
caption-image1caption-image1

no description

Unknownoptional
Date Opened (IRL)date_opened_IRL

Put the date of the station's opening 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