Template:VehicleWeapons: Difference between revisions

From Wiki
Jump to navigation Jump to search
(conditional weapon display using #if, converted table to list)
No edit summary
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''Weapons:'''
{{WeaponRow|weapon_location={{{weapon_1_location|}}}|weapon_name={{{weapon_1|}}}}}{{WeaponRow|weapon_location={{{weapon_2_location|}}}|weapon_name={{{weapon_2|}}}}}{{WeaponRow|weapon_location={{{weapon_3_location|}}}|weapon_name={{{weapon_3|}}}}}{{WeaponRow|weapon_location={{{weapon_4_location|}}}|weapon_name={{{weapon_4|}}}}}{{WeaponRow|weapon_location={{{weapon_5_location|}}}|weapon_name={{{weapon_5|}}}}}{{WeaponRow|weapon_location={{{weapon_6_location|}}}|weapon_name={{{weapon_6|}}}}}{{WeaponRow|weapon_location={{{weapon_7_location|}}}|weapon_name={{{weapon_7|}}}}}{{WeaponRow|weapon_location={{{weapon_8_location|}}}|weapon_name={{{weapon_8|}}}}}
{{#ifeq: {{{weapon_1}}} | N/A | * {{weapon_1_location }}: {{{weapon_1}}} | * This vehicle has no weapons }}
{{#ifeq: {{{weapon_2}}} | N/A | * {{weapon_2_location }}: {{{weapon_2}}} | }}
{{#ifeq: {{{weapon_3}}} | N/A | * {{weapon_3_location }}: {{{weapon_3}}} | }}
{{#ifeq: {{{weapon_4}}} | N/A | * {{weapon_4_location }}: {{{weapon_4}}} | }}
{{#ifeq: {{{weapon_5}}} | N/A | * {{weapon_5_location }}: {{{weapon_5}}} | }}
{{#ifeq: {{{weapon_6}}} | N/A | * {{weapon_6_location }}: {{{weapon_6}}} | }}
{{#ifeq: {{{weapon_7}}} | N/A | * {{weapon_7_location }}: {{{weapon_7}}} | }}
{{#ifeq: {{{weapon_8}}} | N/A | * {{weapon_8_location }}: {{{weapon_8}}} | }}

Latest revision as of 08:37, 30 January 2011