Template:Infobox Character: Difference between revisions

From aquila
Jump to navigation Jump to search
No edit summary
m Protected "Template:Infobox Character" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| class="wikitable" style="float:right; width:300px; margin-left:1em;"
<includeonly>
|+ {{{title|{{PAGENAME}}}}}
{| class="character-infobox" style="--infobox-color: {{{color|#555}}}; --infobox-text: {{{textcolor|white}}};"
|+ class="character-infobox-title" | {{{title|{{PAGENAME}}}}}
|-
|-
! Image
| colspan="2" class="character-infobox-image" |
| [[File:{{{image|No image.png}}}|250px]]
[[File:{{{image|No image.png}}}|250px]]
|-
|-
! Religion
! Religion
| {{{Religion|Unknown}}}
| {{{religion|Unknown}}}
|-
|-
! Gender
! Gender
| {{{Gender|Unknown}}}
| {{{gender|Unknown}}}
|-
|-
! Ethnicity
! Ethnicity
| {{{Ethnicity|Unknown}}}
| {{{ethnicity|Unknown}}}
|-
|-
! Title(s)
! Title(s)
| {{{status|Unknown}}}
| {{{titles|Unknown}}}
|-
|-
! Age
! Age
| {{{Age|Unknown}}}
| {{{age|Unknown}}}
|-
! Nation
| {{{Nation|Unknown}}}
|-
! Status
| {{{status|Unknown}}}
|-
|-
! Player
! Player
| {{{Player|Unknown}}}
| {{{player|Unknown}}}
|}
|}
</includeonly>


<noinclude>
<noinclude>
== Infobox Character ==
This template displays information about a character.
The appearance of the infobox can be customised using the <code>color</code> and <code>textcolor</code> parameters.
== Usage ==
Copy and paste:
<pre>
{{Infobox Character
| title =
| image =
| color =
| textcolor =
| religion =
| gender =
| ethnicity =
| titles =
| age =
| status =
| player =
}}
</pre>
== Example ==
{{Infobox Character
| title = XQILL275
| image = Screenshot_2026-06-29_231702.png
| color = #8B0000
| textcolor = white
| religion = The Old Faith
| gender = Female
| ethnicity = Human
| titles = Pog
| age = 9
| Nation = fuck
| status = Alive
| player = Xqill
}}
== Parameters ==
{| class="wikitable"
! Parameter !! Description !! Example
|-
| title || Character name displayed at the top || Arlen Voss
|-
| image || Character image filename || Arlen.png
|-
| color || Header and border colour || #8B0000
|-
| textcolor || Header text colour || white
|-
| religion || Character's religion || The Old Faith
|-
| gender || Character's gender || Male
|-
| ethnicity || Character's species/ethnicity || Human
|-
| titles || Character titles or ranks || Knight Commander
|-
| age || Character age || 34
|-
| Nation || Link to the Nation they are a part of or None || None
|-
| status || Whether the character is alive, deceased, missing, etc. || Alive
|-
| player || Player controlling the character || John
|}
== TemplateData ==
<templatedata>
<templatedata>
{
{
    "description": "Displays a character infobox.",
"params": {
    "params": {
"title": {
        "image": {
"label": "Title",
            "label": "Image",
"description": "Character name displayed at the top of the infobox.",
            "description": "Image filename",
"type": "string"
            "type": "wiki-file-name"
},
        },
"image": {
        "Religion": {
"label": "Image",
            "label": "Religion",
"description": "Character image filename.",
            "type": "string"
"type": "wiki-file-name"
        },
},
        "Gender": {
"color": {
            "label": "Gender",
"label": "Infobox colour",
            "type": "string"
"description": "Colour of the header and border.",
        },
"type": "string",
        "Ethnicity": {
"default": "#555"
            "label": "Ethnicity",
},
            "type": "string"
"textcolor": {
        },
"label": "Header text colour",
        "Title(s)": {
"description": "Colour of the title text.",
            "label": "Title(s)",
"type": "string",
            "type": "string"
"default": "white"
        },
},
        "Age": {
"religion": {
            "label": "Age",
"label": "Religion",
            "type": "number"
"description": "Character's religion.",
        },
"type": "string",
        "Player": {
"default": "Unknown"
            "label": "Player",
},
            "type": "string"
"gender": {
        }
"label": "Gender",
    }
"description": "Character's gender.",
"type": "string",
"default": "Unknown"
},
"ethnicity": {
"label": "Ethnicity",
"description": "Character's ethnicity or species.",
"type": "string",
"default": "Unknown"
},
"titles": {
"label": "Titles",
"description": "Character titles, ranks, or roles.",
"type": "string",
"default": "Unknown"
},
"age": {
"label": "Age",
"description": "Character's age.",
"type": "string",
"default": "Unknown"
},
"Nation": {
"label": "Nation",
"description": "Link to the Nation they are a part of or None",
"type": "string",
"default": "None"
},
"status": {
"label": "Status",
"description": "Whether the character is alive, deceased, missing, etc.",
"type": "string",
"default": "Unknown"
},
"player": {
"label": "Player",
"description": "Person controlling the character.",
"type": "string",
"default": "Unknown"
}
},
"description": "An infobox for character information.",
"paramOrder": [
"title",
"image",
"color",
"textcolor",
"religion",
"gender",
"ethnicity",
"titles",
"age",
        "Nation",
"status",
"player"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 18:05, 25 July 2026



Infobox Character

This template displays information about a character.

The appearance of the infobox can be customised using the color and textcolor parameters.

Usage

Copy and paste:

{{Infobox Character
| title =
| image =
| color =
| textcolor =
| religion =
| gender =
| ethnicity =
| titles =
| age =
| status =
| player =
}}

Example

XQILL275

Religion The Old Faith
Gender Female
Ethnicity Human
Title(s) Pog
Age 9
Nation fuck
Status Alive
Player Xqill



Parameters

Parameter Description Example
title Character name displayed at the top Arlen Voss
image Character image filename Arlen.png
color Header and border colour #8B0000
textcolor Header text colour white
religion Character's religion The Old Faith
gender Character's gender Male
ethnicity Character's species/ethnicity Human
titles Character titles or ranks Knight Commander
age Character age 34
Nation Link to the Nation they are a part of or None None
status Whether the character is alive, deceased, missing, etc. Alive
player Player controlling the character John

TemplateData

An infobox for character information.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Titletitle

Character name displayed at the top of the infobox.

Stringoptional
Imageimage

Character image filename.

Fileoptional
Infobox colourcolor

Colour of the header and border.

Default
#555
Stringoptional
Header text colourtextcolor

Colour of the title text.

Default
white
Stringoptional
Religionreligion

Character's religion.

Default
Unknown
Stringoptional
Gendergender

Character's gender.

Default
Unknown
Stringoptional
Ethnicityethnicity

Character's ethnicity or species.

Default
Unknown
Stringoptional
Titlestitles

Character titles, ranks, or roles.

Default
Unknown
Stringoptional
Ageage

Character's age.

Default
Unknown
Stringoptional
NationNation

Link to the Nation they are a part of or None

Default
None
Stringoptional
Statusstatus

Whether the character is alive, deceased, missing, etc.

Default
Unknown
Stringoptional
Playerplayer

Person controlling the character.

Default
Unknown
Stringoptional