Template:SpellRow: Difference between revisions

From EQOA Sandstorm Wiki
Jump to navigationJump to search
[unchecked revision][unchecked revision]
No edit summary
No edit summary
Line 5: Line 5:


     <!-- Icon BEFORE spell name -->
     <!-- Icon BEFORE spell name -->
     {{#if: {{{icon1|}}} |
     {{#if: {{{icon1|}}}
      <img src="{{{icon1}}}" class="spell-icon" alt="">
      | <!-- if icon1 provided, render using File: syntax -->
        <span class="spell-icon-wrap">
          [[File:{{{icon1}}}|20px|link=|alt=]]
        </span>
     }}
     }}


Line 13: Line 16:


     <!-- Icon AFTER spell name -->
     <!-- Icon AFTER spell name -->
     {{#if: {{{icon2|}}} |
     {{#if: {{{icon2|}}}
      <img src="{{{icon2}}}" class="spell-icon spell-icon--after" alt="">
      |
        <span class="spell-icon-wrap spell-icon-wrap--after">
          [[File:{{{icon2}}}|20px|link=|alt=]]
        </span>
     }}
     }}
   </div>
   </div>
</div>
</div>

Revision as of 08:22, 16 November 2025