Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Character Panel: Difference between revisions

Template page
Content deleted Content added
Saarn (talk | contribs)
No edit summary
DivošiRunner (talk | contribs)
Improve archive navigation, reusable templates and document metadata (2026-10-05)
Line 3: Line 3:
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{Character Info
{{Character Panel
|image=
|image=
|fullname=
|fullname=
Line 56: Line 56:
"backgroundcolor": {
"backgroundcolor": {
"label": "Background Color",
"label": "Background Color",
"description": "Optional background color changer.",
"description": "Legacy parameter, retained for compatibility. Citizen controls the background colour.",
"type": "string"
"type": "string"
}
}
Line 62: Line 62:
}
}
</templatedata>
</templatedata>

</noinclude><includeonly>{| class="infobox-character" style="float:right !important; margin:0 0 1em 1em !important; width:300px !important; border:2px solid #3b0d0d; display:table; position:relative"
The image parameter takes a bare filename; optional <code>imagealt=</code> provides alternative text. Styling follows Citizen and stacks on mobile.
[[Category:Infobox templates]]
</noinclude><includeonly><templatestyles src="Template:Character Panel/styles.css" />
{| class="infobox-character"
|+ Character information
⚫
{{#if:{{{image|}}}|{{!}}-
{{!}} colspan="2" class="infobox-character__image" {{!}} [[File:{{{image}}}|260px|alt={{{imagealt|Portrait of {{{fullname|this character}}}}}}]]}}
|-
|-
! scope="row" | Full name
! colspan="2" style="font-size:150%; font-family:Metamorphous; padding:3px; text-align:center; font-weight:bold; color:white; text-shadow:black 0px 0px 10px; background-color:#8f3838;" | Character Info
| {{{fullname|No information}}}
|-
|-
! scope="row" | Alias
⚫
{{#if:{{{image|}}}|
| {{{alias|No information}}}
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|300px]]
{{!}}-
}}
|-
! style="text-align:left;" padding:3px; | Full Name
| style="text-align:left;" | {{#if:{{{fullname|}}}|{{{fullname}}}|No information}}
|-
! style="text-align:left;" padding:3px; | Alias
| style="text-align:left;" | {{#if:{{{alias|}}}|{{{alias}}}|No information}}
|-
|-
! style="text-align:left;" padding:3px; | Affiliation
! scope="row" | Affiliation
| style="text-align:left;" | {{#if:{{{affiliation|}}}|{{{affiliation}}}|No information}}
| {{{affiliation|No information}}}
|-
|-
! style="text-align:left;" padding:3px; | Occupation
! scope="row" | Occupation
| style="text-align:left;" | {{#if:{{{occupation|}}}|{{{occupation}}}|No information}}
| {{{occupation|No information}}}
|-
|-
! style="text-align:left;" padding:3px; | Skills
! scope="row" | Skills
| style="text-align:left;" | {{#if:{{{skills|}}}|{{{skills}}}|No information}}
| {{{skills|No information}}}
|-
|-
! style="text-align:left;" padding:3px; | Feats
! scope="row" | Feats
| style="text-align:left;" | {{#if:{{{feats|}}}|{{{feats}}}|No information}}
| {{{feats|No information}}}
|}</includeonly>
|}</includeonly>

Revision as of 13:26, 5 October 2026

This is the "Character Panel" template. It should be called in the following format:

{{Character Panel
|image=
|fullname=
|alias=
|affiliation=
|occupation=
|skills=
|feats=
}}

An infobox for character pages displaying basic character information

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Imageimage

Filename of the character's image (e.g., Character.jpg)

Filesuggested
Full Namefullname

The character's full name

Stringsuggested
Aliasalias

Alternative names or aliases the character is known by

Stringoptional
Affiliationaffiliation

Groups, organizations, or factions the character is affiliated with

Stringoptional
Occupationoccupation

The character's job or role

Stringoptional
Skillsskills

Notable abilities or skills the character possesses

Stringoptional
Featsfeats

Notable accomplishments or achievements

Stringoptional
Background Colorbackgroundcolor

Legacy parameter, retained for compatibility. Citizen controls the background colour.

Stringoptional

The image parameter takes a bare filename; optional imagealt= provides alternative text. Styling follows Citizen and stacks on mobile.