Difference between revisions of "Template:PFRPG Statblock"
(Reintroducing updates made during the rollback period) |
m (Bugfix: Why were these missing?) |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{#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; | ||
| + | } | ||
| + | |||
| + | div.pfStat > .pfSection { | ||
| + | border-style: groove none; | ||
| + | overflow: hidden; | ||
| + | padding: 0 0.5em; | ||
| + | text-transform: uppercase; | ||
| + | } | ||
| + | |||
| + | div.pfStat > * > .weaponBlock { | ||
| + | display: inline-block; | ||
| + | vertical-align: top; | ||
| + | } | ||
| + | }}<includeonly><div class="pfStat"> | ||
| + | <div class="pfHeader">{{{name}}}</div> | ||
{{#if: {{{xp|}}}|'''XP''' {{{xp}}}<br />}}{{#if: {{{raceClass|}}}|{{{raceClass}}}<br />}}{{{creatureType}}}<br /> | {{#if: {{{xp|}}}|'''XP''' {{{xp}}}<br />}}{{#if: {{{raceClass|}}}|{{{raceClass}}}<br />}}{{{creatureType}}}<br /> | ||
'''Init''' {{{init|0}}}; '''Senses''' {{{senses}}}<br /> | '''Init''' {{{init|0}}}; '''Senses''' {{{senses}}}<br /> | ||
{{#if: {{{aura|}}}|'''Aura''' {{{aura}}} }} | {{#if: {{{aura|}}}|'''Aura''' {{{aura}}} }} | ||
| − | <div | + | <div class="pfSection">Defense</div> |
'''AC''' {{#expr: 10 + {{{acArmor|0}}} + {{{acShield|0}}} + {{{acNatural|0}}} + {{{acDex|0}}} + {{{acDodge|0}}} + {{{acSize|0}}} + {{{acDeflect|0}}} + {{{acMisc|0}}} }}, | '''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}}} }}, | 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}}} }} | 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}}} + {{{acNatural|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 | |({{Hlist | ||
|{{#if:{{{acArmor|}}}|{{{acArmor}}} Armor}} | |{{#if:{{{acArmor|}}}|{{{acArmor}}} Armor}} | ||
| Line 30: | Line 52: | ||
|{{#if: {{{SR|}}}|'''SR''' {{{SR}}}}} | |{{#if: {{{SR|}}}|'''SR''' {{{SR}}}}} | ||
}} | }} | ||
| − | <div | + | <div class="pfSection">Offense</div> |
'''Speed''' {{{speed}}}<br /> | '''Speed''' {{{speed}}}<br /> | ||
| − | {{#if: {{{meleeWeapons|}}}|<span | + | {{#if: {{{meleeWeapons|}}}|<span class="weaponBlock">'''Melee'''</span> <span class="weaponBlock">{{{meleeWeapons}}}</span><br /> |
| − | }}{{#if: {{{rangedWeapons|}}}|<span | + | }}{{#if: {{{rangedWeapons|}}}|<span class="weaponBlock">'''Ranged'''</span> <span class="weaponBlock">{{{rangedWeapons}}}</span><br /> |
}}{{#if: {{{specAttacks|}}}|'''Special Attacks''' {{{specAttacks}}}<br /> | }}{{#if: {{{specAttacks|}}}|'''Special Attacks''' {{{specAttacks}}}<br /> | ||
}}{{#if: {{{magic|}}}|{{{magic}}}}} | }}{{#if: {{{magic|}}}|{{{magic}}}}} | ||
| − | <div | + | <div class="pfSection">Statistics</div> |
'''Str''' {{{str|-}}} '''Dex''' {{{dex|-}}} '''Con''' {{{con|-}}} '''Int''' {{{int|-}}} '''Wis''' {{{wis|-}}} '''Cha''' {{{cha|-}}}<br /> | '''Str''' {{{str|-}}} '''Dex''' {{{dex|-}}} '''Con''' {{{con|-}}} '''Int''' {{{int|-}}} '''Wis''' {{{wis|-}}} '''Cha''' {{{cha|-}}}<br /> | ||
| Line 49: | Line 71: | ||
}}{{#if: {{{combatGear|}}}|'''Combat Gear''' {{{combatGear}}}{{#if: {{{gear|}}}|; '''Other''' }} }}{{#if: {{{gear|}}}|'''Gear''' {{{gear}}} }} | }}{{#if: {{{combatGear|}}}|'''Combat Gear''' {{{combatGear}}}{{#if: {{{gear|}}}|; '''Other''' }} }}{{#if: {{{gear|}}}|'''Gear''' {{{gear}}} }} | ||
{{#if: {{{specAbilityToggle|}}}| | {{#if: {{{specAbilityToggle|}}}| | ||
| − | <div | + | <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 | + | 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]. | + | 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! | Everything SHOULD work. Stay tuned for magic templates! Until then, write it in by hand! | ||
| Line 71: | Line 93: | ||
=== Defense === | === Defense === | ||
* acArmor (default: 0) | * acArmor (default: 0) | ||
| + | * acShield (default: 0) | ||
* acNatural (default: 0) | * acNatural (default: 0) | ||
* acDex (default: 0) | * acDex (default: 0) | ||
| Line 147: | Line 170: | ||
|language=Common, Musclehead | |language=Common, Musclehead | ||
|combatGear=''potion of cure light wounds'' | |combatGear=''potion of cure light wounds'' | ||
| − | |gear=chain mail, dagger, | + | |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]
Human fighter 1
CE medium humanoid (human)
Init +1; Senses perception +0
Aura Douchebaggery (10 ft.)
AC 17,
touch 11,
flat-footed 16
(+6 Armor, +1 Dex)
hp 13 (1d10+3)
Fort +4 Reflex +1 Will -1
Speed 20 feet
Melee greatsword +5 (2d6+4)
dagger +4 (1d4+3)
Ranged longbow +2 (1d8/x3)
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