← Older editNewer edit → Template:Prime-Attributes (view source) Revision as of 22:08, 27 August 2024 2 bytes added , 27 August no edit summaryLine 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$}}} {{#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$}}} {{#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>}} AdminBureaucrats, Interface administrators, Administrators1,464 edits