Template:Magic for job/item: Difference between revisions

From HorizonXI Wiki
mNo edit summary
m (song icon class)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div><!--
<includeonly><div style="display: flex; border: solid #aaa; border-width: 0 1px 1px; background: #eff4f5;"><!--
--><dt style="display: inline-block; margin: 0; border: solid #aaa; border-width: 0.5px 0.5px 0.5px 1px; padding: 0.3em 0.4em; width: 2ch; line-height: inherit; font-family: inherit; font-weight: inherit;">{{{level}}}</dt><!--
--><dt style="flex: 0 0 2ch; margin: 0; border-right: 1px solid #aaa; padding: 0.3em 0.4em; text-align: right; line-height: inherit; font-family: inherit; font-weight: inherit;">{{{level}}}</dt><!--
--><dd style="display: inline-block; margin: 0; border: solid #aaa; border-width: 0.5px 1px 0.5px 0.5px; padding: 0.3em 0.4em; width: 20ch;">[[{{{magic}}}]]{{#if:{{{changes|}}}|&nbsp;{{changes|{{{changes}}}}}}}</dd><!--
--><dd style="flex: 1 1 18ch; position: relative; margin: 0; padding: 0.3em 0.4em;"><!--
  -->{{#switch:{{{type|}}}<!--
      -->| White Magic = <span class="icon-type-1" style="position: absolute; left: 0.4em; pointer-events: none;">[[File:White-magic-{{#switch:{{{element|}}}|Fire (Element)=fire-menu.webp|Ice=ice-menu.webp|Wind=wind-menu.webp|Earth=earth-menu.webp|Lightning=lightning-menu.webp|Water (Element)=water-menu.webp|#default=menu.webp}}|x18px|text-top|link=|alt=]]</span><!--
      -->| Black Magic =<span class="icon-type-1" style="position: absolute; left: 0.4em; pointer-events: none;">[[File:Black-magic-{{#switch:{{{element|}}}|Fire (Element)=fire-menu.webp|Ice=ice-menu.webp|Wind=wind-menu.webp|Earth=earth-menu.webp|Lightning=lightning-menu.png|Water (Element)=water-menu.webp|Dark=dark-menu.webp|#default=menu.webp}}|x18px|text-top|link=|alt=]]</span><!--
  -->}}<!--
  -->{{#if:{{{icon|}}}|<!--
      --><span class="icon-type-{{#switch:{{{type|}}}|Song=1|#default=2}}" style="position: absolute; left: 0.4em; pointer-events: none;">[[{{{icon}}}|x18px|text-top|link=|alt=]]</span><!--
  -->}}<!--
  -->[[{{{page}}}|<span style="display: inline-block; padding-left: 20px;">{{{name}}}</span>]]<!--
  -->{{#if:{{{changes|}}}|<!--
      -->&nbsp;{{changes|{{{changes}}}}}<!--
  -->}}<!--
--></dd><!--
--></div></includeonly><noinclude>[[Category:Data templates]]</noinclude>
--></div></includeonly><noinclude>[[Category:Data templates]]</noinclude>

Latest revision as of 22:42, 4 November 2025