Template:Infobox character: Difference between revisions
Appearance
Erfxploded (talk | contribs) mNo edit summary Tags: Mobile edit Mobile web edit |
Erfxploded (talk | contribs) mNo edit summary Tags: Mobile edit Mobile web edit |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{| class="wikitable infobox" style="width:20%;" | ||
{| class="wikitable infobox" style="width:20%;" | |||
! colspan=4 {{!}} {{{name|{{PAGENAME}}}}} | ! colspan=4 {{!}} {{{name|{{PAGENAME}}}}} | ||
{{#if:{{{image|}}}|{{!}}- style="text-align:center" | {{#if:{{{image|}}}|{{!}}- style="text-align:center" | ||
| Line 47: | Line 46: | ||
{{!}}{{{status}}} | {{!}}{{{status}}} | ||
{{!}}-|}} | {{!}}-|}} | ||
|}</includeonly><noinclude> | |}<templatestyles src="Template:Infobox/styles.css" />{{#if:{{{nocat|}}}||{{#if:{{{player|}}}|[[Category:Player Characters]]|[[Category:NPCs]]}}}}</includeonly><noinclude> | ||
Character infobox. | Character infobox. | ||
Revision as of 21:27, 10 August 2026
Character infobox.
Base variables are name, image, image_caption, race, class, subclass, level, alignment, background, faction.
Combat stats are hp (health points), ac (armor class), str, dex, con, int, wis, cha.
Meta variables are player, campaign, status.
Function variables are nocat.
If player is set to anything, the Player Characters category is added, otherwise the NPCs category is added. If nocat is set to anything (e.g. |nocat=1), no category is added by the template.