Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Pathfinder] General Roll Template Nesting Dropdown Queries

Hello! I'm trying to make a Roll Template for my Bless Equipment ability. &nbsp;There are several abilities for Bless Equipment, and I'd like to set it up so I click the macro and select which version I am using from the drop down list and have the different tags appear or not appear based upon which version I selected. &nbsp;Currently I think I can't nest ?{X|Y,Y|Z,Z} queries, and or I can't nest&nbsp;?{X|Y,Y|Z,Z} queries inside {{}} tags. &nbsp;When I do this it seems to break the template entirely. Is this possible? Thank you in advance, --- @{PC-whisper} &{template:pf_generic} @{toggle_accessible_flag} @{toggle_rounded_flag}{{color=@{rolltemplate_color}}} {{header_image=@{header_image-pf_generic}}} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{subtitle}} {{name=Bless Equipment}} {{name_link=<a href="http://www.d20pfsrd.com/feats/general-feats/bless-equipment" rel="nofollow">http://www.d20pfsrd.com/feats/general-feats/bless-equipment</a>}} {{subtitle=Feat}} {{UMD Check=[[1d20+@{Use-Magic-Device}]]/[[20]]}} {{Range=Touch}} {{Duration of Enchantment=[[floor((@{spellclass-0-level-total}/2))]]/rounds}} {{Blessing=Ghost Touch}} {{Uses of Channel=[[2]]}} {{description=A ghost touch weapon deals damage normally against incorporeal creatures, regardless of its bonus. An incorporeal creature's [[50]]% reduction in damage from corporeal sources does not apply to attacks made against it with ghost touch weapons. The weapon can be picked up and moved by an incorporeal creature at any time. A manifesting ghost can wield the weapon against corporeal foes. Essentially, a ghost touch weapon counts as both corporeal or incorporeal.}} --- @{PC-whisper} &{template:pf_generic} @{toggle_accessible_flag} @{toggle_rounded_flag}{{color=@{rolltemplate_color}}} {{header_image=@{header_image-pf_generic}}} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{subtitle}} {{name=Bless Equipment}} {{name_link=<a href="http://www.d20pfsrd.com/feats/general-feats/bless-equipment" rel="nofollow">http://www.d20pfsrd.com/feats/general-feats/bless-equipment</a>}} {{subtitle=Feat}} {{UMD Check=[[1d20+@{Use-Magic-Device}]]/[[20]]}} {{Range=Touch}} {{Duration of Enchantment=[[floor((@{spellclass-0-level-total}/2))]]/rounds}} {{Blessing=Bane}} {{Uses of Channel=[[2]]}} {{Selected Type=?{Designated Foe|Aberrations,Aberations|Animals,Animals|Constructs,Constructs|Dragons,Dragons|Fey,Fey|Humanoids,Humanoids (pick one subtype)|Magical Beasts,Magical Beasts|Monstrous humanoids,Monstrous humanoids|Oozes,Oozes|Outsiders,Outsiders (pick one subtype)|Plants,Plants|Undead,Undead|Vermin,Vermin}}}{{description=Against a designated foe, the weapon's enhancement bonus is +2 better than its actual bonus. It also deals an extra 2d6 points of damage against such foes.}}
1468738483

Edited 1468738663
Silvyre
Forum Champion
Sudain said: Currently I think I can't nest ?{X|Y,Y|Z,Z} queries, and or I can't nest&nbsp;?{X|Y,Y|Z,Z} queries inside {{}} tags. &nbsp;When I do this it seems to break the template entirely. There shouldn't be any issues when nesting Roll Queries within Roll Templates. However, there will be issues when nesting Templates within Queries. Here's a macro which incorporates a [non-advanced] Roll Query and might suit your needs: @{PC-whisper} &{template:pf_generic} @{toggle_accessible_flag} @{toggle_rounded_flag}{{color=@{rolltemplate_color}}} {{header_image=@{header_image-pf_generic}}} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{name=Bless Equipment}} {{name_link=<a href="http://www.d20pfsrd.com/feats/general-feats/bless-equipment" rel="nofollow">http://www.d20pfsrd.com/feats/general-feats/bless-equipment</a>}} {{subtitle=Feat}} {{UMD Check=[[1d20+@{Use-Magic-Device}]]/[[20]]}} {{Range=Touch}} {{Duration of Enchantment=[[floor((@{spellclass-0-level-total}/2))]]/rounds}} {{Uses of Channel=[[2]]}} {{Selected Type= ?{Designated Foe|Aberrations|Animals|Constructs|Dragons|Fey|Humanoids (pick one subtype)|Magical Beasts|Monstrous humanoids|Oozes|Outsiders (pick one subtype)|Plants|Undead|Vermin} }} {{description= ?{Ability| Bane, **Bane:** against a designated foe's enhancement bonus is +2 better than its actual bonus. It also deals an extra 2d6 points of damage against such foes. | Ghost Touch, **Ghost Touch:** A ghost touch weapon deals damage normally against incorporeal creatures. An incorporeal creature's [[50]]% reduction in damage from corporeal sources does not apply to attacks made against it with ghost touch weapons. The weapon can be picked up and moved by an incorporeal creature at any time. A manifesting ghost can wield the weapon against corporeal foes. Essentially. } }} If you'd like to nest the ?{Designated Foe} Query within the ?{Ability} Query, check out Advanced Usage for Roll Queries .
I'll have to look into advanced usage for roll queries eventually. &nbsp;This will suit my needs for now; thank you very much! &nbsp;:)