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

Formatting a chat menu

I made a chat menu macro to allow myself and all players roll a skill check from any selected token for FFG stars wars. The macro works fine, but there are a lot of skills, and I would like to make the chat menu format so the skill buttons align next to each other instead of each being on a separate line. If I could get them to align left, to maximize the space in the box, that would be great too. I searched the wiki a bit and some forum posts, but those things I found didn't seem to work. It currently looks like this: This is the code: &{template:default} {{=[Astrogation](~Skills_Mule|Astrogation) [Athletics](~Skills_Mule|Athletics) [Charm](~Skills_Mule|Charm) [Coercion](~Skills_Mule|Coercion) [Computers](~Skills_Mule|Computers) [Cool](~Skills_Mule|Cool) [Coordination](~Skills_Mule|Coordination) [Deception](~Skills_Mule|Deception) [Discipline](~Skills_Mule|Discipline) [Leadership](~Skills_Mule|Leadership) [Mechanics](~Skills_Mule|Mechanics) [Medicine](~Skills_Mule|Medicine) [Negotiation](~Skills_Mule|Negotiation) [Perception](~Skills_Mule|Perception) [Pilot-Planet](~Skills_Mule|Pilot-Planet) [Pilot-Space](~Skills_Mule|Pilot-Space) [Resilience](~Skills_Mule|Resilience) [Skulduggery](~Skills_Mule|Skulduggery) [Stealth](~Skills_Mule|Stealth) [Streetwise](~Skills_Mule|Streetwise) [Survival](~Skills_Mule|Survival) [Vigilance](~Skills_Mule|Vigilance)}} Any help appreciated. Thanks in advance!
Which character sheet are you using?  Do you know if it has any roll templates built in that could be used instead of the default template?  Adjusting the format of the default template to make it justify left might be difficult, but you should be able to get all of the buttons to align to each other if you just remove the line breaks between them in your code. 
Its the FFG star wars one. I don't see that it has any templates that will work. But, removing the link breaks basically fixed the problem. I thought I tried that already. Sorry it was such an easy fix. Thanks!
1691256662

Edited 1691257959
GiGs
Pro
Sheet Author
API Scripter
Edit: I just noticed you fixed this, so never mind. :) Do you have linebreaks in the macro? They'll be treated as characters and printed out. Try instead &{template:default} {{=[Astrogation](~Skills_Mule|Astrogation) [Athletics](~Skills_Mule|Athletics) [Charm](~Skills_Mule|Charm) [Coercion](~Skills_Mule|Coercion) [Computers](~Skills_Mule|Computers) [Cool](~Skills_Mule|Cool) [Coordination](~Skills_Mule|Coordination) [Deception](~Skills_Mule|Deception) [Discipline](~Skills_Mule|Discipline) [Leadership](~Skills_Mule|Leadership) [Mechanics](~Skills_Mule|Mechanics) [Medicine](~Skills_Mule|Medicine) [Negotiation](~Skills_Mule|Negotiation) [Perception](~Skills_Mule|Perception) [Pilot-Planet](~Skills_Mule|Pilot-Planet) [Pilot-Space](~Skills_Mule|Pilot-Space) [Resilience](~Skills_Mule|Resilience) [Skulduggery](~Skills_Mule|Skulduggery) [Stealth](~Skills_Mule|Stealth) [Streetwise](~Skills_Mule|Streetwise) [Survival](~Skills_Mule|Survival) [Vigilance](~Skills_Mule|Vigilance)}}