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

From UFOpaedia
Jump to navigation Jump to search
m (Tweaking positioning.)
(Bugfix attempt.)
Line 1: Line 1:
<div align="center" style="position: relative;"><div style="position: relative; top:15px;">[[File:{{{ s_image }}}|32px| {{{s_caption|}}}]]</div>{{ #ifexpr: {{{ b_info | 0 }}} | <div style="position: relative; left: 18px;">[[File:Icon_Skill_Info.png|18px|{{{s_info|}}}]]</div> |  }}</div>{{ #ifexpr: {{{ b_descr | 0 }}} | <div style="text-align: {{{align|center}}};"> '''{{{s_name|PerkName}}}'''<br/>''{{{s_descr|PerkDescription}}}''</div> | }}
+
<div align="center" style="position: relative;"><div style="position: relative; top:15px;">[[File:{{{ s_image }}}|32px| {{{s_caption|}}}]]</div>{{ #ifexpr: {{{ b_info | 0 }}} | <div style="position: relative; left: 18px;">[[File:Icon_Skill_Info.png|18px|{{{s_info|}}}]]</div> |  }}</div>{{ #ifexpr: {{{ b_descr | 0 }}} | <div style="text-align: {{{align|center}}} {{ #ifexpr: {{{ b_descr }}} and not {{{ b_info }}} | position: relative; top: 18px | }} ;"> '''{{{s_name|PerkName}}}'''<br/>''{{{s_descr|PerkDescription}}}''</div> | }}
  
 
<noinclude>
 
<noinclude>

Revision as of 14:28, 27 January 2017

[[File:{{{ s_image }}}|32px| ]]


Skeleton:

{{Ability_(LW2)
| s_name = 
| s_image =
| s_caption = 
| s_descr =
| s_info =
| b_descr = {{{ b_descr }}}
| b_info = {{{ b_info }}}
}}