Jump to content

Template:Ability (LW2)/Sandbox: Difference between revisions

From UFOpaedia
Tvol (talk | contribs)
m spans
Tvol (talk | contribs)
Think I have it, possibly.
Line 1: Line 1:
<span align="center"><span style="position: relative; top:15px;">[[File:{{{ s_image }}}|32px| {{{s_caption|}}}]]</span>{{ #ifexpr: {{{ b_info | 0 }}} | <span style="position: relative; left: 18px;">[[File:infoIcon.png|18px|{{{s_info|}}}]]</span>}}</span>{{ #ifexpr: {{{ b_name | 1 }}} or {{{ b_descr | 0 }}} | <span style="text-align: {{{align|center}}}; {{ #ifexpr: ( {{{ b_name | 1 }}} or {{{ b_descr | 0 }}} ) and not {{{ b_info | 0 }}} | position: relative; top: 18px; | }}"> {{ #ifexpr: {{{ b_name | 1 }}} | '''{{{s_name|PerkName}}}'''<br/> | }} {{ #ifexpr: {{{ b_descr | 0 }}} | ''{{{s_descr|PerkDescription}}}'' | }}</span> | }}<br />
<includeonly><!--
--><span id="ability"><!--
    --><span id="abilityImageContainer" style="position: relative; width: 38px; height: 38px;"><!--
        --><span id="abilityImage" style="width: 100%; height:100%;"><!--
            -->[[File:{{{ s_image |}}}|38px| {{{ s_caption |}}} ]]<!--
        --></span><!--
        -->{{ #ifexpr: {{{ b_info | 0 }}} |<!--
        --><span id="abilityInfoIcon" style="position: absolute; height: 18px; width: 18px; left: 28px; top: 12px;"><!--
            -->[[File:infoIcon.png|18px]]<!--
        --></span><!--
        -->|}}<!--
    --></span>{{ #ifexpr: {{{ b_name | 0 }}} or {{{ b_descr | 0 }}} |<br /><!--
    --><div id="abilityTextContainer"><!--
        -->{{ #ifexpr: {{{ b_name | 0 }}} | <div id="abilityName" style="font-weight: bold;">Area Suppression</div> |}}<!--
        -->{{ #ifexpr: {{{ b_descr | 0 }}} | <div id="abilityDescription" style="font-style: italic;">Fire a barrage that pins down a target, grants reaction fire against it if it moves, restricts the use of many abilities, and imposes a -30 penalty to the target's aim.</div> |}}<!--
    --></div><!--
    -->|}}<!--
--></span></includeonly>


<noinclude>
<noinclude>

Revision as of 10:36, 2 February 2017


[edit · purge]
Template documentation(for the template shown above, sometimes hidden or invisible)
There is currently no documentation for this template.
.