Template:Character Panel: Difference between revisions
More actions
DivošiRunner (talk | contribs) Fix character-panel line breaks; support one item per line in all text fields |
added age/status |
||
| Line 8: | Line 8: | ||
|fullname= |
|fullname= |
||
|alias= |
|alias= |
||
|status= |
|||
|pronouns= |
|pronouns= |
||
|age= |
|||
|species= |
|species= |
||
|domain= |
|domain= |
||
| Line 42: | Line 44: | ||
"description": "Alternative names or aliases the character is known by. Enter one alias per line.", |
"description": "Alternative names or aliases the character is known by. Enter one alias per line.", |
||
"type": "string" |
"type": "string" |
||
}, |
|||
"status": { |
|||
"label": "Status", |
|||
"description": "The character's current status", |
|||
"type": "string", |
|||
"example": "Alive, Deceased, Missing" |
|||
}, |
}, |
||
"pronouns": { |
"pronouns": { |
||
| Line 47: | Line 55: | ||
"description": "Character's pronouns", |
"description": "Character's pronouns", |
||
"type": "string" |
"type": "string" |
||
}, |
|||
"age": { |
|||
"label": "Age", |
|||
"description": "The character's age", |
|||
"type": "string", |
|||
"example": "27, Unknown, Approximately 300" |
|||
}, |
}, |
||
"species": { |
"species": { |
||
| Line 114: | Line 128: | ||
-->{{#if:{{{fullname|}}}|<tr><th scope="row">Full name</th><td>{{#tag:poem|{{{fullname}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
-->{{#if:{{{fullname|}}}|<tr><th scope="row">Full name</th><td>{{#tag:poem|{{{fullname}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
||
-->{{#if:{{{alias|}}}|<tr><th scope="row">Alias</th><td>{{#tag:poem|{{{alias}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
-->{{#if:{{{alias|}}}|<tr><th scope="row">Alias</th><td>{{#tag:poem|{{{alias}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
||
-->{{#if:{{{status|}}}|<tr><th scope="row">Status</th><td>{{#tag:poem|{{{status}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
|||
-->{{#if:{{{pronouns|}}}|<tr><th scope="row">Pronouns</th><td>{{#tag:poem|{{{pronouns}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
-->{{#if:{{{pronouns|}}}|<tr><th scope="row">Pronouns</th><td>{{#tag:poem|{{{pronouns}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
||
-->{{#if:{{{age|}}}|<tr><th scope="row">Age</th><td>{{#tag:poem|{{{age}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
|||
-->{{#if:{{{affiliation|}}}|<tr><th scope="row">Affiliation</th><td>{{#tag:poem|{{{affiliation}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
-->{{#if:{{{affiliation|}}}|<tr><th scope="row">Affiliation</th><td>{{#tag:poem|{{{affiliation}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
||
-->{{#if:{{{species|}}}|<tr><th scope="row">Species</th><td>{{#tag:poem|{{{species}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
-->{{#if:{{{species|}}}|<tr><th scope="row">Species</th><td>{{#tag:poem|{{{species}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
||
Revision as of 00:10, 15 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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image | image | Filename of the character's image (e.g., Character.jpg) | File | suggested |
| Image alternative text | imagealt | Describe the portrait or identifying image for readers who cannot see it. | String | optional |
| Full Name | fullname | The character's full name | String | suggested |
| Alias | alias | Alternative names or aliases the character is known by. Enter one alias per line. | String | optional |
| Status | status | The character's current status
| String | optional |
| Pronouns | pronouns | Character's pronouns | String | optional |
| Age | age | The character's age
| String | optional |
| Species | species | Character's species/race | String | optional |
| Domain | domain | Archon or non-reality character label for a home plane of existence (ex. Nevermeant) | String | optional |
| Affiliation | affiliation | Groups, organizations, or factions the character is affiliated with
| String | optional |
| Occupation | occupation | The character's job or role | String | optional |
| Skills | skills | Notable abilities or skills the character possesses
| String | optional |
| Feats | feats | Notable accomplishments or achievements | String | optional |
| Background Color | backgroundcolor | Panel color theme. Leave blank for the default. Invalid values place the page in a tracking category.
| String | optional |
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.