Difference between revisions of "Template:Statblock"
From Barbaripedia
| Line 1: | Line 1: | ||
{|class="wikitable" style="float:right; margin:10px;" | {|class="wikitable" style="float:right; margin:10px;" | ||
|+{{{NAME}}} | |+{{{NAME}}} | ||
| − | | | + | | {{#if: {{{IMG|}}} | | style="display: none;" }} |
! Foo | ! Foo | ||
| [[File:{{{img}}}|300px]] | | [[File:{{{img}}}|300px]] | ||
Revision as of 16:55, 23 August 2021
| | style="display: none;" }} | Foo | [[File:{{{img}}}|300px]] |
|---|---|---|
| Hit Dice: | {{{HD}}} | |
| Armor Class: | {{{AC}}} | |
| Attack: | +{{{ATK}}} | |
| Damage: | {{{DMG}}} | |
| Shock: | {{{SHK}}} | |
| Morale: | {{{ML}}} | |
| Skill: | {{{SKL}}} | |
| Saving Throw: | +{{{SV}}} | |
| XP: | {{{XP}}} |
To use this template, copy the following code at the top of a page and insert the respective values.
{{Statblock|NAME=|IMG=|HD=|AC=|ATK=|DMG=|SHK=|MV=|FLY=|SWM=|ML=|SKL=|SV=|XP=}}
"IMG", "FLY", and "SWM" can be left undefined, but all others must be defined or cause errors.