Difference between revisions of "PCInfobox"
m (Fixed template data) |
(Added demonstration) |
||
Line 1: | Line 1: | ||
− | < | + | <onlyinclude> |
− | </ | + | {{CharacterInfoBox |
+ | |title={{{title|}}} | ||
+ | |image={{{image|}}} | ||
+ | |name={{{name|}}} | ||
+ | |party={{{party|}}} | ||
+ | |class={{{class|}}} | ||
+ | |status={{{status|}}} | ||
+ | |race={{{race|}}} | ||
+ | |DoB={{{DoB|}}} | ||
+ | |physical={{{physical|}}} | ||
+ | |faction={{{faction|}}} | ||
+ | |gender={{{gender|}}} | ||
+ | |customFieldName={{{customFieldName|}}} | ||
+ | |customFieldContent={{{customFieldContent|}}}}} | ||
+ | </onlyinclude> | ||
<noinclude> | <noinclude> | ||
− | <templatedata> | + | {{PCInfobox |
− | { | + | |title=The PC's name |
− | + | |image=byAllah.jpg | |
− | + | |name=The PC's full name | |
− | + | |party=Some random party | |
− | + | |class=I dunno druid or some shit | |
− | + | |status=Dead lmao | |
− | + | |race=That's a personal question | |
− | + | |DoB=6/9/69 | |
− | + | |physical=Short af | |
− | + | |gender=Female | |
− | + | |customFieldName=A custom field | |
− | + | |customFieldContent=Use customFieldName and customFieldContent to create your own custom rows | |
− | + | }} | |
− | + | <templatedata> | |
− | + | { | |
− | + | "description": "PC info", | |
− | + | "params": { | |
− | + | "title": { | |
− | + | "label": "Title", | |
− | + | "description": "Page title, usually character's first name", | |
− | + | "example": "Ghurrix", | |
− | + | "type": "string", | |
− | + | "required": true | |
− | + | }, | |
− | + | "image": { | |
− | + | "label": "Image", | |
− | + | "description": "Picture of character", | |
− | + | "type": "wiki-file-name", | |
− | + | "suggested": true | |
− | + | }, | |
− | + | "name": { | |
− | + | "label": "Full Name", | |
− | + | "description": "Full Name of character, with any titles", | |
− | + | "example": "Thoradin Clearsight of the Templar Order", | |
− | + | "type": "string", | |
− | + | "required": true | |
− | + | }, | |
− | + | "party": { | |
− | + | "label": "Party", | |
− | + | "description": "The Party (campaign) the character belongs/belonged to", | |
− | + | "example": "The Village Butchers", | |
− | + | "type": "string", | |
− | + | "required": true | |
− | + | }, | |
− | + | "class": { | |
− | + | "label": "Class Info", | |
− | + | "description": "Class/Subclass info, including levels in each", | |
− | + | "example": "Bard (College of Lore) 11", | |
− | + | "type": "string", | |
− | + | "suggested": true | |
− | + | }, | |
− | + | "status": { | |
− | + | "label": "Status", | |
− | + | "description": "Current Status - example are Alive, Dead, Left Party, Temporarily Away etc.", | |
− | + | "example": "Dead", | |
− | + | "type": "string", | |
− | + | "default": "Alive", | |
− | + | "autovalue": "", | |
− | + | "suggested": true | |
− | + | }, | |
− | + | "race": { | |
− | + | "label": "Race", | |
− | + | "description": "In-game race/subrace", | |
− | + | "example": "Elf (lmao)", | |
− | + | "type": "string" | |
− | + | }, | |
− | + | "DoB": { | |
− | + | "label": "Date of Birth", | |
− | + | "description": "Date of Birth (and age in brackets if you want). ", | |
− | + | "example": "4-2490 (26)", | |
− | + | "type": "string", | |
− | + | "suggested": true | |
− | + | }, | |
− | + | "physical": { | |
− | + | "label": "Physical Description", | |
− | + | "description": "Height, Weight, Skin Tone, Horns/Tattoos, etc.", | |
− | + | "type": "string", | |
− | + | "suggested": true | |
− | + | }, | |
− | + | "faction": { | |
− | + | "label": "Faction", | |
− | + | "description": "Any factions the character is aligned with (optional)", | |
− | + | "example": "Templar Order", | |
− | + | "type": "wiki-page-name" | |
− | + | }, | |
− | + | "gender": { | |
− | + | "label": "Gender", | |
− | + | "description": "The Character's gender", | |
− | + | "example": "Male, Female, etc." | |
− | + | }, | |
− | + | "customFieldName": { | |
− | + | "label": "Custom Field Name", | |
− | + | "description": "A custom field for you to write your own things" | |
− | + | }, | |
− | + | "customFieldContent": { | |
− | + | "label": "Custom Field Content", | |
− | + | "description": "The content to be placed in the custom field" | |
− | + | } | |
− | + | }, | |
− | + | "paramOrder": [ | |
− | } | + | "title", |
− | </templatedata> | + | "image", |
+ | "name", | ||
+ | "party", | ||
+ | "class", | ||
+ | "status", | ||
+ | "race", | ||
+ | "DoB", | ||
+ | "physical", | ||
+ | "faction", | ||
+ | "gender", | ||
+ | "customFieldName", | ||
+ | "customFieldContent" | ||
+ | ] | ||
+ | } | ||
+ | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 23:14, 15 September 2020
The PC's name | |
---|---|
Full Name: | The PC's full name |
Party: | Some random party |
Class and Subclass Info: | I dunno druid or some shit |
Gender: | Female |
Status: | Dead lmao |
Race: | That's a personal question |
Date of Birth (Age): | 6/9/69 |
Physical Description: | Short af |
A custom field: | Use customFieldName and customFieldContent to create your own custom rows |
PC info
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 |
Faction | faction | Any factions the character is aligned with (optional)
| Page | optional |
Gender | gender | The Character's gender
| Unknown | optional |
Custom Field Name | customFieldName | A custom field for you to write your own things | Unknown | optional |
Custom Field Content | customFieldContent | The content to be placed in the custom field | Unknown | optional |