Template:Character Panel: Difference between revisions
More actions
added background colors |
some sections are being evil and being too big |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 84: | Line 84: | ||
"description": "Panel color theme. Leave blank for the default. Invalid values place the page in a tracking category.", |
"description": "Panel color theme. Leave blank for the default. Invalid values place the page in a tracking category.", |
||
"type": "string", |
"type": "string", |
||
"suggestedvalues": ["crimson", "azure", "verdant"] |
"suggestedvalues": ["crimson", "azure", "verdant", "midnight", "mekhanite"] |
||
} |
} |
||
} |
} |
||
}</templatedata> |
}</templatedata> |
||
| ⚫ | |||
Styling follows Citizen and stacks on mobile. |
|||
| ⚫ | |||
| ⚫ | |||
Allowed <code>backgroundcolor</code> values: crimson, azure, verdant, midnight, mekhanite. |
|||
| ⚫ | |||
[[Category:Infobox templates]] |
[[Category:Infobox templates]] |
||
</noinclude> |
</noinclude> |
||
<includeonly><templatestyles src="Template:Character Panel/styles.css" /> |
<includeonly><templatestyles src="Template:Character Panel/styles.css" /> |
||
<table class="infobox-character {{#switch:{{lc:{{{backgroundcolor|}}}}} |
|||
|crimson |
|crimson |
||
|azure |
|azure |
||
|verdant |
|||
| ⚫ | |||
|midnight |
|||
| ⚫ | |||
|#default = |
|#default = |
||
}}" |
}}"><!-- |
||
--><caption>General Information</caption><!-- |
|||
| ⚫ | |||
{{#if:{{{image|}}}| |
|||
-->{{#if:{{{fullname|}}}|<tr><th scope="row">Full name</th><td>{{{fullname}}}</td></tr>}}<!-- |
|||
{{!}}- |
|||
-->{{#if:{{{alias|}}}|<tr><th scope="row">Alias</th><td>{{{alias}}}</td></tr>}}<!-- |
|||
| ⚫ | |||
-->{{#if:{{{pronouns|}}}|<tr><th scope="row">Pronouns</th><td>{{{pronouns}}}</td></tr>}}<!-- |
|||
}} |
|||
-->{{#if:{{{affiliation|}}}|<tr><th scope="row">Affiliation</th><td>{{{affiliation}}}</td></tr>}}<!-- |
|||
{{#if:{{{fullname|}}}| |
|||
-->{{#if:{{{species|}}}|<tr><th scope="row">Species</th><td>{{{species}}}</td></tr>}}<!-- |
|||
{{!}}- |
|||
-->{{#if:{{{domain|}}}|<tr><th scope="row">Domain</th><td>{{{domain}}}</td></tr>}}<!-- |
|||
! scope="row" {{!}} Full name |
|||
-->{{#if:{{{occupation|}}}|<tr><th scope="row">Occupation</th><td>{{{occupation}}}</td></tr>}}<!-- |
|||
{{!}} {{{fullname}}} |
|||
-->{{#if:{{{skills|}}}|<tr><th scope="row">Skills</th><td>{{{skills}}}</td></tr>}}<!-- |
|||
}} |
|||
-->{{#if:{{{feats|}}}|<tr><th scope="row">Feats</th><td>{{{feats}}}</td></tr>}}<!-- |
|||
{{#if:{{{alias|}}}| |
|||
| ⚫ | |||
{{!}}- |
|||
! scope="row" {{!}} Alias |
|||
{{!}} {{{alias}}} |
|||
}} |
|||
{{#if:{{{pronouns|}}}| |
|||
{{!}}- |
|||
! scope="row" {{!}} Pronouns |
|||
{{!}} {{{pronouns}}} |
|||
}} |
|||
{{#if:{{{affiliation|}}}| |
|||
{{!}}- |
|||
! scope="row" {{!}} Affiliation |
|||
{{!}} {{{affiliation}}} |
|||
}} |
|||
{{#if:{{{species|}}}| |
|||
{{!}}- |
|||
! scope="row" {{!}} Species |
|||
{{!}} {{{species}}} |
|||
}} |
|||
{{#if:{{{domain|}}}| |
|||
{{!}}- |
|||
! scope="row" {{!}} Domain |
|||
{{!}} {{{domain}}} |
|||
}} |
|||
{{#if:{{{occupation|}}}| |
|||
{{!}}- |
|||
! scope="row" {{!}} Occupation |
|||
{{!}} {{{occupation}}} |
|||
}} |
|||
{{#if:{{{skills|}}}| |
|||
{{!}}- |
|||
! scope="row" {{!}} Skills |
|||
{{!}} {{{skills}}} |
|||
}} |
|||
{{#if:{{{feats|}}}| |
|||
{{!}}- |
|||
! scope="row" {{!}} Feats |
|||
{{!}} {{{feats}}} |
|||
}} |
|||
| ⚫ | |||
|crimson |
|crimson |
||
|azure |
|azure |
||
|verdant |
|verdant |
||
|midnight |
|||
|mekhanite |
|||
| = |
| = |
||
|#default = [[Category:Character Panel pages with invalid background color]] |
|#default = [[Category:Character Panel pages with invalid background color]] |
||
Latest revision as of 01:35, 22 October 2026
This is the "Character Panel" template. It should be called in the following format:
{{Character Panel
|image=
|imagealt=
|fullname=
|alias=
|pronouns=
|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 | String | optional |
| Pronouns | pronouns | Character's pronouns | 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.
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.