Difference between revisions of "Template:Ability (LW2)"
Jump to navigation
Jump to search
m (Another bugfix attempt. When b_info is set the text renders correctly inside a table, so instead of getting rid of the icon, just "hide" it by using a transparent version.) |
m (Maybe this?) |
||
Line 1: | Line 1: | ||
− | <div align="center | + | <div align="center"><div style="position: relative; top:15px;">[[File:{{{ s_image }}}|32px| {{{s_caption|}}}]]</div><div style="position: relative; left: 18px;">{{ #ifexpr: {{{ b_info | 0 }}} | [[File:Icon_Skill_Info.png|18px|{{{s_info|}}}]] | [[File:Icon_Skill_Info_Transparent.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> | }} |
<noinclude> | <noinclude> |