Difference between revisions of "Pathfinder by Roll20/Roll Templates"
From Roll20 Wiki
Andreas J. (Talk | contribs) m |
Andreas J. (Talk | contribs) m (→Attack rolls vs other rolls) |
||
(6 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | {{HCbox| {{hc|articles/360037257814-Pathfinder-Official-Templates Here}} }} | + | {{revdate}}{{HCbox| {{hc|articles/360037257814-Pathfinder-Official-Templates Here}} }} |
− | + | {{main|Pathfinder by Roll20}} | |
+ | ==General Notes== | ||
The [[Pathfinder by Roll20]] character sheet has two different templates, one for PC (<code>&{template:pc}</code>) and one for NPC (<code>&{template:npc}</code>), that individually handles every types of roll. | The [[Pathfinder by Roll20]] character sheet has two different templates, one for PC (<code>&{template:pc}</code>) and one for NPC (<code>&{template:npc}</code>), that individually handles every types of roll. | ||
Line 7: | Line 8: | ||
__TOC__ | __TOC__ | ||
− | ==Common fields== | + | ===Common fields=== |
===Most used=== | ===Most used=== | ||
Line 19: | 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> |
− | |||
+ | [[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> |
− | + | ||
− | + | ||
===Toggle and <nowiki>[[1]]</nowiki>=== | ===Toggle and <nowiki>[[1]]</nowiki>=== | ||
Line 34: | Line 33: | ||
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. | 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. | ||
− | <nowiki>[[1]]</nowiki> means that if you put the field equals <nowiki>[[1]]</nowiki> it is “on”, anything else is off. | + | <code><nowiki>[[1]]</nowiki></code> means that if you put the field equals <code><nowiki>[[1]]</nowiki></code> it is “on”, anything else is off. |
− | + | ==Type values/icons== | |
− | < | + | <pre style="overflow:auto;white-space:pre-wrap;">{{type=icon}}</pre> |
''icon'' can be one of the following: | ''icon'' can be one of the following: | ||
Line 53: | Line 52: | ||
[[File:PF_wiki_Spell.jpg|Spell/Spell-like ability]] spell | [[File:PF_wiki_Spell.jpg|Spell/Spell-like ability]] spell | ||
− | == | + | ==Fields list== |
{| class="wikitable" | {| class="wikitable" | ||
Line 78: | Line 77: | ||
|- | |- | ||
| roll || Roll || Main roll. [[File:PF_wiki_Template_Strength.jpeg]] | | roll || Roll || Main roll. [[File:PF_wiki_Template_Strength.jpeg]] | ||
+ | |- | ||
+ | | || || '''1st Attack & Damge''' | ||
|- | |- | ||
| critconfirm || Roll || Critical confirmation roll. Shown only if attack and roll are present, and roll crits.[[File:PF_wiki_Template_critconfirm.jpeg]] | | critconfirm || Roll || Critical confirmation roll. Shown only if attack and roll are present, and roll crits.[[File:PF_wiki_Template_critconfirm.jpeg]] | ||
Line 92: | Line 93: | ||
|- | |- | ||
| rolldmg2crit || Roll || Critical second damage of the first or only attack. Shown only if attack and roll are present, and if roll crits. | | rolldmg2crit || Roll || Critical second damage of the first or only attack. Shown only if attack and roll are present, and if roll crits. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| damage || Toggle || Use this for damage only rolls (no “roll”/”roll1” etc.) | | damage || Toggle || Use this for damage only rolls (no “roll”/”roll1” etc.) | ||
Line 126: | Line 111: | ||
|- | |- | ||
| dmg1type || Text || Type of the 2nd damage (shown only if dmg2flag is present) | | dmg1type || Text || Type of the 2nd damage (shown only if dmg2flag is present) | ||
+ | |- | ||
+ | | || || '''2nd Attack''' | ||
+ | |- | ||
+ | | critconfirm1 || Roll || Critical confirmation roll. Shown only if attack and roll are present, and roll crits. | ||
+ | |- | ||
+ | | roll1 || Roll || 2nd attack roll. Shown only if attack is present. | ||
+ | |- | ||
+ | | roll1dmg1 || Roll || First damage of the 2nd attack. Shown only if attack and roll1 are present. | ||
+ | |- | ||
+ | | roll1dmg1type || Text || Type of first damage of the 2nd attack. Shown only if roll1dmg1 is present. | ||
+ | |- | ||
+ | | roll1dmg1crit || Roll || Critical first damage of the 2nd attack. Shown only if attack and roll1 are present, and if roll1 crits. | ||
+ | |- | ||
+ | | roll1dmg2 || Roll || Second damage of the 2nd attack. Shown only if attack and roll1 are present. | ||
+ | |- | ||
+ | | rolldmg2type || Text || Type of second damage of the2nd attack. Shown only if roll1dmg2 is present. | ||
+ | |- | ||
+ | | roll1dmg2crit || Roll || Critical second damage of the 2nd attack. Shown only if attack and roll1 are present, and if roll1 crits. | ||
+ | |- | ||
+ | | || || '''Attack 3 - 9''' | ||
+ | |- | ||
+ | | '''Attack 3''' || || critconfirm2, roll2, roll2dmg1, roll2dmg1type, roll2dmg1crit, roll2dmg2, roll2dmg2type, roll2dmg2crit | ||
+ | |- | ||
+ | | '''Attack 4''' || || Same pattern as, Attack 3, replace <code>roll2</code> with <code>roll3</code> | ||
+ | |- | ||
+ | | || || '''Spells''' | ||
|- | |- | ||
| shortdesc || Text || Short description [[File:PF_wiki_Template_desc.jpeg]] | | shortdesc || Text || Short description [[File:PF_wiki_Template_desc.jpeg]] | ||
Line 166: | Line 177: | ||
|- | |- | ||
| concentration || Text || Concentration roll link | | concentration || Text || Concentration roll link | ||
+ | |- | ||
+ | | || || '''Description/Notes''' | ||
|- | |- | ||
| descflag || Toggle || Description toggle | | descflag || Toggle || Description toggle | ||
Line 176: | Line 189: | ||
|} | |} | ||
− | + | ==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). | “roll” field is shown in the header only if roll1 is not present (case of multiple attacks). | ||
Line 189: | Line 202: | ||
[[File:PF_wiki_Template_two_attack.jpeg]] | [[File:PF_wiki_Template_two_attack.jpeg]] | ||
− | + | ===“smallname” header=== | |
If the “smallname” field is used instead of the “name” field, the template will look like this: | If the “smallname” field is used instead of the “name” field, the template will look like this: | ||
− | < | + | <pre style="overflow:auto;white-space:pre-wrap;">&{template:pc} {{showchar=[[1]]}} {{charname=charname}} {{smallname=name}} {{type=ability}} {{descflag=1}} {{desc=desc}} {{shownotes=[[1]]}} {{notes=notes}}</pre> |
[[File:PF_wiki_Template_charname.jpeg]] | [[File:PF_wiki_Template_charname.jpeg]] | ||
Line 200: | Line 213: | ||
[[File:PF_wiki_Template_damage_only.jpeg]] | [[File:PF_wiki_Template_damage_only.jpeg]] | ||
− | + | ==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). | 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. | The “roll” field is shown differently if the roll is an attack, or not, and if it’s a one or several rolls attack. | ||
Line 224: | 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: