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)
some sections are being evil and being too big
 
(28 intermediate revisions by 2 users not shown)
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=
|imagealt=
|fullname=
|fullname=
|alias=
|alias=
|pronouns=
|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 26:
"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 32: Line 41:
"label": "Alias",
"label": "Alias",
"description": "Alternative names or aliases the character is known by",
"description": "Alternative names or aliases the character is known by",
"type": "string"
},
"pronouns": {
"label": "Pronouns",
"description": "Character's pronouns",
"type": "string"
},
"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 61:
"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 72:
"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 53: Line 79:
"description": "Notable accomplishments or achievements",
"description": "Notable accomplishments or achievements",
"type": "string"
"type": "string"
},
"backgroundcolor": {
"label": "Background Color",
"description": "Panel color theme. Leave blank for the default. Invalid values place the page in a tracking category.",
"type": "string",
"suggestedvalues": ["crimson", "azure", "verdant", "midnight", "mekhanite"]
}
}
}
}
}</templatedata>
}

</templatedata>
Styling follows Citizen and stacks on mobile.
</noinclude><includeonly>{| class="wikitable" style="float:right !important; clear:right !important; margin-left:1em; width:300px;"

|-
The image parameter takes a bare filename; optional <code>imagealt=</code> provides alternative text.
! 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

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

{{!}}-
[[Category:Infobox templates]]
}}
</noinclude>
|-

! Full Name
<includeonly><templatestyles src="Template:Character Panel/styles.css" />
| style="text-align:left;" | {{#if:{{{fullname|}}}|{{{fullname}}}|No information}}
<table class="infobox-character {{#switch:{{lc:{{{backgroundcolor|}}}}}
|-
|crimson
! Alias
|azure
| style="text-align:left;" | {{#if:{{{alias|}}}|{{{alias}}}|No information}}
|verdant
|-
|midnight
! Affiliation
|mekhanite = infobox-character--{{lc:{{{backgroundcolor|}}}}}
| style="text-align:left;" | {{#if:{{{affiliation|}}}|{{{affiliation}}}|No information}}
|#default =
|-
}}"><!--
! Occupation
--><caption>General Information</caption><!--
| style="text-align:left;" | {{#if:{{{occupation|}}}|{{{occupation}}}|No information}}
-->{{#if:{{{image|}}}|<tr><td colspan="2" class="infobox-character__image">[[File:{{{image}}}|260px|alt={{{imagealt|Portrait of {{{fullname|this character}}}}}}]]</td></tr>}}<!--
|-
-->{{#if:{{{fullname|}}}|<tr><th scope="row">Full name</th><td>{{{fullname}}}</td></tr>}}<!--
! Skills
-->{{#if:{{{alias|}}}|<tr><th scope="row">Alias</th><td>{{{alias}}}</td></tr>}}<!--
| style="text-align:left;" | {{#if:{{{skills|}}}|{{{skills}}}|No information}}
-->{{#if:{{{pronouns|}}}|<tr><th scope="row">Pronouns</th><td>{{{pronouns}}}</td></tr>}}<!--
|-
-->{{#if:{{{affiliation|}}}|<tr><th scope="row">Affiliation</th><td>{{{affiliation}}}</td></tr>}}<!--
! Feats
-->{{#if:{{{species|}}}|<tr><th scope="row">Species</th><td>{{{species}}}</td></tr>}}<!--
| style="text-align:left;" | {{#if:{{{feats|}}}|{{{feats}}}|No information}}
-->{{#if:{{{domain|}}}|<tr><th scope="row">Domain</th><td>{{{domain}}}</td></tr>}}<!--
|}</includeonly>
-->{{#if:{{{occupation|}}}|<tr><th scope="row">Occupation</th><td>{{{occupation}}}</td></tr>}}<!--
-->{{#if:{{{skills|}}}|<tr><th scope="row">Skills</th><td>{{{skills}}}</td></tr>}}<!--
-->{{#if:{{{feats|}}}|<tr><th scope="row">Feats</th><td>{{{feats}}}</td></tr>}}<!--
--></table>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{#switch:{{lc:{{{backgroundcolor|}}}}}
|crimson
|azure
|verdant
|midnight
|mekhanite
| =
|#default = [[Category:Character Panel pages with invalid background color]]
}}}}</includeonly>

Latest revision as of 01:35, 22 October 2026

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

{{Character Panel
|image=
|imagealt=
|fullname=
|alias=
|pronouns=
|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

Stringoptional
Pronounspronouns

Character's pronouns

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.

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.