Actions

Template

Difference between revisions of "CharacterInfoBox"

m (Title fixes)
(Added an extra content field and an alias parameter)
Line 59: Line 59:
 
         </tr>
 
         </tr>
 
     }}
 
     }}
 +
{{#if: {{{alias|}}}|
 +
        <tr>
 +
            <td class="infoboxtd1strow" style="padding: 10px;"><b>Alias(es)</b>:</td>
 +
            <td>[[{{{alias}}}]]</td>
 +
        </tr>
 +
    }}
 +
{{#if: {{{extraContent|}}}
 +
    {{{extraContent}}}
 
}}
 
}}
 +
 
<noinclude>
 
<noinclude>
 
<templatedata>
 
<templatedata>
Line 139: Line 148:
 
"example": "Templars",
 
"example": "Templars",
 
"type": "wiki-page-name"
 
"type": "wiki-page-name"
 +
},
 +
"extraContent": {
 +
"label": "Extra content",
 +
"description": "Anything extra specific to a certain character",
 +
"type": "content"
 
}
 
}
 
},
 
},
Line 152: Line 166:
 
"physical",
 
"physical",
 
"location",
 
"location",
"faction"
+
"faction",
 +
"extraContent"
 
]
 
]
 
}
 
}
 
</templatedata>
 
</templatedata>
 
</noinclude>
 
</noinclude>

Revision as of 22:15, 12 September 2020

{{InfoBox|title=|infoBoxTable=








PC info

Template parameters

ParameterDescriptionTypeStatus
Titletitle

Page title, usually character's first name

Example
Ghurrix
Stringrequired
Imageimage

Picture of character

Filesuggested
Full Namename

Full Name of character, with any titles

Example
Thoradin Clearsight of the Templar Order
Stringrequired
Partyparty

The Party (campaign) the character belongs/belonged to

Example
The Village Butchers
Stringrequired
Class Infoclass

Class/Subclass info, including levels in each

Example
Bard (College of Lore) 11
Stringsuggested
Statusstatus

Current Status - example are Alive, Dead, Left Party, Temporarily Away etc.

Default
Alive
Example
Dead
Auto value
Stringsuggested
Racerace

In-game race/subrace

Example
Elf (lmao)
Stringoptional
Date of BirthDoB

Date of Birth (and age in brackets if you want).

Example
4-2490 (26)
Stringsuggested
Physical Descriptionphysical

Height, Weight, Skin Tone, Horns/Tattoos, etc.

Stringsuggested
Last known locationlocation

The last place the character was known to be

Example
Tala Rane
Pagesuggested
Factionfaction

Any factions the character is aligned with

Example
Templars
Pageoptional
Extra contentextraContent

Anything extra specific to a certain character

Contentoptional