Difference between revisions of "Template:PFRPG Statblock"
(Reintroducing updates made during the rollback period) |
(CSS cleanup) |
||
| 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}}} }}, | ||
| Line 30: | Line 53: | ||
|{{#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 72: | ||
}}{{#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 NPCs on Paizo's [http://paizo.com/prd Pathfinder Reference Document]. | 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 NPCs on Paizo's [http://paizo.com/prd Pathfinder Reference Document]. | ||
Revision as of 02:16, 20 June 2016
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 NPCs on Paizo's Pathfinder Reference Document.
All material on this page is licensed as Open Game Content under the Open Game License.
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)
- 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
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, longsword, 12 gp