Difference between revisions of "Template:Ability (LW2)/Sandbox"
Jump to navigation
Jump to search
m (spans) |
m |
||
(22 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | <noinclude>{{ndc}}</noinclude><includeonly><span class="ability" id="{{{ s_id | ability }}}" style="display: inline-block; {{ #ifexpr: {{{ b_table | 0 }}} | padding: 13px 13px 13px 13px;|}}"><!-- |
||
− | <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 /> |
||
+ | --><div class="abilityImageContainer" id="{{{ s_id | ability }}}" style="position: relative; display: inline-block;"><!-- |
||
+ | --><div class="abilityImage" id="{{{ s_id | ability }}}"><!-- |
||
+ | -->[[File:{{{ s_image |}}}|38px| {{{ s_caption | No Name Given }}} {{ #if: {{{ s_link |}}} | {{!}} link= {{{ s_link }}} |}}]]<!-- |
||
+ | --></div><!-- |
||
+ | -->{{ #ifexpr: {{{ b_info | 0 }}}<!-- |
||
+ | -->|<div class="abilityInfoIcon" id="{{{ s_id | ability }}}" style="position: absolute; height: 18px; width: 18px; left: 30px; top: 26px;"><!-- |
||
+ | -->[[File:infoIcon.png|18px|{{ {{{ s_templateName |}}}/Info }}]]<!-- |
||
+ | --></div><!-- |
||
+ | -->|}}<!-- |
||
+ | --></div><!-- |
||
+ | -->{{ #ifexpr: {{{ b_name | 0 }}} or {{{ b_descr | 0 }}}<!-- |
||
+ | -->|<div class="abilityTextContainer" id="{{{ s_id | ability }}}"><!-- |
||
+ | -->{{ #ifexpr: {{{ b_name | 0 }}} <!-- |
||
+ | -->|<div class="abilityName" id="{{{ s_id | ability }}}" style="font-weight: bold; padding-top: 5px;">{{{ s_name | No Name Given }}}</div><!-- |
||
+ | -->|}}<!-- |
||
+ | -->{{ #ifexpr: {{{ b_descr | 0 }}}<!-- |
||
+ | -->|<div class="abilityDescription" id="{{{ s_id | ability }}}" style="font-style: italic; padding-top: 3px">{{{ s_descr | No Description Given }}}</div><!-- |
||
+ | -->|}}<!-- |
||
+ | --></div><!-- |
||
+ | -->|}}<!-- |
||
+ | --></span></includeonly><noinclude> |
||
+ | |||
− | <noinclude> |
||
{{Documentation}} |
{{Documentation}} |
||
− | [[Category: |
+ | [[Category: Templates]] |
+ | [[Category: Templates (Long War 2)]] |
||
</noinclude> |
</noinclude> |