Template:SpellIcon

From HorizonXI Wiki
Revision as of 18:34, 26 February 2023 by Garnet-HorizonXI (Fandom) (talk | contribs) (Created page with "<includeonly><onlyinclude>{{#ifeq:{{{1|}}}|{{{icon}}}||[[File:icon_spell_{{lc:{{#replace:{{{1}}}|<nowiki/> <nowiki/>|_}}}}.png{{#if:{{{2|}}}|{{!}}{{{2}}}px{{!}}text-top|}}]]}}</onlyinclude></includeonly> <noinclude> A simple template to add the in-game spell icon to inline text, allowing users to see at a glance both whether it is a black or white magic spell, and which element it uses. ==Usage== '''<nowiki>{{SpellIcon|<spell name>|<size>}}</nowiki>''' *spell name *size...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


A simple template to add the in-game spell icon to inline text, allowing users to see at a glance both whether it is a black or white magic spell, and which element it uses.

Usage

{{SpellIcon|<spell name>|<size>}}

  • spell name
  • size - default is 32px; 16px is suitable for an in-line icon.