Difference between revisions of "Template:PFRPG Statblock"
m (Bugfix: Why were these missing?) |
|||
| (33 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: {{{ | + | {{#if: {{{aura|}}}|'''Aura''' {{{aura}}} }} |
| − | <div | + | <div class="pfSection">Defense</div> |
| − | '''AC''' {{#expr: 10 + {{{acArmor|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}}} + {{{acNatural|0}}} + {{{acSize|0}}} + {{{acDeflect|0}}} + {{{acMisc|0}}} }}<br /> | + | 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 /> | '''hp''' {{{hitPoints}}} ({{{hitDice}}})<br /> | ||
| − | '''Fort''' {{{fortSave}}} '''Reflex''' {{{reflexSave}}} '''Will''' {{{willSave}}}<br /> | + | '''Fort''' {{{fortSave}}} '''Reflex''' {{{reflexSave}}} '''Will''' {{{willSave}}}<br />{{Hlist |
| − | {{#if: {{{defAbilities|}}}|'''Defensive Abilities''' {{{defAbilities}}} }}{{#if: {{{ | + | |sep=;  |
| − | <div | + | |{{#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 /> | '''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: {{{ | + | }}{{#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 26: | Line 65: | ||
{{#if: {{{feats|}}}|'''Feats''' {{{feats}}}<br /> | {{#if: {{{feats|}}}|'''Feats''' {{{feats}}}<br /> | ||
}}{{#if: {{{skills|}}}|'''Skills''' {{{skills}}}<br /> | }}{{#if: {{{skills|}}}|'''Skills''' {{{skills}}}<br /> | ||
| + | }}{{#if: {{{traits|}}}|'''Traits''' {{{traits}}}<br /> | ||
| + | }}{{#if: {{{drawbacks|}}}|'''Drawbacks''' {{{drawbacks}}}<br /> | ||
}}{{#if: {{{language|}}}|'''Languages''' {{{language}}}<br /> | }}{{#if: {{{language|}}}|'''Languages''' {{{language}}}<br /> | ||
}}{{#if: {{{specQualities|}}}|'''SQ''' {{{specQualities}}}<br /> | }}{{#if: {{{specQualities|}}}|'''SQ''' {{{specQualities}}}<br /> | ||
}}{{#if: {{{combatGear|}}}|'''Combat Gear''' {{{combatGear}}}{{#if: {{{gear|}}}|; '''Other''' }} }}{{#if: {{{gear|}}}|'''Gear''' {{{gear}}} }} | }}{{#if: {{{combatGear|}}}|'''Combat Gear''' {{{combatGear}}}{{#if: {{{gear|}}}|; '''Other''' }} }}{{#if: {{{gear|}}}|'''Gear''' {{{gear}}} }} | ||
| − | </div></includeonly> | + | {{#if: {{{specAbilityToggle|}}}| |
| − | <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 | + | <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 == | == Parameters == | ||
| Line 39: | Line 83: | ||
=== Overview === | === Overview === | ||
* name | * name | ||
| − | * challengeRating (optional) | + | * ''challengeRating (optional, disabled)'' |
* xp (optional) | * xp (optional) | ||
* raceClass (optional) | * raceClass (optional) | ||
| Line 49: | 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 61: | Line 106: | ||
* willSave | * willSave | ||
* defAbilities (optional) | * defAbilities (optional) | ||
| − | * | + | * DR (optional) |
* immune (optional) | * immune (optional) | ||
* resist (optional) | * resist (optional) | ||
| − | * | + | * SR (optional) |
=== Offense === | === Offense === | ||
| Line 70: | Line 115: | ||
* meleeWeapons (optional) | * meleeWeapons (optional) | ||
* rangedWeapons (optional) | * rangedWeapons (optional) | ||
| − | * | + | * specAttacks (optional) |
| − | * magic (optional | + | * magic (optional) |
=== Statistics === | === Statistics === | ||
| Line 85: | Line 130: | ||
* feats (optional) | * feats (optional) | ||
* skills (optional) | * skills (optional) | ||
| + | * traits (optional) | ||
| + | * drawbacks (optional) | ||
| + | * language (optional) | ||
* specQualities (optional) | * specQualities (optional) | ||
| − | |||
* combatGear (optional) | * combatGear (optional) | ||
* gear (optional) | * gear (optional) | ||
| + | * specAbilityToggle (optional) | ||
== Example == | == Example == | ||
| Line 98: | Line 146: | ||
|init=+1 | |init=+1 | ||
|senses=perception +0 | |senses=perception +0 | ||
| + | |aura=Douchebaggery (10 ft.) | ||
|acArmor=+6 | |acArmor=+6 | ||
|acDex=+1 | |acDex=+1 | ||
| Line 105: | Line 154: | ||
|reflexSave=+1 | |reflexSave=+1 | ||
|willSave=-1 | |willSave=-1 | ||
| − | |speed= | + | |speed=20 feet |
|meleeWeapons=greatsword +5 (2d6+4)<br />dagger +4 (1d4+3) | |meleeWeapons=greatsword +5 (2d6+4)<br />dagger +4 (1d4+3) | ||
| − | |rangedWeapons=longbow +2 (1d8) | + | |rangedWeapons=longbow +2 (1d8/x3) |
|str=17 | |str=17 | ||
|dex=13 | |dex=13 | ||
| Line 120: | Line 169: | ||
|skills=Bluff +1, Climb +7, Intimidate +4, Perception +0 | |skills=Bluff +1, Climb +7, Intimidate +4, Perception +0 | ||
|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