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

From UFOpaedia
Jump to navigation Jump to search
(Created page with "TODO: Make this the base ability template for LW2 and rejig all the other perk templates to call it.")
 
(Initial commit; won't work right quite yet.)
Line 1: Line 1:
TODO: Make this the base ability template for LW2 and rejig all the other perk templates to call it.
+
<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: 22px; bottom: 2px;">[[File:|15px|{{{s_info|}}}]]</div> |  }}</div>{{ #ifexpr: {{{ b_descr | 0 }}} | <div style="text-align: {{{align|center}}};"> '''{{{s_name|PerkName}}}'''<br/>''{{{s_descr|PerkDescription}}}''</div> | }}
 +
 
 +
<noinclude>
 +
<pre>
 +
Skeleton:
 +
 
 +
{{Ability_(LW2)
 +
| s_name =
 +
| s_image =
 +
| s_caption =
 +
| s_descr =
 +
| s_info =
 +
| b_descr = {{{ b_descr }}}
 +
| b_info = {{{ b_info }}}
 +
}}
 +
</pre>
 +
[[Category: Templates]]
 +
[[Category: Perks (Long War 2)]]
 +
[[Category: Templates (Long War 2)]]
 +
</noinclude>

Revision as of 06:03, 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 }}}
}}