Template:Character Panel: Difference between revisions
More actions
No edit summary |
DivošiRunner (talk | contribs) Improve archive navigation, reusable templates and document metadata (2026-10-05) |
||
| Line 3: | Line 3: | ||
It should be called in the following format: |
It should be called in the following format: |
||
<pre> |
<pre> |
||
{{Character |
{{Character Panel |
||
|image= |
|image= |
||
|fullname= |
|fullname= |
||
| Line 56: | Line 56: | ||
"backgroundcolor": { |
"backgroundcolor": { |
||
"label": "Background Color", |
"label": "Background Color", |
||
"description": " |
"description": "Legacy parameter, retained for compatibility. Citizen controls the background colour.", |
||
"type": "string" |
"type": "string" |
||
} |
} |
||
| Line 62: | Line 62: | ||
} |
} |
||
</templatedata> |
</templatedata> |
||
</noinclude><includeonly>{| class="infobox-character" style="float:right !important; margin:0 0 1em 1em !important; width:300px !important; border:2px solid #3b0d0d; display:table; position:relative" |
|||
The image parameter takes a bare filename; optional <code>imagealt=</code> provides alternative text. Styling follows Citizen and stacks on mobile. |
|||
[[Category:Infobox templates]] |
|||
</noinclude><includeonly><templatestyles src="Template:Character Panel/styles.css" /> |
|||
{| class="infobox-character" |
|||
|+ Character information |
|||
| ⚫ | |||
{{!}} colspan="2" class="infobox-character__image" {{!}} [[File:{{{image}}}|260px|alt={{{imagealt|Portrait of {{{fullname|this character}}}}}}]]}} |
|||
|- |
|- |
||
! scope="row" | Full name |
|||
! 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 |
|||
| {{{fullname|No information}}} |
|||
|- |
|- |
||
! scope="row" | Alias |
|||
| ⚫ | |||
| {{{alias|No information}}} |
|||
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|300px]] |
|||
{{!}}- |
|||
}} |
|||
|- |
|||
! style="text-align:left;" padding:3px; | Full Name |
|||
| style="text-align:left;" | {{#if:{{{fullname|}}}|{{{fullname}}}|No information}} |
|||
|- |
|||
! style="text-align:left;" padding:3px; | Alias |
|||
| style="text-align:left;" | {{#if:{{{alias|}}}|{{{alias}}}|No information}} |
|||
|- |
|- |
||
! |
! scope="row" | Affiliation |
||
| {{{affiliation|No information}}} |
|||
|- |
|- |
||
! |
! scope="row" | Occupation |
||
| {{{occupation|No information}}} |
|||
|- |
|- |
||
! |
! scope="row" | Skills |
||
| {{{skills|No information}}} |
|||
|- |
|- |
||
! |
! scope="row" | Feats |
||
| {{{feats|No information}}} |
|||
|}</includeonly> |
|}</includeonly> |
||
Revision as of 13:26, 5 October 2026
This is the "Character Panel" template. It should be called in the following format:
{{Character Panel
|image=
|fullname=
|alias=
|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 |
| 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 |
The image parameter takes a bare filename; optional imagealt= provides alternative text. Styling follows Citizen and stacks on mobile.