so I am using the current Pathfinder 1e character sheet by roll20. I know how to write out a query macro using the templates and inserting html in the qurey like this for example (a Save query). ?{Save | Fort,/w gm &{template:pc} {{type=save}} {{name=Fort Save}} {{roll=[[1d20+@{fortitude}]]}} | Reflex,/w gm &{template:pc} {{type=save}} {{name=Reflex Save}} {{roll=[[1d20+@{reflex}]]}} | Will,/w gm &{template:pc} {{type=save}} {{name=Will Save}} {{roll=[[1d20+@{will}]]}} } now i am looking to make a spellbook macro that will appear on token selection, as i have with the above macro. I should note that the above macro is being used on a token that is attached to the character sheet and on the macro I have "show on token" selected. I have found the id of the spells via dragging them into my macro bar and viewing the location id from there. When i make up a singular marco like this %{selected|repeating_spell-1_-MHcqz5iCFtGTmrJ1v7L_spell} it has no problem pulling the spell from the sheet but as soon as i put it into a query like this {Spellbook | 1st level | Magic Missle,%{selected |repeating_spell-1_-MHcqz5iCFtGTmrJ1v7L_spell} | Web Bolt,%{selected |repeating_spell-1_-MHcsGkHPbfublHZfCNA_spell} } It doesnt work. I am a novice in html and just started getting into macros like this. I was just looking at a way to not have to write a ton on a macro. I am also trying to help out my PCs by creating their spell books in macro so they dont have to open their sheet all the time.