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
Saarn (talk | contribs)
m removed old style sheet
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
[[Category:Templates]]
This is the "Character Panel" template.
This is the "Character Panel" template.
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{Character Info
{{Character Panel
|image=
|image=
|imagealt=
|fullname=
|fullname=
|alias=
|alias=
|status=
|pronouns=
|age=
|species=
|domain=
|affiliation=
|affiliation=
|occupation=
|occupation=
|skills=
|skills=
|feats=
|feats=
|backgroundcolor=
}}
}}
</pre>
</pre>
<templatedata>
<templatedata>{
{
"description": "An infobox for character pages displaying basic character information",
"description": "An infobox for character pages displaying basic character information",
"params": {
"params": {
Line 22: Line 29:
"type": "wiki-file-name",
"type": "wiki-file-name",
"suggested": true
"suggested": true
},
"imagealt": {
"label": "Image alternative text",
"description": "Describe the portrait or identifying image for readers who cannot see it.",
"type": "string"
},
},
"fullname": {
"fullname": {
Line 31: Line 43:
"alias": {
"alias": {
"label": "Alias",
"label": "Alias",
"description": "Alternative names or aliases the character is known by",
"description": "Alternative names or aliases the character is known by. Enter one alias per line.",
"type": "string"
},
"status": {
"label": "Status",
"description": "The character's current status",
"type": "string",
"example": "Alive, Deceased, Missing"
},
"pronouns": {
"label": "Pronouns",
"description": "Character's pronouns",
"type": "string"
},
"age": {
"label": "Age",
"description": "The character's age",
"type": "string",
"example": "27, Unknown, Approximately 300"
},
"species": {
"label": "Species",
"description": "Character's species/race",
"type": "string"
},
"domain": {
"label": "Domain",
"description": "Archon or non-reality character label for a home plane of existence (ex. Nevermeant)",
"type": "string"
"type": "string"
},
},
Line 37: Line 76:
"label": "Affiliation",
"label": "Affiliation",
"description": "Groups, organizations, or factions the character is affiliated with",
"description": "Groups, organizations, or factions the character is affiliated with",
"type": "string"
"type": "string",
"example": "Kalmaktama, Mekhanite Empire, The Foundation"
},
},
"occupation": {
"occupation": {
Line 47: Line 87:
"label": "Skills",
"label": "Skills",
"description": "Notable abilities or skills the character possesses",
"description": "Notable abilities or skills the character possesses",
"type": "string"
"type": "string",
"example": "Carnomancy, Thaumaturgy, Reality Bending"
},
},
"feats": {
"feats": {
Line 56: Line 97:
"backgroundcolor": {
"backgroundcolor": {
"label": "Background Color",
"label": "Background Color",
"description": "Optional background color changer.",
"description": "Panel color theme. Leave blank for the default. Invalid values place the page in a tracking category.",
"type": "string"
"type": "string",
"suggestedvalues": ["crimson", "azure", "verdant", "midnight", "mekhanite"]
}
}
}
}
}</templatedata>
}

</templatedata>
Styling follows Citizen and stacks on mobile.
</noinclude><includeonly>{| class="infobox-character" style="float:right !important; margin:0 0 1em 1em !important; width:300px !important; border:2px solid #3b0d0d; padding:5px; display:table; position:relative"

|-
For multiple aliases or other text values, enter one item per line. Line breaks are preserved automatically; you do not need to add <code>&lt;br&gt;</code>.
! 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

|-
The image parameter takes a bare filename; optional <code>imagealt=</code> provides alternative text.
{{#if:{{{image|}}}|

{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|300px]]
Allowed <code>backgroundcolor</code> values: crimson, azure, verdant, midnight, mekhanite.
{{!}}-
Pages with any other value are listed in [[:Category:Character Panel pages with invalid background color]].
}}

|-
[[Category:Infobox templates]]
! style="text-align:left;" | Full Name

