Template:Infobox Character: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tags: Manual revert Reverted |
No edit summary Tag: Manual revert |
||
| Line 1: | Line 1: | ||
<includeonly>{| style=" | <includeonly> | ||
{| class="character-infobox" style="--infobox-color: {{{color|#555}}}; --infobox-text: {{{textcolor|white}}};" | |||
|+ class="character-infobox-title" | {{{title|{{PAGENAME}}}}} | |||
|- | |- | ||
| colspan="2" class="character-infobox-image" | | |||
[[File:{{{image|No image.png}}}|250px]] | |||
|- | |- | ||
! Religion | |||
| {{{religion|Unknown}}} | |||
| | |||
|- | |- | ||
! Gender | |||
| {{{gender|Unknown}}} | |||
! | |||
| {{{ | |||
|- | |- | ||
! | ! Ethnicity | ||
| {{{ethnicity|Unknown}}} | |||
| {{{ | |||
|- | |- | ||
! | ! Title(s) | ||
| {{{titles|Unknown}}} | |||
| {{{ | |||
|- | |- | ||
! | ! Age | ||
| {{{age|Unknown}}} | |||
| {{{ | |||
|- | |- | ||
! | ! Nation | ||
| {{{Nation|Unknown}}} | |||
|- | |- | ||
! | ! Status | ||
| {{{status|Unknown}}} | |||
| {{{ | |||
|- | |- | ||
! | ! Player | ||
| {{{player|Unknown}}} | |||
| {{{ | |} | ||
| | </includeonly> | ||
<noinclude> | |||
== Infobox Character == | == Infobox Character == | ||
| Line 69: | Line 38: | ||
This template displays information about a character. | This template displays information about a character. | ||
The appearance of the infobox can be customised using the <code>color</code> | The appearance of the infobox can be customised using the <code>color</code> and <code>textcolor</code> parameters. | ||
== Usage == | == Usage == | ||
| Line 77: | Line 46: | ||
<pre> | <pre> | ||
{{Infobox Character | {{Infobox Character | ||
| | | title = | ||
| | | image = | ||
| | | color = | ||
| | | textcolor = | ||
| | | religion = | ||
| | | gender = | ||
| | | ethnicity = | ||
| | | titles = | ||
| | | age = | ||
| | | status = | ||
| | | player = | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 102: | Line 63: | ||
{{Infobox Character | {{Infobox Character | ||
| title = | | title = XQILL275 | ||
| image = | | image = Screenshot_2026-06-29_231702.png | ||
| color = # | | color = #8B0000 | ||
| textcolor = white | | textcolor = white | ||
| religion = | | religion = The Old Faith | ||
| gender = | | gender = Female | ||
| ethnicity = | | ethnicity = Human | ||
| titles = | | titles = Pog | ||
| | | age = 9 | ||
| Nation = fuck | |||
| Nation = | |||
| status = Alive | | status = Alive | ||
| player = | | player = Xqill | ||
}} | }} | ||
| Line 122: | Line 82: | ||
! Parameter !! Description !! Example | ! 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 | |||
| | |||
|} | |} | ||
| Line 188: | Line 112: | ||
{ | { | ||
"params": { | "params": { | ||
"title": { | "title": { | ||
"label": "Title | "label": "Title", | ||
"description": " | "description": "Character name displayed at the top of the infobox.", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"image": { | "image": { | ||
"label": "Image | "label": "Image", | ||
"description": " | "description": "Character image filename.", | ||
"type": "wiki-file-name" | "type": "wiki-file-name" | ||
}, | }, | ||
" | "color": { | ||
"label": " | "label": "Infobox colour", | ||
"description": " | "description": "Colour of the header and border.", | ||
"type": "string" | "type": "string", | ||
"default": "#555" | |||
}, | }, | ||
" | "textcolor": { | ||
"label": " | "label": "Header text colour", | ||
"description": " | "description": "Colour of the title text.", | ||
"type": "string" | "type": "string", | ||
"default": "white" | |||
}, | }, | ||
" | "religion": { | ||
"label": " | "label": "Religion", | ||
"description": " | "description": "Character's religion.", | ||
"type": "string" | "type": "string", | ||
"default": "Unknown" | |||
}, | }, | ||
" | "gender": { | ||
"label": "Gender", | "label": "Gender", | ||
"description": "Character's gender.", | "description": "Character's gender.", | ||
"type": "string" | "type": "string", | ||
"default": "Unknown" | |||
}, | }, | ||
" | "ethnicity": { | ||
"label": " | "label": "Ethnicity", | ||
"description": " | "description": "Character's ethnicity or species.", | ||
"type": "string" | "type": "string", | ||
"default": "Unknown" | |||
}, | }, | ||
" | "titles": { | ||
"label": " | "label": "Titles", | ||
"description": " | "description": "Character titles, ranks, or roles.", | ||
"type": "string | "type": "string", | ||
"default": "Unknown" | |||
" | |||
}, | }, | ||
"age": { | "age": { | ||
"label": "Age | "label": "Age", | ||
"description": " | "description": "Character's age.", | ||
"type": "string" | "type": "string", | ||
"default": "Unknown" | |||
" | |||
}, | }, | ||
"Nation": { | "Nation": { | ||
"label": "Nation", | "label": "Nation", | ||
"description": "Link to the Nation they are a part of or None | "description": "Link to the Nation they are a part of or None", | ||
"type": "string" | "type": "string", | ||
"default": "None" | |||
}, | }, | ||
" | "status": { | ||
"label": " | "label": "Status", | ||
"description": " | "description": "Whether the character is alive, deceased, missing, etc.", | ||
"type": "string", | |||
"default": "Unknown" | |||
"type": "string" | |||
" | |||
}, | }, | ||
"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> | |||
</noinclude> | |||
Revision as of 13:52, 19 August 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
| 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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | Character name displayed at the top of the infobox. | String | optional |
| Image | image | Character image filename. | File | optional |
| Infobox colour | color | Colour of the header and border.
| String | optional |
| Header text colour | textcolor | Colour of the title text.
| String | optional |
| Religion | religion | Character's religion.
| String | optional |
| Gender | gender | Character's gender.
| String | optional |
| Ethnicity | ethnicity | Character's ethnicity or species.
| String | optional |
| Titles | titles | Character titles, ranks, or roles.
| String | optional |
| Age | age | Character's age.
| String | optional |
| Nation | Nation | Link to the Nation they are a part of or None
| String | optional |
| Status | status | Whether the character is alive, deceased, missing, etc.
| String | optional |
| Player | player | Person controlling the character.
| String | optional |
