Difference between revisions of "Template:Ability (LW2)/Sandbox"
Jump to navigation
Jump to search
(Think I have it, possibly.) |
(Forgot the name and description parameters. Because I'm just that smart. Added better defaults. Adding s_link for linking the image somewhere.) |
||
Line 3: | Line 3: | ||
--><span id="abilityImageContainer" style="position: relative; width: 38px; height: 38px;"><!-- | --><span id="abilityImageContainer" style="position: relative; width: 38px; height: 38px;"><!-- | ||
--><span id="abilityImage" style="width: 100%; height:100%;"><!-- | --><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 }}} |<!-- | ||
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;">{{{ s_name | No Name Given }}}</div> |}}<!-- | |
− | + | -->{{ #ifexpr: {{{ b_descr | 0 }}} | <div id="abilityDescription" style="font-style: italic;">{{{ s_descr | No Description Given }}}</div> |}}<!-- | |
--></div><!-- | --></div><!-- | ||
-->|}}<!-- | -->|}}<!-- |