Template:Character Panel: Difference between revisions
More actions
No edit summary |
No edit summary |
||
| Line 80: | Line 80: | ||
The image parameter takes a bare filename; optional <code>imagealt=</code> provides alternative text. Styling follows Citizen and stacks on mobile. |
The image parameter takes a bare filename; optional <code>imagealt=</code> provides alternative text. Styling follows Citizen and stacks on mobile. |
||
[[Category:Infobox templates]] |
[[Category:Infobox templates]] |
||
<includeonly><templatestyles src="Template:Character Panel/styles.css" /> |
|||
{| class="infobox-character" |
{| class="infobox-character" |
||
|+ Character information |
|+ Character information |
||
{{#if:{{{image|}}}| |
{{#if:{{{image|}}}| |
||
{{!}}- |
|||
{{!}} colspan="2" class="infobox-character__image" {{!}} [[File:{{{image}}}|260px|alt={{{imagealt|Portrait of {{{fullname|this character}}}}}}]] |
{{!}} colspan="2" class="infobox-character__image" {{!}} [[File:{{{image}}}|260px|alt={{{imagealt|Portrait of {{{fullname|this character}}}}}}]] |
||
|- |
|||
}} |
|||
| ⚫ | |||
{{#if:{{{fullname|}}}| |
|||
{{!}}- |
|||
|- |
|||
! scope="row" |
! scope="row" {{!}} Full name |
||
{{!}} {{{fullname}}} |
|||
| {{#if:{{{alias|}}}|{{{alias}}}|No information}} |
|||
}} |
|||
|- |
|||
{{#if:{{{alias|}}}| |
|||
| ⚫ | |||
{{!}}- |
|||
| ⚫ | |||
| ⚫ | |||
|- |
|||
{{!}} {{{alias}}} |
|||
| ⚫ | |||
}} |
|||
| {{#if:{{{species|}}}|{{{species}}}|No information}} |
|||
| ⚫ | |||
|- |
|||
{{!}}- |
|||
| ⚫ | |||
| ⚫ | |||
| {{#if:{{{domain|}}}|{{{domain}}}|No information}} |
|||
{{!}} {{{affiliation}}} |
|||
|- |
|||
}} |
|||
| ⚫ | |||
{{#if:{{{species|}}}| |
|||
{{!}}- |
|||
|- |
|||
! scope="row" |
! scope="row" {{!}} Species |
||
{{!}} {{{species}}} |
|||
| {{#if:{{{skills|}}}|{{{skills}}}|No information}} |
|||
}} |
|||
|- |
|||
{{#if:{{{domain|}}}| |
|||
| ⚫ | |||
{{!}}- |
|||
| {{#if:{{{feats|}}}|{{{feats}}}|No information}} |
|||
| ⚫ | |||
{{!}} {{{domain}}} |
|||
}} |
|||
{{#if:{{{occupation|}}}| |
|||
{{!}}- |
|||
| ⚫ | |||
{{!}} {{{occupation}}} |
|||
}} |
|||
{{#if:{{{skills|}}}| |
|||
{{!}}- |
|||
| ⚫ | |||
{{!}} {{{skills}}} |
|||
}} |
|||
{{#if:{{{feats|}}}| |
|||
{{!}}- |
|||
| ⚫ | |||
{{!}} {{{feats}}} |
|||
}} |
|||
|}</includeonly> |
|}</includeonly> |
||
Revision as of 20:47, 21 October 2026
This is the "Character Panel" template. It should be called in the following format:
{{Character Panel
|image=
|fullname=
|alias=
|species=
|domain=
|affiliation=
|occupation=
|skills=
|feats=
}}
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 |
| Full Name | fullname | The character's full name | String | suggested |
| Alias | alias | Alternative names or aliases the character is known by | String | optional |
| Species | species | Character's species/race | String | optional |
| Domain | domain | Archon or non-reality character label for a home plane of existance (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 | Legacy parameter, retained for compatibility. Citizen controls the background colour. | String | optional |
| Image alternative text | imagealt | Describe the portrait or identifying image for readers who cannot see it. | String | optional |
The image parameter takes a bare filename; optional imagealt= provides alternative text. Styling follows Citizen and stacks on mobile.