Template:Character Panel: Difference between revisions
More actions
No edit summary |
m removed old style sheet |
||
| (31 intermediate revisions by 2 users 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: |
||
<pre> |
<pre> |
||
{{Character |
{{Character Panel |
||
|image= |
|image= |
||
|imagealt= |
|||
|fullname= |
|fullname= |
||
|alias= |
|alias= |
||
|status= |
|||
|pronouns= |
|||
|age= |
|||
|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 29: | ||
"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 31: | Line 43: | ||
"alias": { |
"alias": { |
||
"label": "Alias", |
"label": "Alias", |
||
"description": "Alternative names or aliases the character is known by", |
"description": "Alternative names or aliases the character is known by. Enter one alias per line.", |
||
"type": "string" |
|||
}, |
|||
"status": { |
|||
"label": "Status", |
|||
"description": "The character's current status", |
|||
"type": "string", |
|||
"example": "Alive, Deceased, Missing" |
|||
}, |
|||
"pronouns": { |
|||
"label": "Pronouns", |
|||
"description": "Character's pronouns", |
|||
"type": "string" |
|||
}, |
|||
"age": { |
|||
"label": "Age", |
|||
"description": "The character's age", |
|||
"type": "string", |
|||
"example": "27, Unknown, Approximately 300" |
|||
}, |
|||
"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 76: | ||
"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 87: | ||
"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 94: | ||
"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="infobox-character" style="float:right !important; margin:0 0 1em 1em !important; width:300px !important; border:1px solid #a2a9b1; background-color:#f8f9fa; display:table; position:relative;" |
|||
|- |
|||
For multiple aliases or other text values, enter one item per line. Line breaks are preserved automatically; you do not need to add <code><br></code>. |
|||
! 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 |
|||
|- |
|||
The image parameter takes a bare filename; optional <code>imagealt=</code> provides alternative text. |
|||
{{#if:{{{image|}}}| |
|||
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|300px]] |
|||
Allowed <code>backgroundcolor</code> values: crimson, azure, verdant, midnight, mekhanite. |
|||
{{!}}- |
|||
Pages with any other value are listed in [[:Category:Character Panel pages with invalid background color]]. |
|||
}} |
|||
|- |
|||
[[Category:Infobox templates]] |
|||
! Full Name |
|||
| style="text-align:left;" | {{#if:{{{fullname|}}}|{{{fullname}}}|No information}} |
|||
{{Page metadata|page=Template:Character Panel|description=A reusable character facts panel with documented fields for names, images, affiliations and other details.}} |
|||
|- |
|||
</noinclude><includeonly>{{Infobox |
|||
! Alias |
|||
|class=infobox-character |
|||
| style="text-align:left;" | {{#if:{{{alias|}}}|{{{alias}}}|No information}} |
|||
|category=Character Panel pages with invalid background color |
|||
|- |
|||
|backgroundcolor={{{backgroundcolor|}}} |
|||
! Affiliation |
|||
|image={{{image|}}} |
|||
| style="text-align:left;" | {{#if:{{{affiliation|}}}|{{{affiliation}}}|No information}} |
|||
|imagealt={{{imagealt|}}} |
|||
|- |
|||
|defaultalt=Portrait of {{{fullname|this character}}} |
|||
! Occupation |
|||
|rows=<!-- |
|||
| style="text-align:left;" | {{#if:{{{occupation|}}}|{{{occupation}}}|No information}} |
|||
-->{{Infobox row|label=Full name|value={{{fullname|}}}}}<!-- |
|||
|- |
|||
-->{{Infobox row|label=Alias|value={{{alias|}}}}}<!-- |
|||
! Skills |
|||
-->{{Infobox row|label=Status|value={{{status|}}}}}<!-- |
|||
| style="text-align:left;" | {{#if:{{{skills|}}}|{{{skills}}}|No information}} |
|||
-->{{Infobox row|label=Pronouns|value={{{pronouns|}}}}}<!-- |
|||
|- |
|||
-->{{Infobox row|label=Age|value={{{age|}}}}}<!-- |
|||
! Feats |
|||
-->{{Infobox row|label=Affiliation|value={{{affiliation|}}}}}<!-- |
|||
| style="text-align:left;" | {{#if:{{{feats|}}}|{{{feats}}}|No information}} |
|||
-->{{Infobox row|label=Species|value={{{species|}}}}}<!-- |
|||
|}</includeonly> |
|||
-->{{Infobox row|label=Domain|value={{{domain|}}}}}<!-- |
|||
-->{{Infobox row|label=Occupation|value={{{occupation|}}}}}<!-- |
|||
-->{{Infobox row|label=Skills|value={{{skills|}}}}}<!-- |
|||
-->{{Infobox row|label=Feats|value={{{feats|}}}}}<!-- |
|||
--> |
|||
}}</includeonly> |
|||
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.