Template:Magic for job/item: Difference between revisions

From HorizonXI Wiki
(add inline icons)
m (whitespace)
Line 1: Line 1:
<includeonly><div style="border: solid #aaa; border-width: 0 1px 1px; background: #eff4f5;"><!--
<includeonly><div style="border: solid #aaa; border-width: 0 1px 1px; background: #eff4f5;"><!--
--><dt style="display: inline-block; margin: 0; border-right: 1px solid #aaa; padding: 0.3em 0.4em; width: 2ch; text-align: right; line-height: inherit; font-family: inherit; font-weight: inherit;">{{{level}}}</dt><!--
--><dt style="display: inline-block; margin: 0; border-right: 1px solid #aaa; padding: 0.3em 0.4em; width: 2ch; text-align: right; line-height: inherit; font-family: inherit; font-weight: inherit;">{{{level}}}</dt><!--
--><dd style="display: inline-block; position: relative; margin: 0; padding: 0.3em 0.4em; width: 18ch;">{{#if:{{{icon|}}}|<span 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><!--
--><dd style="display: inline-block; position: relative; margin: 0; padding: 0.3em 0.4em; width: 18ch;"><!--
  -->{{#if:{{{icon|}}}|<!--
      --><span class="icon-type-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>

Revision as of 07:21, 13 October 2025