Difference between revisions of "CharacterInfoBox"
(Added gender) |
(Fixed maximum height of images to 400px) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{InfoBox|title={{{title|}}}|infoBoxTable= | + | <includeonly>{{InfoBox|title={{{title|}}}|infoBoxTable= |
{{#if: {{{image|}}}| | {{#if: {{{image|}}}| | ||
<tr> | <tr> | ||
− | <td class="infobox-image" style="padding: 10px;" colspan="2">[[File:{{{image}}}|frameless|center|375px]]</td> | + | <td class="infobox-image" style="padding: 10px;" colspan="2">[[File:{{{image}}}|frameless|center|375px|x400px]]</td> |
</tr> | </tr> | ||
}} | }} | ||
Line 13: | Line 13: | ||
{{#if: {{{party|}}}| | {{#if: {{{party|}}}| | ||
<tr> | <tr> | ||
− | <td class="infoboxtd1strow | + | <td class="infoboxtd1strow" style="padding: 10px;"><b>Party</b>:</td> |
− | <td | + | <td>{{{party}}}</td> |
</tr> | </tr> | ||
}} | }} | ||
Line 71: | Line 71: | ||
</tr> | </tr> | ||
}} | }} | ||
+ | |||
+ | {{#if: {{{customFieldName|}}}| | ||
+ | <tr> | ||
+ | <td class="infoboxtd1strow" style="padding: 10px;"><b>{{{customFieldName}}}</b>:</td> | ||
+ | <td>{{{customFieldContent}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
{{#if: {{{extraContent|}}}| | {{#if: {{{extraContent|}}}| | ||
− | {{{extraContent}}} | + | {{{extraContent}}}}}}}</includeonly><noinclude> |
− | + | {{CharacterInfoBox | |
− | }} | + | |title=Test Character |
− | <noinclude> | + | |image=byAllah.jpg |
− | <templatedata> | + | |name=Character McCharacter Face}} |
− | { | + | <templatedata>{ |
− | "description": "PC | + | "description": "Character infobox, use the NPC or PC infobox instead", |
"params": { | "params": { | ||
"title": { | "title": { | ||
Line 171: | Line 178: | ||
"description": "Any aliases the character has", | "description": "Any aliases the character has", | ||
"type": "string" | "type": "string" | ||
+ | }, | ||
+ | "customFieldName": { | ||
+ | "label": "Custom Field Name", | ||
+ | "description": "A custom field for you to write your own things", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "customFieldContent": { | ||
+ | "label": "Custom Field Content", | ||
+ | "description": "The content to be placed in the custom field", | ||
+ | "type": "content" | ||
} | } | ||
}, | }, | ||
Line 187: | Line 204: | ||
"extraContent", | "extraContent", | ||
"gender", | "gender", | ||
− | "alias" | + | "alias", |
+ | "customFieldName", | ||
+ | "customFieldContent" | ||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 16:52, 30 August 2021
Character infobox, use the NPC or PC infobox instead
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | Page title, usually character's first name
| String | required |
Image | image | Picture of character | File | suggested |
Full Name | name | Full Name of character, with any titles
| String | required |
Party | party | The Party (campaign) the character belongs/belonged to
| String | required |
Class Info | class | Class/Subclass info, including levels in each
| String | suggested |
Status | status | Current Status - example are Alive, Dead, Left Party, Temporarily Away etc.
| String | suggested |
Race | race | In-game race/subrace
| String | optional |
Date of Birth | DoB | Date of Birth (and age in brackets if you want).
| String | suggested |
Physical Description | physical | Height, Weight, Skin Tone, Horns/Tattoos, etc. | String | suggested |
Last known location | location | The last place the character was known to be
| Page | suggested |
Faction | faction | Any factions the character is aligned with
| Page | optional |
Extra content | extraContent | Anything extra specific to a certain character | Content | optional |
Gender | gender | The character's gender
| String | suggested |
Alias(es) | alias | Any aliases the character has | String | optional |
Custom Field Name | customFieldName | A custom field for you to write your own things | String | optional |
Custom Field Content | customFieldContent | The content to be placed in the custom field | Content | optional |