Changes

no edit summary
Line 3: Line 3:  
<div id="prime-header-compact"><div id="prime-header-label" class="{{#var:Style|default}}">Attributes</div></div>
 
<div id="prime-header-compact"><div id="prime-header-label" class="{{#var:Style|default}}">Attributes</div></div>
 
<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}}">
  <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;">Solo &nbsp;&nbsp; {{#for:{{{SoloRepeat|1}}}|[[File:{{#var:Dice|RED_WHITE}}_{{uc: {{{Solo|d6}}}}}.png|{{#expr:39 - {{#expr:4 * {{{SoloRepeat|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>}}
 
    
 
    
 
   <div style="clear: both;"></div>
 
   <div style="clear: both;"></div>