Template:Race: Difference between revisions

From CinderCivs Wiki
Jump to navigation Jump to search
(Created page with "<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;" |- {{#if: {{{race_name|}}} | | style="display: none;" }}. ! scope="col" colspan="2" style="width: 250px; text-align: center; background-color: {{{hexcode}}}; font-size:125%" | {{{race_name|}}} |- {{#if: {{{image1|}}} | | style="display: none;" }} | colspan="2" style="text-align: center;" |file:...")
 
No edit summary
 
Line 2: Line 2:
{| 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: {{{race_name|}}} | | style="display: none;" }}.
|- {{#if: {{{race_name|}}} | | style="display: none;" }}.
! scope="col" colspan="2" style="width: 250px; text-align: center; background-color: {{{hexcode}}}; font-size:125%" | {{{race_name|}}}
! scope="col" colspan="2" style="width: 250px; text-align: center; background-color: {{{background_color|white}}}; font-size:125%" | {{{race_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; padding-bottom: 5px;" |[[file:{{{image1|}}}|240px]] {{{caption-image1|}}}
|- {{#if: {{{capital|}}} | | style="display: none;" }}
|-
! '''Capital'''
| colspan="2" style="border-top: 1px solid gray; padding-top: 5px;" | <!-- Divider -->
| {{{capital}}}
|- {{#if: {{{population|}}} | | style="display: none;" }}
! '''Population'''
| {{{population}}}
|- {{#if: {{{culture|}}} | | style="display: none;" }}
|- {{#if: {{{culture|}}} | | style="display: none;" }}
! '''Culture'''
! '''Culture'''
Line 14: Line 16:
! '''Location'''
! '''Location'''
| {{{location}}}
| {{{location}}}
|- {{#if: {{{form_of_government|}}} | | style="display: none;" }}
|- {{#if: {{{origin|}}} | | style="display: none;" }}
! '''Government'''
! '''Place of Origin'''
| {{{form_of_government}}}
| {{{origin}}}
|- {{#if: {{{leader_name|}}} | | style="display: none;" }}
|- {{#if: {{{notable_members|}}} | | style="display: none;" }}
! '''Leader'''
! '''Notable Members'''
| {{{leader_name}}}
| {{{notable_members}}}
|- {{#if: {{{religion|}}} | | style="display: none;" }}
|- {{#if: {{{religion|}}} | | style="display: none;" }}
! '''Religion'''
! '''Religion'''
| {{{religion}}}
| {{{religion}}}
|- {{#if: {{{constitution|}}} | | style="display: none;" }}
! '''Legislature'''
| {{{constitution}}}
|- {{#if: {{{founding_date_irl|}}} | | style="display: none;" }}
! '''Date of Founding (IRL)'''
| {{{founding_date_irl}}}
|- {{#if: {{{founding_date_lore|}}} | | style="display: none;" }}
! '''Date of Founding (LORE)'''
| {{{founding_date_lore}}}
|}
|}
</onlyinclude>
</onlyinclude>
Line 86: Line 79:
             "label": "Image",
             "label": "Image",
             "description": "Image of the species. Please use the correct case-sensitive filename and don't forget the file extension (.png or .jpg).",
             "description": "Image of the species. Please use the correct case-sensitive filename and don't forget the file extension (.png or .jpg).",
            "type": "string",
            "suggested": true
        },
        "background_color": {
            "label": "Background color",
            "description": "Hexcode for the color of the bar where the name of the race is located.",
             "type": "string",
             "type": "string",
             "suggested": true
             "suggested": true
Line 93: Line 92:
</templatedata>
</templatedata>
</noinclude>
</noinclude>
{{Race|race_name=gamers|image1=gaming.png|population=millions|culture=gaming|location=gamersville|origin=gamertown|notable_members=john gaming|religion=gaming|background_color=#00ff00}}

Latest revision as of 05:42, 29 May 2024

[[file:|240px]]
Population {{{population}}}
Culture {{{culture}}}
Location {{{location}}}
Place of Origin {{{origin}}}
Notable Members {{{notable_members}}}
Religion {{{religion}}}



Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namerace_name

Name of the species.

Stringrequired
Populationpopulation

The total population of the species.

Stringsuggested
Cultureculture

The cultures of the species' members.

Stringsuggested
Locationlocation

Location(s) where this species is situated.

Stringsuggested
Place of originorigin

Location(s) where this species originated.

Stringsuggested
Notable membersnotable_members

Notable members of this species.

Stringsuggested
religionreligion

The main religion(s) of this species' members.

Stringsuggested
Imageimage1

Image of the species. Please use the correct case-sensitive filename and don't forget the file extension (.png or .jpg).

Stringsuggested
Background colorbackground_color

Hexcode for the color of the bar where the name of the race is located.

Stringsuggested


gamers
Population millions
Culture gaming
Location gamersville
Place of Origin gamertown
Notable Members john gaming
Religion gaming