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 Default Template Question; Is there a way to have aligned columns?

September 20 (8 years ago)

Edited September 20 (8 years ago)

Hello again guys!

So basically, I've been using the awesome default template to do a lot of macros recently for great convenience. It's great.

My question today is: Is there a way to have aligned columns that will basically force data to line up in all the lower rows?

That may be a kind of vague question so I'll explain what I'm attempting to do.  Basically I'm writing a one button macro that will roll all dies of common sizes. The die sizes will be in rows, and I'm looking to make the number of dice rolled into columns.  I.E. 1st column rolls 1 dice, 2nd column rolls 2 dice, etc.

Any ideas?  Maybe I'll need to use a different template?

Thanks in advance guys, you have all been helpful on this forum!
September 20 (8 years ago)
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
The default template can sort of do this for 2 columns. Things before the = are left aligned, things after the equal are right aligned. Anything more than that would require a custom template I think. Which 5e sheet are you using?
September 20 (8 years ago)

Edited September 20 (8 years ago)

Scott C. said:

Which 5e sheet are you using?

It's the 5e shaped sheet.
September 20 (8 years ago)
Here's what's possible using the default template:
&{template:default} {{name=Dice
}} {{d4:= [[ 1d4 ]] | [[ 2d4 ]]
}} {{d6:= [[ 1d6 ]] | [[ 2d6 ]]
}} {{d8:= [[ 1d8 ]] | [[ 2d8 ]]
}} {{d10:= [[ 1d10 ]] | [[ 2d10 ]]
}} {{d12:= [[ 1d12 ]] | [[ 2d12 ]]
}} {{d20:= [[ 1d20 ]] | [[ 2d20 ]]
}} {{d100:= [[ 1d100 ]] | [[ 2d100 ]]
}}
September 20 (8 years ago)

Silvyre said:

Here's what's possible using the default template:

Huh, That looks pretty good actually! I'll use that until I get something perfected. Thanks Silvyre!

I guess that brings me to a different question, is there a way to have 'hard' spaces so that I could manually align the columns?

If not, this'll have to do! Thanks guys
September 20 (8 years ago)

Edited September 20 (8 years ago)

eastwood said:

is there a way to have 'hard' spaces so that I could manually align the columns?

You could try using variant spaces, or HTML entities thereof. e.g.
&{template:default} {{name=Dice
}} {{d4:=   [[ 1d4 ]] | [[ 2d4 ]]
}} {{d6:=   [[ 1d6 ]] | [[ 2d6 ]]
}} {{d8:=   [[ 1d8 ]] | [[ 2d8 ]]
}} {{d10:=   [[ 1d10 ]] | [[ 2d10 ]]
}} {{d12:=   [[ 1d12 ]] | [[ 2d12 ]]
}} {{d20:=  [[ 1d20 ]] | [[ 2d20 ]]
}} {{d100:= [[ 1d100 ]] | [[ 2d100 ]]
}}
September 20 (8 years ago)

You could try using variant spaces, or HTML entities thereof. e.g.

That worked great! Thanks again Silvyre!