Template:Infobox:Character: 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: {{{character_name|}}} | | style="display: none;" }} ! scope="col" colspan="2" style="width: 250px; text-align: center; background-color: {{{hexcode|#f0f0f0}}}; font-size: 125%;" | {{{character_name}}} |- {{#if: {{{character_image|}}} | | style="display: none;" }} | colspan="2" style="te...")
 
mNo edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 5: Line 5:
|- {{#if: {{{character_image|}}} | | style="display: none;" }}
|- {{#if: {{{character_image|}}} | | style="display: none;" }}
| colspan="2" style="text-align: center;" |[[file:{{{character_image|}}}|240px]] {{{caption-character_image|}}}
| colspan="2" style="text-align: center;" |[[file:{{{character_image|}}}|240px]] {{{caption-character_image|}}}
|- {{#if: {{{character_image|}}} | | style="display: none;" }}
| colspan="2" style="background-color: {{{hexcode|#f0f0f0}}};"|
|- {{#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 20: 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 25: Line 42:
|}
|}
</onlyinclude>
</onlyinclude>
{{Infobox:Character 2
| character_name = Tristram Whitestrake
| character_image = tristram.png
| culture = Arannese
| race = Human
| nationality = Aranna
| titles = Royal Advisor, Archivist
| age = 40
| player = nex23
| hexcode = #fea223
}}


<noinclude>
<noinclude>
Line 58: 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",
            "suggested": true
        },
        "gender": {
            "label": "Gender",
            "description": "The race of the character.",
             "type": "string",
             "type": "string",
             "suggested": true
             "suggested": true
Line 64: 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 82: 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 95: 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"
         }
         }

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