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: 1px 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: {{{name|}}} | | style="display: none;" }}
|- {{#if: {{{nation_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; background-color: {{{hexcode}}}; font-size:125%" | {{{nation_name|}}}
|-
|-  
|- {{#if: {{{native_name|}}} | | style="display: none;" }}
|- style="text-align: center;"
! scope="col" colspan="2" style="width: 250px; background-color: #f0f0f0; font-size:125%" | {{{nation_name|}}}
|- {{#if: {{{image1|}}} | | style="display: none;" }}
| colspan="2" |[[file:{{{image1|}}}|240px]] {{{caption-image1|}}}.
|-
|- {{#if: {{{capital|}}} | | style="display: none;" }}
! '''Capital'''
| {{{capital}}}
|- style="text-align: left;"
|- {{#if: {{{location|}}} | | style="display: none;" }}|- {{#if: {{{culture|}}} | | style="display: none;" }}
! '''Culture'''
| {{{culture}}}
|- style="text-align: left;"
|- {{#if: {{{location|}}} | | style="display: none;" }}
! '''Location'''
| {{{location}}}
|- style="text-align: left;"
|- {{#if: {{{form_of_government|}}} | | style="display: none;" }}
! '''Government'''
| {{{form_of_government}}}
|- style="text-align: left;"
|- {{#if: {{{leader_name|}}} | | style="display: none;" }}
! '''Leader'''
| {{{leader_name}}}
|- {{#if: {{{religion|}}} | | style="display: none;" }}
! '''Religion'''
| {{{religion}}}
|- style="text-align: left;"
|- {{#if: {{{constitution|}}} | | style="display: none;" }}
! '''Legislature'''
| {{{constitution}}}
|}
|}
</onlyinclude>
</onlyinclude>


<noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
"params": {
    "description": "",
"name": {
    "params": {
"label": "Station Name",
        "nation_name": {
"description": "used for the station name in English",
            "label": "Name",
"type": "string",
            "description": "Full name of the nation.",
"required": true
            "type": "string",
},
            "required": true
"native_name": {
        },
"label": "Native Name",
        "population": {
"description": "name of the station in national language",
            "label": "Population",
"type": "string",
            "description": "The total population of the nation.",
"suggested": true
            "type": "string",
},
            "suggested": true
"station_image": {
        },
"label": "Station Photo",
        "culture": {
"description": "screenshot of the station",
            "label": "Culture",
"type": "string",
            "description": "The cultures of the nation.",
"required": true
            "type": "string",
},
            "suggested": true
"caption": {
        },
"label": "Caption",
        "location": {
"description": "caption of the image",
            "label": "Location",
"type": "string",
            "description": "Location where the nation is primarily situated.",
"suggested": true
            "type": "string",
},
            "suggested": true
"country": {
        },
"label": "Country",
        "form_of_government": {
"description": "country where the station is located",
            "label": "Government Form",
"type": "string",
            "description": "The form of government of the nation.",
"required": true
            "type": "string",
}
            "suggested": true
},
        },
"description": "used for railway stations on cinder!",
        "leader_name": {
"paramOrder": [
            "label": "Leader",
"name",
            "description": "The nation leader's full name and title.",
"native_name",
            "type": "string",
"station_image",
            "suggested": true
"caption",
        },
"country"
        "religion": {
]
            "label": "religion",
            "description": "The primary or state religion of the nation. If no state religion exists, put Secular.",
            "type": "string",
            "suggested": true
        },
        "constitution": {
            "label": "Legislature",
            "description": "The nation's primary code of law.",
            "type": "string",
            "suggested": true
        },
        "image1": {
            "label": "Flag",
            "description": "The nation's flag image. Please use the correct case-sensitive filename and don't forget the file extension (.png or .jpg).",
            "type": "string",
            "suggested": true
        },
        "hexcode": {
            "label": "Hexcode",
            "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"
        },
        "capital": {
            "label": "Capital",
            "description": "The capital city of the nation.",
            "type": "string",
            "suggested": true
        }
    }
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 13:43, 27 May 2024

[[file:|240px]] .
Capital {{{capital}}}
Culture {{{culture}}}
Location {{{location}}}
Government {{{form_of_government}}}
Leader {{{leader_name}}}
Religion {{{religion}}}
Legislature {{{constitution}}}



Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namenation_name

Full name of the nation.

Stringrequired
Populationpopulation

The total population of the nation.

Stringsuggested
Cultureculture

The cultures of the nation.

Stringsuggested
Locationlocation

Location where the nation is primarily situated.

Stringsuggested
Government Formform_of_government

The form of government of the nation.

Stringsuggested
Leaderleader_name

The nation leader's full name and title.

Stringsuggested
religionreligion

The primary or state religion of the nation. If no state religion exists, put Secular.

Stringsuggested
Legislatureconstitution

The nation's primary code of law.

Stringsuggested
Flagimage1

The nation's flag image. Please use the correct case-sensitive filename and don't forget the file extension (.png or .jpg).

Stringsuggested
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
Capitalcapital

The capital city of the nation.

Stringsuggested