Template:Character Panel: Difference between revisions
More actions
added age/status |
m removed old style sheet |
||
| (2 intermediate revisions by the same user 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: |
||
| Line 115: | Line 116: | ||
{{Page metadata|page=Template:Character Panel|description=A reusable character facts panel with documented fields for names, images, affiliations and other details.}} |
{{Page metadata|page=Template:Character Panel|description=A reusable character facts panel with documented fields for names, images, affiliations and other details.}} |
||
</noinclude><includeonly> |
</noinclude><includeonly>{{Infobox |
||
|class=infobox-character |
|||
| ⚫ | |||
|crimson |
|||
|backgroundcolor={{{backgroundcolor|}}} |
|||
|azure |
|||
|image={{{image|}}} |
|||
|verdant |
|||
|imagealt={{{imagealt|}}} |
|||
|midnight |
|||
|defaultalt=Portrait of {{{fullname|this character}}} |
|||
|mekhanite = infobox-character--{{lc:{{{backgroundcolor|}}}}} |
|||
|rows=<!-- |
|||
|#default = |
|||
-->{{Infobox row|label=Full name|value={{{fullname|}}}}}<!-- |
|||
}}"><!-- |
|||
-->{{Infobox row|label=Alias|value={{{alias|}}}}}<!-- |
|||
--><caption>General Information</caption><!-- |
|||
-->{{Infobox row|label=Status|value={{{status|}}}}}<!-- |
|||
-->{{#if:{{{image|}}}|<tr><td colspan="2" class="infobox-character__image">[[File:{{{image}}}|260px|alt={{{imagealt|Portrait of {{{fullname|this character}}}}}}]]</td></tr>}}<!-- |
|||
-->{{Infobox row|label=Pronouns|value={{{pronouns|}}}}}<!-- |
|||
-->{{#if:{{{fullname|}}}|<tr><th scope="row">Full name</th><td>{{#tag:poem|{{{fullname}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
|||
-->{{Infobox row|label=Age|value={{{age|}}}}}<!-- |
|||
-->{{#if:{{{alias|}}}|<tr><th scope="row">Alias</th><td>{{#tag:poem|{{{alias}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
|||
-->{{Infobox row|label=Affiliation|value={{{affiliation|}}}}}<!-- |
|||
-->{{#if:{{{status|}}}|<tr><th scope="row">Status</th><td>{{#tag:poem|{{{status}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
|||
-->{{Infobox row|label=Species|value={{{species|}}}}}<!-- |
|||
-->{{#if:{{{pronouns|}}}|<tr><th scope="row">Pronouns</th><td>{{#tag:poem|{{{pronouns}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
|||
-->{{Infobox row|label=Domain|value={{{domain|}}}}}<!-- |
|||
-->{{#if:{{{age|}}}|<tr><th scope="row">Age</th><td>{{#tag:poem|{{{age}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
|||
-->{{Infobox row|label=Occupation|value={{{occupation|}}}}}<!-- |
|||
-->{{#if:{{{affiliation|}}}|<tr><th scope="row">Affiliation</th><td>{{#tag:poem|{{{affiliation}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
|||
-->{{Infobox row|label=Skills|value={{{skills|}}}}}<!-- |
|||
-->{{#if:{{{species|}}}|<tr><th scope="row">Species</th><td>{{#tag:poem|{{{species}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
|||
-->{{Infobox row|label=Feats|value={{{feats|}}}}}<!-- |
|||
-->{{#if:{{{domain|}}}|<tr><th scope="row">Domain</th><td>{{#tag:poem|{{{domain}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
|||
--> |
|||
-->{{#if:{{{occupation|}}}|<tr><th scope="row">Occupation</th><td>{{#tag:poem|{{{occupation}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
|||
| ⚫ | |||
-->{{#if:{{{skills|}}}|<tr><th scope="row">Skills</th><td>{{#tag:poem|{{{skills}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
|||
-->{{#if:{{{feats|}}}|<tr><th scope="row">Feats</th><td>{{#tag:poem|{{{feats}}}|compact=1|class=infobox-character__text}}</td></tr>}}<!-- |
|||
--></table>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{#switch:{{lc:{{{backgroundcolor|}}}}} |
|||
|crimson |
|||
|azure |
|||
|verdant |
|||
|midnight |
|||
|mekhanite |
|||
| = |
|||
| ⚫ | |||
| ⚫ | |||
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
| 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.