Difference between revisions of "Pathfinder by Roll20/Roll Templates"
From Roll20 Wiki
Andreas J. (Talk | contribs) m |
|||
Line 9: | Line 9: | ||
They share mostly the same fields but are styled differently, and the NPC template handles attacks slightly differently. Otherwise, they generally can be used indifferently for macro purpose. | They share mostly the same fields but are styled differently, and the NPC template handles attacks slightly differently. Otherwise, they generally can be used indifferently for macro purpose. | ||
+ | __TOC__ | ||
==Common fields== | ==Common fields== | ||
Revision as of 16:54, 16 February 2021
Attention: Roll20 is no longer maintaining this document on the community wiki. For the most up-to-date information please visit this page on our help center for assistance: Here.
General Notes
The Pathfinder Official character sheet has two different templates, one for PC “&{template:pc}” and one for NPC “&{template:npc}”, that individually handles every types of roll.
They share mostly the same fields but are styled differently, and the NPC template handles attacks slightly differently. Otherwise, they generally can be used indifferently for macro purpose.
Contents |
Common fields
Most used
The main fields are generally:
- showchar + charname: the “show character name” flag + character name
- name: name/title of the roll
- type: icon on the left side of the template
- roll: the value of the roll
- descflag + desc: the “show description” flag + description text
- shownotes + notes: the “show notes” flag + notes text
Example with PC template:
&{template:pc} {{showchar=[[1]]}} {{charname=charname}} {{name=name}} {{type=ability}} {{roll=roll}} {{descflag=1}} {{desc=desc}} {{shownotes=[[1]]}} {{notes=notes}}
Example with NPC template: &{template:npc} {{showchar=[[1]]}} {{charname=charname}} {{name=name}} {{type=ability}} {{roll=roll}} {{descflag=1}} {{desc=desc}} {{shownotes=[[1]]}} {{notes=notes}}
Toggle and [[1]]
Toggle means that if you put anything after the "=", including a space, that feature is turned on, if there is nothing after the "=", then it is off.
[[1]] means that if you put the field equals [[1]] it is “on”, anything else is off.
Type values/icons
{{type=icon}}
icon can be one of the following:
ability hp initiative save skill feat attack damage attackdamage spell
Common fields list
PC template specific fields and behavior
One vs several attack roll(s)
“roll” field is shown in the header only if roll1 is not present (case of multiple attacks). One roll attack, with “roll” field in the header:
Two (or more) rolls attack, “roll” field (“Attack #1”) is shown the same way as “roll1” (“Attack #2”), “roll2” (“Attack #3”) etc. :
“smallname” header
If the “smallname” field is used instead of the “name” field, the template will look like this:
&{template:pc} {{showchar=[[1]]}} {{charname=charname}} {{smallname=name}} {{type=ability}} {{descflag=1}} {{desc=desc}} {{shownotes=[[1]]}} {{notes=notes}}
It is used in the PC sheet only for attacks beyond #1, and damage only rolls :
NPC template specific fields and behavior
Multiple attacks fields
For attack 3 to 9, use the same fields as 2nd attack (roll1, roll1dmg1, roll1dmg1type, roll1dmg1crit, roll1dmg2, rolldmg2type, roll1dmg2crit) but replace roll1 by rollX in every field name (X between 2 and 8).
Attack rolls vs other rolls
The “roll” field is shown differently if the roll is an attack, or not, and if it’s a one or several rolls attack.
If the “attack” field toggle is present, without the “roll1” field, the “roll” field is shown as “Attack” under the header:
If the “attack” field toggle is present, with the “roll1” field, the “roll” field is shown as “Attack #1” under the header:
If other type of roll (no “attack” field), the “roll” field is always shown in the header, after the “name” field: