Difference between revisions of "Template:Statblock"

From Barbaripedia
Jump to: navigation, search
Line 1: Line 1:
 
{|class="wikitable" style="float:right; margin:10px;"
 
{|class="wikitable" style="float:right; margin:10px;"
 
|+{{{NAME}}}
 
|+{{{NAME}}}
 +
|{{#if: {{{IMG|}}} | <tr><td colspan="2">[[File:{{{IMG}}}|300px]]</td></tr> | }}
 
|-
 
|-
{{#if: {{{IMG|}}} | <tr><td colspan="2"> [[File:{{{IMG}}}|300px]]</td></tr>|}}
 
 
|'''Hit Dice:'''
 
|'''Hit Dice:'''
 
|{{{HD}}}
 
|{{{HD}}}
Line 10: Line 10:
 
|-
 
|-
 
|'''Attack:'''
 
|'''Attack:'''
|{{{ATK}}}
+
|<nowiki>+</nowiki>{{{ATK}}}
 
|-
 
|-
 
|'''Damage:'''
 
|'''Damage:'''
Line 28: Line 28:
 
|-
 
|-
 
|'''Saving Throw:'''
 
|'''Saving Throw:'''
|{{{SV}}}
+
|<nowiki>+</nowiki>{{{SV}}}
 
|-
 
|-
 
|'''XP:'''
 
|'''XP:'''
Line 37: Line 37:
 
<noinclude>To use this template, copy the following code at the top of a page and insert the respective values.
 
<noinclude>To use this template, copy the following code at the top of a page and insert the respective values.
  
<code><nowiki>{{Statblock|NAME=|IMG=|HD=|AC=|ATK=<nowiki></nowiki>|DMG=|SHK=|MV=|FLY=|SWM=|ML=|SKL=<nowiki></nowiki>|SV=|XP=}}</nowiki></code>
+
<code><nowiki>{{Statblock|NAME=|IMG=|HD=|AC=|ATK=|DMG=|SHK=|MV=|FLY=|SWM=|ML=|SKL=|SV=|XP=}}</nowiki></code>
  
 
"IMG", "FLY", and "SWM" can be left undefined, but all others must be defined or cause errors.</noinclude>
 
"IMG", "FLY", and "SWM" can be left undefined, but all others must be defined or cause errors.</noinclude>

Revision as of 16:44, 23 August 2021

{{{NAME}}}
<tr><td colspan="2">[[File:{{{IMG}}}|300px]]</td></tr> | }}
Hit Dice: {{{HD}}}
Armor Class: {{{AC}}}
Attack: +{{{ATK}}}
Damage: {{{DMG}}}
Shock: {{{SHK}}}
Move:
Fly:
Swim:
{{{MV}}}
{{{FLY}}}
{{{SWM}}}
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.