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

[5e OGL] Aligning buttons in the chat window

I have the below setup in my macros, I'm using the newest 5e SRD template, is there a way to align the quick links from the left instead of the right like shown below?
I'd place the buttons into one of the description fields of one of the 5e OGL Roll Templates .
1478868591
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
I'd use the atk template as it does nice formatting of command buttons so they aren't giant pink buttons. 
Scott C , have you found any way to display a header with the atk template? It seems to only work if you add a die roll.
Forgive my stupidity, but would you be willing to elaborate more on that?  I"m not very savvy with codes & macros....and i'm not sure how to go about doing what you suggest.  i have a macro created for each repeating action section.  Then i have another macro that executes those repeating action sections, as shown above in my snip.  I have each repeating row setup as an individual macro Then I have another macro that creates the buttons: I tried changing the template from :default to :atkdmg but nothing happens.....
1478878308

Edited 1478878855
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
@Erika: When you change the template to use the OGL templates, you must use the fields that are defined for the OGL templates. The default template allows user defined fields, but the OGL only allows certain fields. The wiki that Silvyre linked to has all the details on what fields are defined for each of the OGL templates. /Edit to Erika: You might also find it easier to maintain your buttons if you switch to using the  ability command button syntax instead of using the  API command button syntax. Also, if you aren't using those individual macros to make your attacks token actions, you don't really need them, the ability or API command buttons can reference the repeating attacks directly. End Edit to Erika/ @Ed S. I have typically just taken advantage of the fact that the desc field centers the text in it and made the first line the header and used asterisks to give it bold and/or italic formatting, but your question made me realize that it would be nice to have an actual separated section for that, so I went digging. rname/rnamec are only displayed when there is a roll and charname is displayed regardless, but doesn't expand the area formatted for it, so you wind up with weirdness. However, the range field does force the displayed template to give room for text where the rname/range would normally be, and its display is not dependent on there being a roll. So, I'd put headers in the range field: &{template:atk} {{range=Header Text}} {{desc=Lorem Ipsum}} It is italicized by default unfortunately, but you can add bolding to it via double asterisks. I'll try to update the wiki at some point with what fields depend on the presence of other fields in order to be displayed and/or have the correct formatting. Also, I apologize for hijacking your thread Krimm, let us know if your question got answered. To add on to what silvyre said (and contradicting my earlier post), I would actually use one of the npc templates to align things to the left as the desc fields in all of the PC templates use centered text.