Difference between revisions of "User:Evon R'al/Sandbox template"

From EVE University Wiki
Jump to: navigation, search
m (Coding and testing.)
m (Coding and testing.)
Line 820: Line 820:
 
           <div style='display: inline-block;'>
 
           <div style='display: inline-block;'>
 
             <div class='box-resist bgr-thr'>
 
             <div class='box-resist bgr-thr'>
             <div class='resist-value val-thr' style='width: {{#expr:
+
             <div class='resist-value val-thr' style='width: {{#if: {{{armorthem|}}}
                {{#expr:
+
                | {{#expr: {{{armorthem}}}/2 round 0 }}
                  {{#if: {{{armortherm}}}
+
                 | 0
                    | {{{armortherm|0}}}
+
                }}px;'>
                    | 0
+
               <div class='value-text'>{{#if: {{{armortherm|}}}
                  }}/2
+
                   | {{{armortherm}}}
                 }} round 0}}px;'>
 
               <div class='value-text'>{{#if: {{{armortherm}}}
 
                   | {{{armortherm|0}}}
 
 
                   | 0
 
                   | 0
 
                 }}
 
                 }}

Revision as of 14:19, 7 December 2022


Template documentation (for the above template, sometimes hidden or invisible)
Visit User:Evon R'al/Sandbox template/doc to edit this text! (How does this work?) (Refresh this text - why?)