Template:SpellRow: Difference between revisions

From EQOA Sandstorm Wiki
Jump to navigationJump to search
[unchecked revision][unchecked revision]
(Created page with "<div style="display:flex; align-items:center; border-bottom:1px solid #ccc; padding:2px 0;"> <!-- Level --> <div style="width:30px; text-align:center; font-weight:bold; color:#333;"> {{{lvl|}}} </div> <!-- Icon + Name --> <div style="flex:1; padding-left:6px; display:flex; align-items:center; gap:4px;"> {{#if: {{{icon|}}} | <img src="{{{icon}}}" style="width:18px; height:18px;"> }} {{{name|}}} </div> </div>")
 
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="display:flex; align-items:center; border-bottom:1px solid #ccc; padding:2px 0;">
<div class="spell-row">
 
   <div class="spell-lvl divider-right">{{{lvl|}}}</div>
  <!-- Level -->
   <div class="spell-data">{{#if: {{{icon1|}}} |<span class="spell-icon">[[File:{{{icon1}}}|20px|link=|alt=]]</span>}}<span class="spell-name">{{{name|}}}</span>{{#if: {{{icon2|}}} |<span class="spell-icon">[[File:{{{icon2}}}|20px|link=|alt=]]</span>}}</div>
   <div style="width:30px; text-align:center; font-weight:bold; color:#333;">
    {{{lvl|}}}
  </div>
 
  <!-- Icon + Name -->
   <div style="flex:1; padding-left:6px; display:flex; align-items:center; gap:4px;">
    {{#if: {{{icon|}}} | <img src="{{{icon}}}" style="width:18px; height:18px;"> }}
    {{{name|}}}
  </div>
 
</div>
</div>

Latest revision as of 11:26, 22 November 2025