Template:Ability (LW2): Difference between revisions
Appearance
m Move div back in. That didn't work. Trimming some whitespace. |
Further tweaking. This syntax is AWFUL. |
||
| 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:Icon_Skill_Info.png|18px|{{{s_info|}}}]]</div>|}}</div>{{ #ifexpr: {{{ b_name | 1 }}} or {{{ b_descr | 0 }}} | <div style="text-align: | <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:Icon_Skill_Info.png|18px|{{{s_info|}}}]]</div>|}}</div>{{ #ifexpr: {{{ b_name | 1 }}} or {{{ b_descr | 0 }}} | <div style="text-align: center; {{ #ifexpr: ( {{{ b_name | 1 }}} or {{{ b_descr | 0 }}} ) and not {{{ b_info | 0 }}} | position: relative; top: 18px; | }}"> {{ #ifexpr: {{{ b_name | 1 }}} and not {{{ b_descr | 0}}} | '''{{{s_name|PerkName}}}'''</div> | {{ #ifexpr: {{{ b_name | 1 }}} and {{{ b_descr | 0 }}} | '''{{{s_name|PerkName}}}'''</br>''{{{s_descr|PerkDescription}}}''</div> |}} }} {{ #ifexpr: {{{b_descr}}} | ''{{{s_descr|PerkDescription}}}''</div> | }} | ||
<noinclude> | <noinclude> | ||
Revision as of 19:48, 27 January 2017
[[File:{{{ s_image }}}|32px| ]]
{{ #ifexpr: 1 or 0 |
PerkName
Expression error: Unrecognized punctuation character "{".
Skeleton:
{{Ability_(LW2)
| s_image =
| s_caption =
| s_name =
| s_descr =
| s_info =
| b_name = {{{ b_name }}}
| b_descr = {{{ b_descr }}}
| b_info = {{{ b_info }}}
}}