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

From UFOpaedia
Jump to navigation Jump to search
(Created page with "<div align="center"><div style="position: relative; top:15px;">[[File:{{{ s_image }}}|32px| {{{s_caption|}}}]]</div>{{ #ifexpr: {{{ b_info | 0 }}} | <div style="position: rela...")
 
m
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div align="center"><div style="position: relative; top:15px;">[[File:{{{ s_image }}}|32px| {{{s_caption|}}}]]</div>{{ #ifexpr: {{{ b_info | 0 }}} | <div style="position: relative; left: 18px;">[[File:infoIcon.png|18px|{{{s_info|}}}]]</div>}}</div>{{ #ifexpr: {{{ b_name | 1 }}} or {{{ b_descr | 0 }}} | <div 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}}}'' | }}</div> | }}<br />
+
<noinclude>{{ndc}}</noinclude><includeonly><span class="ability" id="{{{ s_id | ability }}}" style="display: inline-block; {{ #ifexpr: {{{ b_table | 0 }}} | padding: 13px 13px 13px 13px;|}}"><!--
 +
--><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: Template Sandboxes]]
+
[[Category: Templates]]
 +
[[Category: Templates (Long War 2)]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:40, 12 February 2017

No Direct Call This template should only be used in other templates. It is not meant to be used on content pages.


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