Template:Infobox Railway Station: Difference between revisions

From CinderCivs Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
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: 2px solid gray; padding: 0.2em; width: 250px;"
{| style="float: right; margin: 0 0 0 0.5em; text-align: center; background-color: light-gray; font-size: 85%; border: 2px solid gray; padding: 0.2em; width: 250px;"
|- {{#if: {{{nation_name|}}} | | style="display: none;" }}
|- {{#if: {{{station_name|}}} | | style="display: none;" }}
! scope="col" colspan="2" style="width: 250px; background-color: {{{hexcode}}}; font-size:125%" | {{{nation_name|}}}
! scope="col" colspan="2" style="width: 250px; background-color: {{{#B7C5CC}}}; font-size:125%" | {{{station_name|}}}
|-
|- style="text-align: center;"
|- {{#if: {{{colour_1|}}} | | style="display: none;" }}
! scope="col" colspan="2" style="width: 250px; background-color: {{{hexcode}}}; font-size:20%"
|-  
|-  
|- style="text-align: center;"
|- style="text-align: center;"
|- {{#if: {{{image1|}}} | | style="display: none;" }}
|- {{#if: {{{image1|}}} | | style="display: none;" }}
| colspan="2" |[[file:{{{image1|}}}|240px]] {{{caption-image1|}}}.
| colspan="2" |[[file:{{{image1|}}}|240px]] {{{caption-image1|}}}.
||- {{#if: {{{gen_info|}}} | | style="display: none;" }}.
! scope="col" colspan="2" style="width: 250px; background-color: {{{hexcode}}}; font-size:105%" | {{{gen_info|}}}
|-  
|-  
|- {{#if: {{{capital|}}} | | style="display: none;" }}
|- style="text-align: center;"
! '''Capital'''
|- {{#if: {{{city|}}} | | style="display: none;" }}
| {{{capital}}}
! '''Location'''
| {{{city}}}
|- style="text-align: left;"
|- style="text-align: left;"
|- {{#if: {{{location|}}} | | style="display: none;" }}|- {{#if: {{{culture|}}} | | style="display: none;" }}
|- {{#if: {{{operator|}}} | | style="display: none;" }}
! '''Culture'''
! '''Operated by'''
| {{{culture}}}
| {{{operator}}}
|- style="text-align: left;"
|- style="text-align: left;"
|- {{#if: {{{location|}}} | | style="display: none;" }}
|- {{#if: {{{lines|}}} | | style="display: none;" }}
! '''Location'''
! '''Line(s)'''
| {{{location}}}
| {{{lines}}}
|- style="text-align: left;"
|- style="text-align: left;"
|- {{#if: {{{form_of_government|}}} | | style="display: none;" }}
|- {{#if: {{{platforms|}}} | | style="display: none;" }}
! '''Government'''
! '''Platforms'''
| {{{form_of_government}}}
| {{{Platforms}}}
|- style="text-align: left;"
||- {{#if: {{{other_info|}}} | | style="display: none;" }}.
|- {{#if: {{{leader_name|}}} | | style="display: none;" }}
! scope="col" colspan="2" style="width: 250px; background-color: {{{hexcode}}}; font-size:105%" | {{{other_info|}}}
! '''Leader'''
|-
| {{{leader_name}}}
|- style="text-align: center;"
|- {{#if: {{{religion|}}} | | style="display: none;" }}
|- {{#if: {{{date_opened_IRL|}}} | | style="display: none;" }}
! '''Religion'''
! '''Opened (IRL)'''
| {{{religion}}}
| {{{date_opened_IRL}}}
|- style="text-align: left;"
|- style="text-align: left;"
|- {{#if: {{{constitution|}}} | | style="display: none;" }}
|- {{#if: {{{date_opened_LORE|}}} | | style="display: none;" }}
! '''Legislature'''
! '''Opened (Lore)'''
| {{{constitution}}}
| {{{date_opened_LORE}}}
|}
|}
</onlyinclude>
</onlyinclude>
Line 41: Line 48:
<templatedata>
<templatedata>
{
{
    "description": "",
"params": {
    "params": {
"image1": {
        "nation_name": {
"label": "photo of the station",
            "label": "Name",
"description": "Station photo. Please use the correct case-sensitive filename and don't forget the file extension (.png or .jpg).",
            "description": "Full name of the nation.",
"type": "string",
            "type": "string",
"required": true
            "required": true
},
        },
"hexcode": {
        "population": {
"label": "Hexcode",
            "label": "Population",
"description": "The hexcode for the bar where your nation name is written keep at default or write your whole hexcode. Example: #fbca69.",
            "description": "The total population of the nation.",
"type": "string",
            "type": "string",
"required": true,
            "suggested": true
"default": "#f0f0f0"
        },
},
        "culture": {
"station_name": {
            "label": "Culture",
"label": "Name",
            "description": "The cultures of the nation.",
"description": "Full Station Name",
            "type": "string",
"type": "string",
            "suggested": true
"required": true
        },
},
        "location": {
"colour_1": {
            "label": "Location",
"label": "Colour 1",
            "description": "Location where the nation is primarily situated.",
"description": "Do NOT add any text here. this will be for whatever hexcode you wish to add for the station.",
            "type": "string",
"type": "string",
            "suggested": true
"suggested": true
        },
},
        "form_of_government": {
"city": {
            "label": "Government Form",
"label": "Location",
            "description": "The form of government of the nation.",
"description": "Location of the station. State the city name.",
            "type": "string",
"type": "string",
            "suggested": true
"suggested": true
        },
},
        "leader_name": {
"operator": {
            "label": "Leader",
"label": "Operated by",
            "description": "The nation leader's full name and title.",
"description": "Name of the company that operates the train station. Can also just state the country.",
            "type": "string",
"type": "string",
            "suggested": true
"suggested": true
        },
},
        "religion": {
"lines": {
            "label": "religion",
"label": "Lines",
            "description": "The primary or state religion of the nation. If no state religion exists, put Secular.",
"description": "The railway lines that serve the station.",
            "type": "string",
"type": "string",
            "suggested": true
"suggested": true
        },
},
        "constitution": {
"platforms": {
            "label": "Legislature",
"label": "Platforms",
            "description": "The nation's primary code of law.",
"description": "The # of platforms on the station. (Island/side/end, if similar design to southrail)",
            "type": "string",
"type": "string",
            "suggested": true
"suggested": true
        },
},
        "image1": {
"gen_info": {
            "label": "Flag",
"label": "General Information",
            "description": "The nation's flag image. Please use the correct case-sensitive filename and don't forget the file extension (.png or .jpg).",
"description": "Just put \"General Information\".",
            "type": "string",
"type": "string",
            "suggested": true
"required": true
        },
},
        "hexcode": {
"caption-image1": {},
            "label": "Hexcode",
"other_info": {
            "description": "The hexcode for the bar where your nation name is written keep at default or write your whole hexcode. Example: #fbca69.",
"label": "Other Information",
            "type": "string",
"description": "Just put \"Other Information\""
            "required": true,
},
            "default": "#f0f0f0"
"date_opened_IRL": {
        },
"label": "Date Opened (IRL)",
        "capital": {
"description": "Put the date of the station's opening in OORP time here."
            "label": "Capital",
},
            "description": "The capital city of the nation.",
"date_opened_LORE": {
            "type": "string",
"label": "Date Opened (Lore)",
            "suggested": true
"description": "Put the date of opening, but using the in-universe calendar as found in #rp-discussion on the Discord."
        }
}
    }
},
"paramOrder": [
"station_name",
"operator",
"lines",
"platforms",
"gen_info",
"image1",
"hexcode",
"city",
"colour_1",
"other_info",
"caption-image1",
"date_opened_IRL",
"date_opened_LORE"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 13:49, 27 May 2024

scope="col" colspan="2" style="width: 250px; background-color: {{{hexcode}}}; font-size:20%"
[[file:|240px]] . - style="display: none;".
Location {{{city}}}
Operated by {{{operator}}}
Line(s) {{{lines}}}
Platforms {{{Platforms}}} - style="display: none;".
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
Locationcity

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