Difference between revisions of "Template:Ability (LW2)/Sandbox"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><span id="ability"><!-- | --><span id="ability"><!-- | ||
− | --><span id="abilityImageContainer" style="position: relative; | + | --><span id="abilityImageContainer" style="position: relative; width: 38px; height: 38px;"><!-- |
− | --><span id="abilityImage"><!-- | + | --><span id="abilityImage" style="width: 100%; height:100%;"><!-- |
− | + | -->[[File:{{{ s_image |}}}|38px| {{{ s_caption | No Name Given }}} {{ #if: {{{ s_link |}}} | {{!}} link= {{{ s_link }}} |}}]]<!-- | |
--></span><!-- | --></span><!-- | ||
-->{{ #ifexpr: {{{ b_info | 0 }}} |<!-- | -->{{ #ifexpr: {{{ b_info | 0 }}} |<!-- | ||
− | --><span id="abilityInfoIcon" style="position: absolute; height: 18px; width: 18px; left: | + | --><span id="abilityInfoIcon" style="position: absolute; height: 18px; width: 18px; left: 28px; top: 12px;"><!-- |
-->[[File:infoIcon.png|18px|{{{s_info|}}}]]<!-- | -->[[File:infoIcon.png|18px|{{{s_info|}}}]]<!-- | ||
--></span><!-- | --></span><!-- | ||
Line 12: | Line 12: | ||
--></span>{{ #ifexpr: {{{ b_name | 0 }}} or {{{ b_descr | 0 }}} |<br /><!-- | --></span>{{ #ifexpr: {{{ b_name | 0 }}} or {{{ b_descr | 0 }}} |<br /><!-- | ||
--><div id="abilityTextContainer"><!-- | --><div id="abilityTextContainer"><!-- | ||
− | -->{{ #ifexpr: {{{ b_name | 0 }}} | <div id="abilityName" style="font-weight: bold | + | -->{{ #ifexpr: {{{ b_name | 0 }}} | <div id="abilityName" style="font-weight: bold;">{{{ s_name | No Name Given }}}</div> |}}<!-- |
− | -->{{ #ifexpr: {{{ b_descr | 0 }}} | <div id="abilityDescription" style="font-style: italic; | + | -->{{ #ifexpr: {{{ b_descr | 0 }}} | <div id="abilityDescription" style="font-style: italic;">{{{ s_descr | No Description Given }}}</div> |}}<!-- |
--></div><!-- | --></div><!-- | ||
-->|}}<!-- | -->|}}<!-- |