Difference between revisions of "Template:Legends Modules"
Revision as of 19:23, 23 September 2019 | Revision as of 19:25, 23 September 2019 | |||
Line 22: | Line 22: | |||
<td>{{{torp_damage_reduction_stock|}}}</td> | <td>{{{torp_damage_reduction_stock|}}}</td> | |||
<td>{{{mainbattery_stock|}}}</td> | <td>{{{mainbattery_stock|}}}</td> | |||
? | {{#if:{{{sec_stock|}}}|<td>{{# | + | {{#if:{{{sec_stock|}}}|<td>{{#vardefine:sec_stock_var|{{{sec_stock|}}}}}{{#var:sec_stock_var}}</td>|{{#if:{{{sec_top|}}}|<td></td>}}}} | |
{{#if:{{{aa_stock|}}}|<td>{{{aa_stock|}}}</td>|{{#if:{{{aa_top|}}}|<td></td>}}}} | {{#if:{{{aa_stock|}}}|<td>{{{aa_stock|}}}</td>|{{#if:{{{aa_top|}}}|<td></td>}}}} | |||
{{#if:{{{torpedo_stock|}}}|<td>{{{torpedo_stock|}}}</td>|{{#if:{{{torpedo_top|}}}|<td></td>}}}} | {{#if:{{{torpedo_stock|}}}|<td>{{{torpedo_stock|}}}</td>|{{#if:{{{torpedo_top|}}}|<td></td>}}}} | |||
Line 35: | Line 35: | |||
<td>{{{torp_damage_reduction_top|}}}</td> | <td>{{{torp_damage_reduction_top|}}}</td> | |||
<td>{{{mainbattery_top|}}}</td> | <td>{{{mainbattery_top|}}}</td> | |||
? | {{#if:{{{sec_top|}}}|<td>{{# | + | {{#if:{{{sec_top|}}}|<td>{{#vardefine:sec_top_var|{{{sec_stock|}}}}}{{#var:sec_top_var}}</td>|{{#if:{{{sec_stock|}}}|<td></td>}}}} | |
{{#if:{{{aa_top|}}}|<td>{{{aa_top|}}}</td>|{{#if:{{{aa_stock|}}}|<td></td>}}}} | {{#if:{{{aa_top|}}}|<td>{{{aa_top|}}}</td>|{{#if:{{{aa_stock|}}}|<td></td>}}}} | |||
{{#if:{{{torpedo_top|}}}|<td>{{{torpedo_top|}}}</td>|{{#if:{{{torpedo_stock|}}}|<td></td>}}}} | {{#if:{{{torpedo_top|}}}|<td>{{{torpedo_top|}}}</td>|{{#if:{{{torpedo_stock|}}}|<td></td>}}}} |
Revision as of 19:25, 23 September 2019
Documentation
Usage:
{{Legends_Modules <!--Hull Stock -->|hp_stock= |minarmor= |maxarmork= |mainbattery_stock= |sec_stock= |aa_stock= |torpedo_stock= |rudder_stock= |hull_price_stock= <!--Hull Top -->|hp_top= |minarmor_top= |maxarmor_top= |mainbattery_top= |sec_top= |aa_top= |torpedo_top= |rudder_top= |hull_price_top= <!--Hull changes -->|torp_reduction_change_stock= |main_caliber_change_stock= |main_range_change_stock= |main_traverse_change_stock= |he_damage_change_stock= |he_fire_change_stock= |ap_damage_change_stock= |torp_reduction_change_top= |main_caliber_change_top= |main_range_change_top= |main_traverse_change_top= |he_damage_change_top= |he_fire_change_top= |ap_damage_change_top= <!--Artillery Stock -->|main_type_stock= |main_arrangement_stock= |main_reload_stock= |main_price_stock= <!--Artillery Top -->|main_type_top= |main_arrangement_top= |main_reload_top= |main_price_top= <!--Fire Control System -->|firing_range_stock= |firecontrol_price_stock= |firecontrol_top= |firing_range_increase_top= |firing_range_top= |firecontrol_price_top= <!--Torpedo Launchers Stock (ignore or remove this section (and torpedo launchers top section too) if the ship has no torpedoes -->|torpedo_stock= |torp_arrangement_stock= |torp_reload_stock= |torp_turntime_stock= |torp_damage_stock= |torp_range_stock= |torp_speed_stock= |torp_detection_stock= |torp_price_stock= <!--Torpedo Launchers Top -->|torpedo_top= |torp_arrangement_top= |torp_reload_top= |torp_turntime_top= |torp_damage_top= |torp_range_top= |torp_speed_top= |torp_detection_top= |torp_price_top= <!--Engine Stock -->|engine_stock= |engine_speed_stock= |engine_price_stock= <!--Engine Top -->|engine_top= |engine_speed_top= |engine_price_top= }}
Category: