Template:Character Panel: Difference between revisions
More actions
No edit summary |
added mekhanite color |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
{{Character Panel |
{{Character Panel |
||
|image= |
|image= |
||
| ⚫ | |||
|fullname= |
|fullname= |
||
|alias= |
|alias= |
||
|pronouns= |
|||
|species= |
|species= |
||
|domain= |
|domain= |
||
| Line 13: | Line 15: | ||
|skills= |
|skills= |
||
|feats= |
|feats= |
||
|backgroundcolor= |
|||
}} |
}} |
||
</pre> |
</pre> |
||
| Line 23: | Line 26: | ||
"type": "wiki-file-name", |
"type": "wiki-file-name", |
||
"suggested": true |
"suggested": true |
||
| ⚫ | |||
"imagealt": { |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
}, |
}, |
||
"fullname": { |
"fullname": { |
||
| Line 33: | Line 41: | ||
"label": "Alias", |
"label": "Alias", |
||
"description": "Alternative names or aliases the character is known by", |
"description": "Alternative names or aliases the character is known by", |
||
"type": "string" |
|||
}, |
|||
"pronouns": { |
|||
"label": "Pronouns", |
|||
"description": "Character's pronouns", |
|||
"type": "string" |
"type": "string" |
||
}, |
}, |
||
| Line 42: | Line 55: | ||
"domain": { |
"domain": { |
||
"label": "Domain", |
"label": "Domain", |
||
"description": "Archon or non-reality character label for a home plane of |
"description": "Archon or non-reality character label for a home plane of existence (ex. Nevermeant)", |
||
"type": "string" |
"type": "string" |
||
}, |
}, |
||
| Line 69: | Line 82: | ||
"backgroundcolor": { |
"backgroundcolor": { |
||
"label": "Background Color", |
"label": "Background Color", |
||
"description": " |
"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", "midnight", "mekhanite"] |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
} |
} |
||
} |
} |
||
}</templatedata> |
}</templatedata> |
||
| ⚫ | |||
Styling follows Citizen and stacks on mobile. |
|||
| ⚫ | |||
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]] |
[[Category:Infobox templates]] |
||
</noinclude> |
</noinclude> |
||
<includeonly><templatestyles src="Template:Character Panel/styles.css" /> |
<includeonly><templatestyles src="Template:Character Panel/styles.css" /> |
||
{| class="infobox-character |
{| class="infobox-character {{#switch:{{lc:{{{backgroundcolor|}}}}} |
||
|crimson |
|||
|azure |
|||
|verdant |
|||
|midnight |
|||
|mekhanite = infobox-character--{{lc:{{{backgroundcolor|}}}}} |
|||
|#default = |
|||
}}" |
|||
|+ General Information |
|+ General Information |
||
{{#if:{{{image|}}}| |
{{#if:{{{image|}}}| |
||
| Line 95: | Line 119: | ||
{{!}} {{{fullname}}} |
{{!}} {{{fullname}}} |
||
}} |
}} |
||
{{#if:{{{alias|}}}| |
{{#if:{{{alias|}}}| |
||
{{!}}- |
{{!}}- |
||
| Line 101: | Line 124: | ||
{{!}} {{{alias}}} |
{{!}} {{{alias}}} |
||
}} |
}} |
||
{{#if:{{{pronouns|}}}| |
|||
{{!}}- |
|||
! scope="row" {{!}} Pronouns |
|||
{{!}} {{{pronouns}}} |
|||
}} |
|||
{{#if:{{{affiliation|}}}| |
{{#if:{{{affiliation|}}}| |
||
{{!}}- |
{{!}}- |
||
| Line 107: | Line 134: | ||
{{!}} {{{affiliation}}} |
{{!}} {{{affiliation}}} |
||
}} |
}} |
||
{{#if:{{{species|}}}| |
{{#if:{{{species|}}}| |
||
{{!}}- |
{{!}}- |
||
| Line 113: | Line 139: | ||
{{!}} {{{species}}} |
{{!}} {{{species}}} |
||
}} |
}} |
||
{{#if:{{{domain|}}}| |
{{#if:{{{domain|}}}| |
||
{{!}}- |
{{!}}- |
||
| Line 119: | Line 144: | ||
{{!}} {{{domain}}} |
{{!}} {{{domain}}} |
||
}} |
}} |
||
{{#if:{{{occupation|}}}| |
{{#if:{{{occupation|}}}| |
||
{{!}}- |
{{!}}- |
||
| Line 125: | Line 149: | ||
{{!}} {{{occupation}}} |
{{!}} {{{occupation}}} |
||
}} |
}} |
||
{{#if:{{{skills|}}}| |
{{#if:{{{skills|}}}| |
||
{{!}}- |
{{!}}- |
||
| Line 131: | Line 154: | ||
{{!}} {{{skills}}} |
{{!}} {{{skills}}} |
||
}} |
}} |
||
{{#if:{{{feats|}}}| |
{{#if:{{{feats|}}}| |
||
{{!}}- |
{{!}}- |
||
| Line 137: | Line 159: | ||
{{!}} {{{feats}}} |
{{!}} {{{feats}}} |
||
}} |
}} |
||
|}{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{#switch:{{lc:{{{backgroundcolor|}}}}} |
|||
|crimson |
|||
|azure |
|||
|verdant |
|||
|midnight |
|||
|mekhanite |
|||
| = |
|||
|#default = [[Category:Character Panel pages with invalid background color]] |
|||
}}}} |
|||
</includeonly> |
|||
Revision as of 01:15, 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.