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 .
×
May your rolls be merry + bright! 🎄
Create a free account

[3.5] formating in the 3.5 template DnD35Attack

Hey wondering if anyone knew how to format template I would I have a lot of adds on my and attack and damage. I would like to force it to go to newlines. I tried adding <BR/> into thinking it html didn't seem to work. Any suggestions.
1481738669

Edited 1481738924
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
when setting up roll templates, the roll template fields accept multiple lines of input (no html escapes required), so you can do things like this: &{template:default} {{name=Multiline Test}} {{This is a multiline left side text=This is a multiline right side text}} {{Field 2=Some Single Line Text}} As long as the ending double curly braces of the previous field and the starting curly braces of the next field are on the same line, the template will display correctly. While the left side won't always accept it (if for instance it's a predefined field name), the right side almost always does. EDIT: After some connection issues, was finally able to put this in a game chat to give an example image of output:
1481743565

Edited 1481743763
Didn't seem to work. I tried this below. Maybe I will just convert to the standard template only one nice feature I like in dnd3.5. &{template:DnD35Attack} {{pcflag=true}} {{name=@{character_name }}} {{subtags=attacks with a @{weapon1name} }} {{attack1=T1: [[ @{weapon1attackcalc} ]] STRCHK: [[1D20+16]] A1: [[ @{weapon1attackcalc} ]] }} {{critconfirm1= Crit?: [[ @{weapon1attackcalc} ]] }} {{fumbleroll=Fumble: [[ d20 ]] }} {{damage1=D1: [[ @{weapon1damage} ]] trip: %{Dizring sound Fire talker|DF} %{Dizring sound Fire talker|DF} }} {{critdmg1=+ [[ @{weapon1crit} ]] }} {{fullattackflag= [[ ?{Full Attack?|Yes, d1|No, 0d1} ]] }} {{attack1=T2: [[ @{weapon1attackcalc} ]] STRCHK: [[1D20+16]] A2: [[ @{weapon1attackcalc}-2 ]] }} {{critconfirm2=Crit!: [[ @{weapon1attackcalc}-2 ]] }} {{damage2=D2: [[ @{weapon1damage} ]] trip: %{Dizring sound Fire talker|DF} %{Dizring sound Fire talker|DF} }} {{critdmg2=+ [[ @{weapon1crit} ]] }} {{attack3=T3: [[ @{weapon1attackcalc} ]] STRCHK: [[1D20+16]] A3: [[ @{weapon1attackcalc}-7 ]] }} {{critconfirm3=Crit!: [[ @{weapon1attackcalc}-7 ]] }} {{damage3=D3: [[ @{weapon1damage} ]] trip: %{Dizring sound Fire talker|DF} %{Dizring sound Fire talker|DF}} }} {{critdmg3=+ [[ @{weapon1crit} ]] }} }}
Steven H. said: &{template:DnD35Attack} {{pcflag=true}} {{name=@{character_name }}} {{subtags=attacks with a @{weapon1name} }} {{attack1=T1: [[ @{weapon1attackcalc} ]] STRCHK: [[1D20+16]] A1: [[ @{weapon1attackcalc} ]] }} {{critconfirm1= Crit?: [[ @{weapon1attackcalc} ]] }} {{fumbleroll=Fumble: [[ d20 ]] }} {{damage1=D1: [[ @{weapon1damage} ]] trip: %{Dizring sound Fire talker|DF} %{Dizring sound Fire talker|DF} }} {{critdmg1=+ [[ @{weapon1crit} ]] }} {{fullattackflag= [[ ?{Full Attack?|Yes, d1|No, 0d1} ]] }} {{attack1=T2: [[ @{weapon1attackcalc} ]] STRCHK: [[1D20+16]] A2: [[ @{weapon1attackcalc}-2 ]] }} {{critconfirm2=Crit!: [[ @{weapon1attackcalc}-2 ]] }} {{damage2=D2: [[ @{weapon1damage} ]] trip: %{Dizring sound Fire talker|DF} %{Dizring sound Fire talker|DF} }} {{critdmg2=+ [[ @{weapon1crit} ]] }} {{attack3=T3: [[ @{weapon1attackcalc} ]] STRCHK: [[1D20+16]] A3: [[ @{weapon1attackcalc}-7 ]] }} {{critconfirm3=Crit!: [[ @{weapon1attackcalc}-7 ]] }} {{damage3=D3: [[ @{weapon1damage} ]] trip: %{Dizring sound Fire talker|DF} %{Dizring sound Fire talker|DF}} }} {{critdmg3=+ [[ @{weapon1crit} ]] }} }} Which sections of this would you like to push onto new lines?
Attacks  all on one line then the damage all on one line.
Steven H. said: Attacks  all on one line then the damage all on one line. Are you looking for something like this? &{template:DnD35Attack} {{pcflag=true }} {{name=@{selected|character_name} }} {{subtags=attacks with a @{selected|weapon1name} }} {{notes=Attacks: [[ @{selected|weapon1attackcalc} ]] / [[ @{selected|weapon1attackcalc}-5 ]] / [[ @{selected|weapon1attackcalc}-10 ]] / [[ @{selected|weapon1attackcalc}-15 ]]   Damage: [[ @{selected|weapon1damage} ]] / [[ @{selected|weapon1damage} ]] / [[ @{selected|weapon1damage} ]] / [[ @{selected|weapon1damage} ]] Crit confirm: [[ @{selected|weapon1attackcalc} ]] / [[ @{selected|weapon1attackcalc}-5 ]] / [[ @{selected|weapon1attackcalc}-10 ]] /[[ @{selected|weapon1attackcalc}-15 ]] Crit damage: [[ @{selected|weapon1crit} ]] / [[ @{selected|weapon1crit} ]] / [[ @{selected|weapon1crit} ]] / [[ @{selected|weapon1crit} ]] }}
Well I converted it to standard template it works for the most part. Just one finishing issue. Anyway to to aline it easy I would like I have 4D6 damage roll every thing else is over 10, but doesn't align right when it under 10. 
1481749845

Edited 1481749919
Unfortunately, there's no real way of enforcing column alignment within Roll Templates. You can fake it using spaces, e.g. &{template:default} {{Atk | Dmg | Cfm | Crit [[ @{selected|weapon1attackcalc} ]] | [[ @{selected|weapon1damage} ]] | [[ @{selected|weapon1attackcalc} ]] | [[ @{selected|weapon1crit} ]] [[ @{selected|weapon1attackcalc}-5 ]] | [[ @{selected|weapon1damage} ]] | [[ @{selected|weapon1attackcalc}-5 ]] | [[ @{selected|weapon1crit} ]] [[ @{selected|weapon1attackcalc}-10 ]] | [[ @{selected|weapon1damage} ]] | [[ @{selected|weapon1attackcalc}-10 ]] | [[ @{selected|weapon1crit} ]] [[ @{selected|weapon1attackcalc}-15 ]] | [[ @{selected|weapon1damage} ]] | [[ @{selected|weapon1attackcalc}-15 ]] | [[ @{selected|weapon1crit} ]] }} I use em space (   ) in addition to the standard space within the above macro.