Difference between revisions of "Template:PFRPG Statblock"

From Bearscape Wiki
Jump to: navigation, search
m
m (Bugfix: Why were these missing?)
 
(45 intermediate revisions by the same user not shown)
Line 1: Line 1:
''This template is not functional at present. sorry!''
+
{{#css:
 +
div.pfStat > .pfHeader {
 +
    background-color: black;
 +
    border-style: double none;
 +
    color: white;
 +
    font-weight: bold;
 +
    overflow: hidden;
 +
    padding: 0 0.5em;
 +
    text-transform: uppercase;
 +
}
  
<noinclude>This template presents a Pathfinder monster stat block. Display it in your page as follows:
+
div.pfStat > .pfSection {
[noparse]
+
    border-style: groove none;
[template]Pathfinder Monster
+
    overflow: hidden;
| name=
+
    padding: 0 0.5em;
| cr=
+
    text-transform: uppercase;
| xp=
+
}
| gender=
 
| race=
 
| class=
 
| level=
 
| alignment=
 
| size=
 
| type=
 
| subtypes=
 
| initiative=
 
| senses=
 
| perception=
 
| ac=
 
| touch=
 
| flatfooted=
 
| acmods=
 
| hp=
 
| hd=
 
| fort=
 
| ref=
 
| will=
 
| defensiveabilities=
 
| dr=
 
| immune=
 
| resist=
 
| weaknesses=
 
| sr=
 
| speed=
 
| speedagility=
 
| space=
 
| reach=
 
| melee=
 
| ranged=
 
| specialattacks=
 
| spelllikeabilitiescasterlevel=
 
| spelllikeabilites=
 
| spellcasterlevel=
 
| spellsknownprepared=
 
| str=
 
| dex=
 
| con=
 
| int=
 
| wis=
 
| cha=
 
| baseattack=
 
| cmb=
 
| cmd=
 
| feats=
 
| skills=
 
| languages=
 
| specialabilities=
 
[/template]
 
[/noparse]
 
  
[hr]width=100%|size=5|color=blue|color1=blue|color2=red[/hr]
+
div.pfStat > * > .weaponBlock {
 +
    display: inline-block;
 +
    vertical-align: top;
 +
}
 +
}}<includeonly><div class="pfStat">
 +
<div class="pfHeader">{{{name}}}</div>
  
