Difference between revisions of "Pathfinder by Roll20/Roll Templates"
From Roll20 Wiki
Andreas J. (Talk | contribs) m (→Fields list) |
Andreas J. (Talk | contribs) m (→Attack rolls vs other rolls) |
||
(One intermediate revision by one user not shown) | |||
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>=== | ||
Line 239: | Line 237: | ||
[[Category:Character Sheet Documentation]] | [[Category:Character Sheet Documentation]] | ||
[[Category:Pathfinder]] | [[Category:Pathfinder]] | ||
+ | [[Category:Roll Templates]] |
Latest revision as of 17:24, 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
[edit] 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 |
[edit] Common fields
[edit] 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}}
[edit] 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.
[edit] Type values/icons
{{type=icon}}
icon can be one of the following:
ability hp initiative save skill feat attack damage attackdamage spell
[edit] Fields list
[edit] PC template specific fields and behavior
[edit] 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. :
[edit] “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 :
[edit] NPC template specific fields and behavior
[edit] 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).
[edit] 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: