Difference between revisions of "Template:Hail of Bullets (LW2)"

From UFOpaedia
Jump to navigation Jump to search
m (Refactor perk templates.)
m (Set constants/defaults in a more sane manner. The if functions were a very bad idea and did not behave as expected.)
Line 7: Line 7:
 
   | s_id      =  
 
   | s_id      =  
 
   | s_templateName = Template:Hail of Bullets (LW2)
 
   | s_templateName = Template:Hail of Bullets (LW2)
   {{ #if: {{{ b_name |}}} | {{!}} b_name = {{{b_name}}} |}}
+
   | b_name = {{{ b_name | {{Ability (LW2)/Constants | b_NAME }} }}}
  {{ #if: {{{ b_descr |}}} | {{!}} b_descr = {{{b_descr}}} |}}
+
  | b_descr = {{{ b_descr | {{Ability (LW2)/Constants | b_DESCR }} }}}
  {{ #if: {{{ b_info |}}} | {{!}} b_info = {{{b_info}}} |}}
+
  | b_info = {{{ b_info | {{Ability (LW2)/Constants | b_INFO }} }}}
  {{ #if: {{{ b_table |}}} | {{!}} b_table = {{{b_table}}} |}}
+
  | b_table = {{{ b_table | {{Ability (LW2)/Constants | b_TABLE }} }}}
 
}}<noinclude>
 
}}<noinclude>
  

Revision as of 07:55, 4 February 2017

Hail of Bullets