[table] border="0" width="50%" cellpadding="8" cellspacing="0" style="border: 1px solid #ff8800"
+
{{#if: {{{xp|}}}|'''XP''' {{{xp}}}<br />}}{{#if: {{{raceClass|}}}|{{{raceClass}}}<br />}}{{{creatureType}}}<br />
|-
+
'''Init''' {{{init|0}}}; '''Senses''' {{{senses}}}<br />
| class="tcat" | {{{name}}}
+
{{#if: {{{aura|}}}|'''Aura''' {{{aura}}} }}
| class="tcat" width="25%" align="right"| CR {{{cr}}}  
+
<div class="pfSection">Defense</div>
|-
 
| class="alt1" colspan="2" | [B]XP[/B] {{{xp}}}
 
[if="{{{class|}}}"]
 
|-
 
| class="alt1" colspan="2" | [i]{{{gender}}} {{{race}}} {{{class}}} {{{level}}}[/i][/if]
 
|-
 
| class="alt2" colspan="2" | {{{alignment}}} {{{size}}} {{{type}}} ({{{subtypes}}})
 
|-
 
| class="thead" colspan="2" | DEFENSE
 
|-
 
| class="alt1" colspan="2" | [B]AC[/B] {{{ac}}}, touch {{{touch}}}, flatfooted {{{flatfooted}}} ({{{acmods}}})
 
|-
 
| class="alt2" colspan="2" | [B]hp[/B] {{{hp}}} ({{{hd}}})
 
|-
 
| class="alt1" colspan="2" | [B]Fort[/B] {{{fort}}}, [B]Ref[/B] {{{ref}}}, [B]Will[/B] {{{will}}}
 
|-
 
| class="alt2" colspan="2" | [B]Defensive abilities[/B] {{{defensiveabilities}}}; [B]DR[/B] {{{dr}}}; [B]Immune[/B] {{{immune}}}; [B]Resist[/B] {{{resist}}}; [B]SR[/B] {{{sr}}}
 
|-
 
| class="alt1" colspan="2" | [B]Weaknesses[/B] {{{weaknesses}}}
 
|-
 
| class="tcat" colspan="2" | OFFENSE
 
|-
 
| class="alt1" colspan="2" | [B]Speed[/B] {{{speed}}} ({{{speedagility}}})
 
|-
 
| class="alt2" colspan="2" | [B]Space[/B] {{{space}}}; [B]Reach[/B] {{{reach}}}
 
|-
 
| class="alt1" colspan="2" | [B]Melee[/B] {{{melee}}}
 
[if="{{{ranged|}}}"]
 
|-
 
| class="alt1" colspan="2" | [B]Ranged[/B] {{{ranged}}}[/if]
 
[if="{{{specialattacks|}}}"]
 
|-
 
| class="alt2" colspan="2" | [B]Special Attacks[/B] {{{specialattacks}}}[/if]
 
[if="{{{spelllikeabilities|}}}"]
 
|-
 
| class="alt1" colspan="2" | [B]Spell-Like Abilities[/B] (CL {{{spelllikeabilitiescasterlevel}}})
 
{{{spelllikeabilities}}}[/if]
 
[if="{{{spellsknownprepared|}}}"]
 
|-
 
| class="alt1" colspan="2" | [B]Spells Known/Prepared[/B] (CL {{{spellcasterlevel|}}})
 
{{{spellsknownprepared}}}[/if]
 
|-
 
| class="tcat" colspan="2" | STATISTICS
 
|-
 
| class="alt1" colspan="2" | [B]Str[/B] {{{str}}},[B] Dex [/B]{{{dex}}}, [B]Con[/B] {{{con}}}, [B]Int[/B] {{{int}}}, [B]Wis[/B] {{{wis}}}, [B]Cha[/B] {{{cha}}}
 
|-
 
| class="alt2" colspan="2" | [B]Base Atk[/B] {{{baseattack}}}; [B]CMB[/B] {{{cmb}}}; [B]CMD[/B] {{{cmd}}}
 
|-
 
| class="alt1" colspan="2" | [B]Feats[/B] {{{feats}}}
 
|-
 
| class="alt2" colspan="2" | [B]Skills[/B] {{{skills}}}
 
|-
 
| class="alt1" colspan="2" | [B]Languages[/B] {{{languages}}}
 
[if="{{{specialabilities|}}}"]
 
|-
 
| class="tcat" colspan="2" | SPECIAL QUALITIES
 
|-
 
| class="alt1" colspan="2" | {{{specialabilities}}}[/if]
 
[/table]
 
  
 +
'''AC''' {{#expr: 10 + {{{acArmor|0}}} + {{{acShield|0}}} + {{{acNatural|0}}} + {{{acDex|0}}} + {{{acDodge|0}}} + {{{acSize|0}}} + {{{acDeflect|0}}} + {{{acMisc|0}}} }},
 +
touch {{#expr: 10 + {{{acDex|0}}} + {{{acDodge|0}}} + {{{acSize|0}}} + {{{acDeflect|0}}} + {{{acMisc|0}}} }},
 +
flat-footed {{#expr: 10 + {{{acArmor|0}}} + {{{acShield|0}}} + {{{acNatural|0}}} + {{#ifexpr:{{{acDex|0}}} < 0|{{{acDex}}}|0}} + {{{acSize|0}}} + {{{acDeflect|0}}} + {{{acMisc|0}}} }}
 +
{{#ifexpr: {{{acArmor|0}}} + {{{acShield|0}}} + {{{acNatural|0}}} + {{{acDex|0}}} + {{{acDodge|0}}} + {{{acSize|0}}} + {{{acDeflect|0}}} + {{{acMisc|0}}}
 +
|({{Hlist
 +
|{{#if:{{{acArmor|}}}|{{{acArmor}}} Armor}}
 +
|{{#if:{{{acShield|}}}|{{{acShield}}} Shield}}
 +
|{{#if:{{{acDeflect|}}}|{{{acDeflect}}} Deflection}}
 +
|{{#if:{{{acDex|}}}|{{{acDex}}} Dex}}
 +
|{{#if:{{{acDodge|}}}|{{{acDodge}}} Dodge}}
 +
|{{#if:{{{acNatural|}}}|{{{acNatural}}} Natural}}
 +
|{{#if:{{{acSize|}}}|{{{acSize}}} Size}}
 +
|{{#if:{{{acMisc|}}}|{{{acMisc}}} Misc.}}
 +
}})}}<br />
 +
'''hp''' {{{hitPoints}}} ({{{hitDice}}})<br />
 +
'''Fort''' {{{fortSave}}} '''Reflex''' {{{reflexSave}}} '''Will''' {{{willSave}}}<br />{{Hlist
 +
|sep=;&#32;
 +
|{{#if: {{{defAbilities|}}}|'''Defensive Abilities''' {{{defAbilities}}}}}
 +
|{{#if: {{{DR|}}}|'''DR''' {{{DR}}}}}
 +
|{{#if: {{{immune|}}}|'''Immune''' {{{immune}}}}}
 +
|{{#if: {{{resist|}}}|'''Resist''' {{{resist}}}}}
 +
|{{#if: {{{SR|}}}|'''SR''' {{{SR}}}}}
 +
}}
 +
<div class="pfSection">Offense</div>
 +
 +
'''Speed''' {{{speed}}}<br />
 +
{{#if: {{{meleeWeapons|}}}|<span class="weaponBlock">'''Melee'''</span> <span class="weaponBlock">{{{meleeWeapons}}}</span><br />
 +
}}{{#if: {{{rangedWeapons|}}}|<span class="weaponBlock">'''Ranged'''</span> <span class="weaponBlock">{{{rangedWeapons}}}</span><br />
 +
}}{{#if: {{{specAttacks|}}}|'''Special Attacks''' {{{specAttacks}}}<br />
 +
}}{{#if: {{{magic|}}}|{{{magic}}}}}
 +
<div class="pfSection">Statistics</div>
 +
 +
'''Str''' {{{str|-}}} '''Dex''' {{{dex|-}}} '''Con''' {{{con|-}}} '''Int''' {{{int|-}}} '''Wis''' {{{wis|-}}} '''Cha''' {{{cha|-}}}<br />
 +
'''Base Atk''' {{{BAB|0}}} '''CMB''' {{{CMB|0}}} '''CMD''' {{{CMD|10}}}<br />
 +
{{#if: {{{feats|}}}|'''Feats''' {{{feats}}}<br />
 +
}}{{#if: {{{skills|}}}|'''Skills''' {{{skills}}}<br />
 +
}}{{#if: {{{traits|}}}|'''Traits''' {{{traits}}}<br />
 +
}}{{#if: {{{drawbacks|}}}|'''Drawbacks''' {{{drawbacks}}}<br />
 +
}}{{#if: {{{language|}}}|'''Languages''' {{{language}}}<br />
 +
}}{{#if: {{{specQualities|}}}|'''SQ''' {{{specQualities}}}<br />
 +
}}{{#if: {{{combatGear|}}}|'''Combat Gear''' {{{combatGear}}}{{#if: {{{gear|}}}|&#59; '''Other'''&nbsp;}} }}{{#if: {{{gear|}}}|'''Gear''' {{{gear}}} }}
 +
{{#if: {{{specAbilityToggle|}}}|
 +
<div class="pfSection">Special Abilities</div>}}</div></includeonly><noinclude>
 +
This is a template for creating accessible mechanical information for creatures and characters of the Pathfinder Roleplaying Game. This is based on the same templates used for NPC and bestiary entries on Paizo's [http://paizo.com/prd Pathfinder Reference Document]. Don't understand how to read it? [http://paizo.com/pathfinderRPG/prd/bestiary/introduction.html click here!]
 +
 +
All material on this page is licensed as Open Game Content under the [http://www.opengamingfoundation.org/ogl.html Open Game License]. This does not, however, necessarily extend to pages that use this template.
 +
 +
Everything SHOULD work. Stay tuned for magic templates! Until then, write it in by hand!
 +
 +
== Parameters ==
 +
Sorted by category
 +
 +
=== Overview ===
 +
* name
 +
* ''challengeRating (optional, disabled)''
 +
* xp (optional)
 +
* raceClass (optional)
 +
* creatureType
 +
* init (default: 0)
 +
* senses
 +
* aura (optional)
 +
 +
=== Defense ===
 +
* acArmor (default: 0)
 +
* acShield (default: 0)
 +
* acNatural (default: 0)
 +
* acDex (default: 0)
 +
* acDodge (default: 0)
 +
* acDeflect (default: 0)
 +
* acSize (default: 0)
 +
* acMisc (default: 0)
 +
* hitPoints
 +
* hitDice
 +
* fortSave
 +
* reflexSave
 +
* willSave
 +
* defAbilities (optional)
 +
* DR (optional)
 +
* immune (optional)
 +
* resist (optional)
 +
* SR (optional)
 +
 +
=== Offense ===
 +
* speed
 +
* meleeWeapons (optional)
 +
* rangedWeapons (optional)
 +
* specAttacks (optional)
 +
* magic (optional)
 +
 +
=== Statistics ===
 +
* str (default: -)
 +
* dex (default: -)
 +
* con (default: -)
 +
* int (default: -)
 +
* wis (default: -)
 +
* cha (default: -)
 +
* BAB (default: 0)
 +
* CMB (default: 0)
 +
* CMD (default: 10)
 +
* feats (optional)
 +
* skills (optional)
 +
* traits (optional)
 +
* drawbacks (optional)
 +
* language (optional)
 +
* specQualities (optional)
 +
* combatGear (optional)
 +
* gear (optional)
 +
* specAbilityToggle (optional)
 +
 +
== Example ==
 +
{{PFRPG_Statblock
 +
|name=Mister Goodguy
 +
|challengeRating=1/2
 +
|raceClass=Human fighter 1
 +
|creatureType=CE medium humanoid (human)
 +
|init=+1
 +
|senses=perception +0
 +
|aura=Douchebaggery (10 ft.)
 +
|acArmor=+6
 +
|acDex=+1
 +
|hitPoints=13
 +
|hitDice=1d10+3
 +
|fortSave=+4
 +
|reflexSave=+1
 +
|willSave=-1
 +
|speed=20 feet
 +
|meleeWeapons=greatsword +5 (2d6+4)<br />dagger +4 (1d4+3)
 +
|rangedWeapons=longbow +2 (1d8/x3)
 +
|str=17
 +
|dex=13
 +
|con=14
 +
|int=13
 +
|wis=8
 +
|cha=11
 +
|BAB=+1
 +
|CMB=+4
 +
|CMD=15
 +
|feats=Power Attack, Cleave, Weapon Focus (greatsword)
 +
|skills=Bluff +1, Climb +7, Intimidate +4, Perception +0
 +
|language=Common, Musclehead
 +
|combatGear=''potion of cure light wounds''
 +
|gear=chain mail, dagger, greatsword, 12 gp
 +
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 23:52, 23 February 2017

This is a template for creating accessible mechanical information for creatures and characters of the Pathfinder Roleplaying Game. This is based on the same templates used for NPC and bestiary entries on Paizo's Pathfinder Reference Document. Don't understand how to read it? click here!

All material on this page is licensed as Open Game Content under the Open Game License. This does not, however, necessarily extend to pages that use this template.

Everything SHOULD work. Stay tuned for magic templates! Until then, write it in by hand!

Parameters[edit]

Sorted by category

Overview[edit]

  • name
  • challengeRating (optional, disabled)
  • xp (optional)
  • raceClass (optional)
  • creatureType
  • init (default: 0)
  • senses
  • aura (optional)

Defense[edit]

  • acArmor (default: 0)
  • acShield (default: 0)
  • acNatural (default: 0)
  • acDex (default: 0)
  • acDodge (default: 0)
  • acDeflect (default: 0)
  • acSize (default: 0)
  • acMisc (default: 0)
  • hitPoints
  • hitDice
  • fortSave
  • reflexSave
  • willSave
  • defAbilities (optional)
  • DR (optional)
  • immune (optional)
  • resist (optional)
  • SR (optional)

Offense[edit]

  • speed
  • meleeWeapons (optional)
  • rangedWeapons (optional)
  • specAttacks (optional)
  • magic (optional)

Statistics[edit]

  • str (default: -)
  • dex (default: -)
  • con (default: -)
  • int (default: -)
  • wis (default: -)
  • cha (default: -)
  • BAB (default: 0)
  • CMB (default: 0)
  • CMD (default: 10)
  • feats (optional)
  • skills (optional)
  • traits (optional)
  • drawbacks (optional)
  • language (optional)
  • specQualities (optional)
  • combatGear (optional)
  • gear (optional)
  • specAbilityToggle (optional)

Example[edit]

Mister Goodguy

Human fighter 1
CE medium humanoid (human)
Init +1; Senses perception +0
Aura Douchebaggery (10 ft.)

Defense

AC 17, touch 11, flat-footed 16 (+6 Armor, +1 Dex)
hp 13 (1d10+3)
Fort +4 Reflex +1 Will -1

Offense

Speed 20 feet
Melee greatsword +5 (2d6+4)
dagger +4 (1d4+3)

Ranged longbow +2 (1d8/x3)

Statistics

Str 17 Dex 13 Con 14 Int 13 Wis 8 Cha 11
Base Atk +1 CMB +4 CMD 15
Feats Power Attack, Cleave, Weapon Focus (greatsword)
Skills Bluff +1, Climb +7, Intimidate +4, Perception +0
Languages Common, Musclehead
Combat Gear potion of cure light wounds; Other Gear chain mail, dagger, greatsword, 12 gp