Template:Infobox:Character: Difference between revisions

From CinderCivs Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
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: {{{gender|}}} | | style="display: none;" }}
! '''Gender'''
| {{{culture}}}
|- {{#if: {{{culture|}}} | | style="display: none;" }}
|- {{#if: {{{culture|}}} | | style="display: none;" }}
! '''Culture'''
! '''Culture'''
| {{{culture}}}
| {{{culture}}}
|- {{#if: {{{religion|}}} | | style="display: none;" }}
! '''Religion'''
| {{{religion}}}
|- {{#if: {{{gender|}}} | | style="display: none;" }}
! '''Gender'''
| {{{gender}}}
|- {{#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 31:
! '''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 51: Line 63:
             "label": "Culture",
             "label": "Culture",
             "description": "The culture the character belongs to.",
             "description": "The culture the character belongs to.",
            "type": "string",
            "suggested": true
        },
        "religion": {
            "label": "Religion",
            "description": "The Religion the character belongs to.",
             "type": "string",
             "type": "string",
             "suggested": true
             "suggested": true
Line 56: Line 74:
         "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 81:
             "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 105:
             "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 94: Line 130:
             "description": "The hexcode for the bar where the character name is written. Example: #fbca69.",
             "description": "The hexcode for the bar where the character name is written. Example: #fbca69.",
             "type": "string",
             "type": "string",
             "suggested": true,
             "required": true,
             "default": "#f0f0f0"
             "default": "#f0f0f0"
         }
         }
Line 101: Line 137:
</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
}}

Latest revision as of 15:36, 27 May 2024

{{{character_name}}}
[[file:|240px]]
Culture {{{culture}}}
Religion {{{religion}}}
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
Religionreligion

The Religion 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
Stringrequired