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

Macro text is not splitting to left and right sides of template

I'm looking for help to understand why this text is not splitting to left and right sides of template based on the equal sign &nbsp; (=) . It is, instead, placing the entire section on the left side. &amp;{template:default} {{name=Attacks with ... %NEWLINE% Claw of the Versatile (Small)! }} ?{Flanking?|No, 0|Yes with Outflank, 4|Yes, 2} {{**Kawanaga/Kusarigama** %NEWLINE% [x](<a href="https://static.wixstatic.com/media/f9a2be_1c40616878d54e83beca1926cd04c003~mv2.png" rel="nofollow">https://static.wixstatic.com/media/f9a2be_1c40616878d54e83beca1926cd04c003~mv2.png</a>) = **Small +5 Kawanaga** }} {{**Claw end** %NEWLINE% [Quaking](<a href="https://www.aonprd.com/MagicWeaponsDisplay.aspx?ItemName=Quaking" rel="nofollow">https://www.aonprd.com/MagicWeaponsDisplay.aspx?ItemName=Quaking</a>) = **Weighted Metal Ball end** %NEWLINE% [Fortuitous](<a href="https://www.aonprd.com/MagicWeaponsDisplay.aspx?ItemName=Fortuitous" rel="nofollow">https://www.aonprd.com/MagicWeaponsDisplay.aspx?ItemName=Fortuitous</a>)}} {{AoO with Claw [[ 1d20cs&gt;20 ]] %NEWLINE% Crit Confirm [[ 1d20 ]] = [[ 1d4 ]] Slashing %NEWLINE% [[ ( 1d4 )*2 ]] On Crit }} {{[Fortuitous](<a href="https://www.aonprd.com/MagicWeaponsDisplay.aspx?ItemName=Fortuitous" rel="nofollow">https://www.aonprd.com/MagicWeaponsDisplay.aspx?ItemName=Fortuitous</a>) Attack with Claw (If #1 hits) [[ 1d20cs&gt;20 ]] %NEWLINE% Crit Confirm [[ 1d20 ]] = [[ 1d4 ]] Slashing %NEWLINE% [[ ( 1d4 )*2 ]] On Crit }} {{[TWAoO](<a href="https://www.realmshelps.net/charbuild/feat/Two-Weapon_Attack_of_Opportunity" rel="nofollow">https://www.realmshelps.net/charbuild/feat/Two-Weapon_Attack_of_Opportunity</a>) with Weighted Metal Ball [[ 1d20cs&gt;20 ]] %NEWLINE% Crit Confirm [[ 1d20 ]] = [[ 1d2 ]] Bludgeoning %NEWLINE% [[ ( 1d2 )*2 ]] On Crit }} Comes out looking like this:
1699555567

Edited 1699555618
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
The problem is that your links to aonprd have equals signs in them and the template parser is using those to split the content, but then those are in a link, so that split doesn't actually work. You can fix this by html encoding the equal sign ( &amp;equal; ) (bolded in the below code). Also, you don't need to use %NEWLINE% , you can just make a new line as long as the new line is inside a field declaration (aka inside {{...}} ). &amp;{template:default} {{name=Attacks with ... Claw of the Versatile (Small)! }} ?{Flanking?|No, 0|Yes with Outflank, 4|Yes, 2} {{**Kawanaga/Kusarigama** [x](<a href="https://static.wixstatic.com/media/f9a2be_1c40616878d54e83beca1926cd04c003~mv2.png)=**Small" rel="nofollow">https://static.wixstatic.com/media/f9a2be_1c40616878d54e83beca1926cd04c003~mv2.png)=**Small</a> +5 Kawanaga** }} {{**Claw end** [Quaking](<a href="https://www.aonprd.com/MagicWeaponsDisplay.aspx?ItemName" rel="nofollow">https://www.aonprd.com/MagicWeaponsDisplay.aspx?ItemName</a> &amp;equals; Quaking)=**Weighted Metal Ball end** [Fortuitous](<a href="https://www.aonprd.com/MagicWeaponsDisplay.aspx?ItemName" rel="nofollow">https://www.aonprd.com/MagicWeaponsDisplay.aspx?ItemName</a> &amp;equals; Fortuitous)}} {{AoO with Claw [[ 1d20cs&gt;20 ]] Crit Confirm [[ 1d20 ]]=[[ 1d4 ]] Slashing [[ ( 1d4 )*2 ]] On Crit }} {{[Fortuitous](<a href="https://www.aonprd.com/MagicWeaponsDisplay.aspx?ItemName" rel="nofollow">https://www.aonprd.com/MagicWeaponsDisplay.aspx?ItemName</a> &amp;equals; Fortuitous) Attack with Claw (If #1 hits) [[ 1d20cs&gt;20 ]] Crit Confirm [[ 1d20 ]]=[[ 1d4 ]] Slashing [[ ( 1d4 )*2 ]] On Crit }} {{[TWAoO](<a href="https://www.realmshelps.net/charbuild/feat/Two-Weapon_Attack_of_Opportunity" rel="nofollow">https://www.realmshelps.net/charbuild/feat/Two-Weapon_Attack_of_Opportunity</a>) with Weighted Metal Ball [[ 1d20cs&gt;20 ]] Crit Confirm [[ 1d20 ]]=[[ 1d2 ]] Bludgeoning [[ ( 1d2 )*2 ]] On Crit }}
Genius! Thank you for educating me on both of those aspects!