| style="text-align:left;" | {{#if:{{{fullname|}}}|{{{fullname}}}|No information}}
{{Page metadata|page=Template:Character Panel|description=A reusable character facts panel with documented fields for names, images, affiliations and other details.}}
|-
</noinclude><includeonly>{{Infobox
! style="text-align:left;" | Alias
|class=infobox-character
| style="text-align:left;" | {{#if:{{{alias|}}}|{{{alias}}}|No information}}
|category=Character Panel pages with invalid background color
|-
|backgroundcolor={{{backgroundcolor|}}}
! style="text-align:left;" | Affiliation
|image={{{image|}}}
| style="text-align:left;" | {{#if:{{{affiliation|}}}|{{{affiliation}}}|No information}}
|imagealt={{{imagealt|}}}
|-
|defaultalt=Portrait of {{{fullname|this character}}}
! style="text-align:left;" | Occupation
|rows=<!--
| style="text-align:left;" | {{#if:{{{occupation|}}}|{{{occupation}}}|No information}}
-->{{Infobox row|label=Full name|value={{{fullname|}}}}}<!--
|-
-->{{Infobox row|label=Alias|value={{{alias|}}}}}<!--
! style="text-align:left;" | Skills
-->{{Infobox row|label=Status|value={{{status|}}}}}<!--
| style="text-align:left;" | {{#if:{{{skills|}}}|{{{skills}}}|No information}}
-->{{Infobox row|label=Pronouns|value={{{pronouns|}}}}}<!--
|-
-->{{Infobox row|label=Age|value={{{age|}}}}}<!--
! style="text-align:left;" | Feats
-->{{Infobox row|label=Affiliation|value={{{affiliation|}}}}}<!--
| style="text-align:left;" | {{#if:{{{feats|}}}|{{{feats}}}|No information}}
-->{{Infobox row|label=Species|value={{{species|}}}}}<!--
|}</includeonly>
-->{{Infobox row|label=Domain|value={{{domain|}}}}}<!--
-->{{Infobox row|label=Occupation|value={{{occupation|}}}}}<!--
-->{{Infobox row|label=Skills|value={{{skills|}}}}}<!--
-->{{Infobox row|label=Feats|value={{{feats|}}}}}<!--
-->
}}</includeonly>

Latest revision as of 22:17, 23 November 2026

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

{{Character Panel
|image=
|imagealt=
|fullname=
|alias=
|status=
|pronouns=
|age=
|species=
|domain=
|affiliation=
|occupation=
|skills=
|feats=
|backgroundcolor=
}}

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
Image alternative textimagealt

Describe the portrait or identifying image for readers who cannot see it.

Stringoptional
Full Namefullname

The character's full name

Stringsuggested
Aliasalias

Alternative names or aliases the character is known by. Enter one alias per line.

Stringoptional
Statusstatus

The character's current status

Example
Alive, Deceased, Missing
Stringoptional
Pronounspronouns

Character's pronouns

Stringoptional
Ageage

The character's age

Example
27, Unknown, Approximately 300
Stringoptional
Speciesspecies

Character's species/race

Stringoptional
Domaindomain

Archon or non-reality character label for a home plane of existence (ex. Nevermeant)

Stringoptional
Affiliationaffiliation

Groups, organizations, or factions the character is affiliated with

Example
Kalmaktama, Mekhanite Empire, The Foundation
Stringoptional
Occupationoccupation

The character's job or role

Stringoptional
Skillsskills

Notable abilities or skills the character possesses

Example
Carnomancy, Thaumaturgy, Reality Bending
Stringoptional
Featsfeats

Notable accomplishments or achievements

Stringoptional
Background Colorbackgroundcolor

Panel color theme. Leave blank for the default. Invalid values place the page in a tracking category.

Suggested values
crimson azure verdant midnight mekhanite
Stringoptional

Styling follows Citizen and stacks on mobile.

For multiple aliases or other text values, enter one item per line. Line breaks are preserved automatically; you do not need to add <br>.

The image parameter takes a bare filename; optional imagealt= provides alternative text.

Allowed backgroundcolor values: crimson, azure, verdant, midnight, mekhanite. Pages with any other value are listed in Category:Character Panel pages with invalid background color.