Template:Infobox:Character: Difference between revisions

From CinderCivs Wiki
Jump to navigation Jump to search
No edit summary
(Added ethnicity, birth, and death)
Line 7: Line 7:
|- {{#if: {{{character_image|}}} | | style="display: none;" }}
|- {{#if: {{{character_image|}}} | | style="display: none;" }}
| colspan="2" style="background-color: {{{hexcode|#f0f0f0}}};"|
| colspan="2" style="background-color: {{{hexcode|#f0f0f0}}};"|
|- {{#if: {{{culture|}}} | | style="display: none;" }}
! '''Culture'''
| {{{culture}}}
|- {{#if: {{{gender|}}} | | style="display: none;" }}
|- {{#if: {{{gender|}}} | | style="display: none;" }}
! '''Gender'''
! '''Gender'''
| {{{gender}}}
| {{{gender}}}
|- {{#if: {{{culture|}}} | | style="display: none;" }}
! '''Culture'''
| {{{culture}}}
|- {{#if: {{{race|}}} | | style="display: none;" }}
|- {{#if: {{{race|}}} | | style="display: none;" }}
! '''Race'''
! '''Race'''
| {{{race}}}
| {{{race}}}
|- {{#if: {{{ethnicity|}}} | | style="display: none;" }}
! '''Ethnicity'''
| {{{ethnicity}}}
|- {{#if: {{{nationality|}}} | | style="display: none;" }}
|- {{#if: {{{nationality|}}} | | style="display: none;" }}
! '''Nationality'''
! '''Nationality'''
Line 25: Line 28:
! '''Age'''
! '''Age'''
| {{{age}}}
| {{{age}}}
|- {{#if: {{{birth|}}} | | style="display: none;" }}
! '''Birth'''
| {{{birth}}}
|- {{#if: {{{death|}}} | | style="display: none;" }}
! '''Death'''
| {{{death}}}
|- {{#if: {{{player|}}} | | style="display: none;" }}
|- {{#if: {{{player|}}} | | style="display: none;" }}
! '''Player'''
! '''Player'''
Line 56: Line 65:
         "gender": {
         "gender": {
             "label": "Gender",
             "label": "Gender",
             "description": "The gender of the character.",
             "description": "The race of the character.",
             "type": "string",
             "type": "string",
             "suggested": true
             "suggested": true
Line 63: Line 72:
             "label": "Race",
             "label": "Race",
             "description": "The race of the character.",
             "description": "The race of the character.",
            "type": "string",
            "suggested": true
        },
        "ethnicity": {
            "label": "Ethnicity",
            "description": "The ethnicity of the character.",
             "type": "string",
             "type": "string",
             "suggested": true
             "suggested": true
Line 81: Line 96:
             "label": "Age",
             "label": "Age",
             "description": "The age of the character.",
             "description": "The age of the character.",
            "type": "string",
            "suggested": true
        },
        "birth": {
            "label": "Birth",
            "description": "Details relating to the birth of the character.",
            "type": "string",
            "suggested": true
        },
        "death": {
            "label": "Death",
            "description": "Details relating to the death of the character.",
             "type": "string",
             "type": "string",
             "suggested": true
             "suggested": true
Line 101: Line 128:
</templatedata>
</templatedata>
</noinclude>
</noinclude>
{{Infobox:Character
| character_name = Tristram Whitestrake
| character_image = tristram.png
| culture = Arannese
| race = Human
| nationality = Aranna
| titles = Royal Advisor, Archivist
| age = 40
| player = nex23
| hexcode = #fea223
}}

Revision as of 15:24, 27 May 2024

{{{character_name}}}
[[file:|240px]]
Culture {{{culture}}}
Gender {{{gender}}}
Race {{{race}}}
Ethnicity {{{ethnicity}}}
Nationality {{{nationality}}}
Title(s) {{{titles}}}
Age {{{age}}}
Birth {{{birth}}}
Death {{{death}}}
Player {{{player}}}


Infobox template for characters.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Character Namecharacter_name

Full name of the character.

Stringrequired
Character Imagecharacter_image

Image of the character. Use the correct case-sensitive filename and file extension (.png or .jpg).

Stringsuggested
Cultureculture

The culture the character belongs to.

Stringsuggested
Gendergender

The race of the character.

Stringsuggested
Racerace

The race of the character.

Stringsuggested
Ethnicityethnicity

The ethnicity of the character.

Stringsuggested
Nationalitynationality

The nationality of the character.

Stringsuggested
Titlestitles

The title(s) held by the character.

Stringsuggested
Ageage

The age of the character.

Stringsuggested
Birthbirth

Details relating to the birth of the character.

Stringsuggested
Deathdeath

Details relating to the death of the character.

Stringsuggested
Playerplayer

The player controlling the character.

Stringsuggested
Hexcodehexcode

The hexcode for the bar where the character name is written. Example: #fbca69.

Default
#f0f0f0
Stringsuggested