Changes

no edit summary
Line 4: Line 4:  
<div id="prime-block" style="width: calc(100% - 20px); float: left;"><div class="{{#var:Style|default}}">
 
<div id="prime-block" style="width: calc(100% - 20px); float: left;"><div class="{{#var:Style|default}}">
 
{{#for:{{{AttrCount|3}}}|<div id="prime-innerblock" style="width: 100%;">
 
{{#for:{{{AttrCount|3}}}|<div id="prime-innerblock" style="width: 100%;">
     <div class="{{#var:Style|default}}" style="width: 100%; text-align: center; vertical-align: middle; height: 36px;">{{{Attr$n$Label|Attribute $n$}}} &nbsp;&nbsp; {{#for:{{{Attr$n$Repeat|1}}}|[[File:{{#var:Dice|RED_WHITE}}_{{uc: {{{Attr$n$|d6}}}}}.png|{{#expr:39 - {{#expr:4 * {{{Attr$n$Repeat|1}}} }} }}px]]}}
+
     <div class="{{#var:Style|default}}" style="width: 100%; text-align: center; vertical-align: middle; height: 36px;">{{{Attr$$n$$Label|Attribute $n$}}} &nbsp;&nbsp; {{#for:{{{Attr$n$Repeat|1}}}|[[File:{{#var:Dice|RED_WHITE}}_{{uc: {{{Attr$n$|d6}}}}}.png|{{#expr:39 - {{#expr:4 * {{{Attr$n$Repeat|1}}} }} }}px]]}}
 
     </div>
 
     </div>
 
   </div>}}
 
   </div>}}