Difference between revisions of "Pathfinder by Roll20/Roll Templates"
From Roll20 Wiki
Andreas J. (Talk | contribs) m (→Fields list) |
Andreas J. (Talk | contribs) m (→Most used) |
||
Line 20: | Line 20: | ||
* shownotes + notes: the “show notes” flag + notes text | * shownotes + notes: the “show notes” flag + notes text | ||
− | + | [[File:PF wiki Template.jpeg|framed|right]] | |
Example with PC template: | Example with PC template: | ||
<pre style="overflow:auto;white-space:pre-wrap;">&{template:pc} {{showchar=[[1]]}} {{charname=charname}} {{name=name}} {{type=ability}} {{roll=roll}} {{descflag=1}} {{desc=desc}} {{shownotes=[[1]]}} {{notes=notes}}</pre> | <pre style="overflow:auto;white-space:pre-wrap;">&{template:pc} {{showchar=[[1]]}} {{charname=charname}} {{name=name}} {{type=ability}} {{roll=roll}} {{descflag=1}} {{desc=desc}} {{shownotes=[[1]]}} {{notes=notes}}</pre> | ||
− | |||
+ | [[File:PF_wiki_Template_NPC.jpeg|framed|right]] | ||
Example with NPC template: | Example with NPC template: | ||
<pre style="overflow:auto;white-space:pre-wrap;">&{template:npc} {{showchar=[[1]]}} {{charname=charname}} {{name=name}} {{type=ability}} {{roll=roll}} {{descflag=1}} {{desc=desc}} {{shownotes=[[1]]}} {{notes=notes}}</pre> | <pre style="overflow:auto;white-space:pre-wrap;">&{template:npc} {{showchar=[[1]]}} {{charname=charname}} {{name=name}} {{type=ability}} {{roll=roll}} {{descflag=1}} {{desc=desc}} {{shownotes=[[1]]}} {{notes=notes}}</pre> | ||
− | |||
− | |||
===Toggle and <nowiki>[[1]]</nowiki>=== | ===Toggle and <nowiki>[[1]]</nowiki>=== |
Revision as of 17:21, 7 December 2021
Page Updated: 2021-12-07 |
Attention: This page is community-maintained. For the official Roll20 version of this article, see the Help Center for assistance: Here .
Main Page: Pathfinder by Roll20
General Notes
The Pathfinder by Roll20 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
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: