Difference between revisions of "Template:BRTableRow"

From War Thunder Wiki
Jump to: navigation, search
(dunno how i didnt think of this sooner)
 
(Undo revision 163542 by U30585107 (talk))
 
(22 intermediate revisions by one other user not shown)
Line 1: Line 1:
|-
+
{{#if:{{#unit:{{{1}}}|name}}|<!--
| {{#unit:{{{{1}}}|country}} || <div {{#ifeq:{{#unit:{{{{1}}}|gift}}|0 ||style="background-color:#FADF4D"}}>{{#unit:{{{{1}}}|name}}</div> || {{#unit:{{{{1}}}|br|ab}} || {{#unit:{{{{1}}}|br|rb}} || {{#unit:{{{{1}}}|br|sb}}
+
-->{{!}}-
 +
{{!}}<!--
 +
-->{{#unit:{{{1}}}|country}} <!--
 +
-->{{!}}{{!}} {{#switch: {{#unit: {{{1}}} | class | 1 | code}}
 +
        | type_missile_tank = ATGM vehicle
 +
        | type_spaa = SPAA
 +
        | type_tank_destroyer = Tank destroyer
 +
        | type_medium_tank = Medium tank
 +
        | type_light_tank = Light tank
 +
        | type_heavy_tank = Heavy tank
 +
        | type_aa_fighter = Air Defence fighter
 +
        | type_bomber = Bomber
 +
        | type_frontline_bomber = Frontline bomber
 +
        | type_medium_bomber = Medium bomber
 +
        | type_fighter = Fighter
 +
        | type_naval_fighter = Naval fighter
 +
        | type_light_fighter = Light fighter
 +
        | type_interceptor = Interceptor
 +
        | type_heavy_fighter = Twin-engine fighter
 +
        | type_strike_fighter = Strike fighter
 +
        | type_torpedo = Torpedo bomber
 +
        | type_assault = Strike aircraft
 +
        | type_naval_aircraft = Naval aircraft
 +
        | type_biplane = Biplane
 +
        | type_jet_fighter = Jet fighter
 +
        | type_heavy_bomber = Heavy bomber
 +
        | type_longrange_bomber = Long Range bomber
 +
        | type_dive_bomber = Dive bomber
 +
        | type_naval_bomber = Naval bomber
 +
        | type_light_bomber = Light bomber
 +
        | type_jet_bomber = Jet bomber
 +
        | type_hydroplane = Hydroplane
 +
        | type_flying_boat = Flying boat
 +
        | type_attack_helicopter = Attack helicopter
 +
        | type_boat = Boat
 +
        | type_missile_boat = Fast attack craft
 +
        | type_heavy_boat = Heavy boat
 +
        | type_gun_boat = Motor gun boat
 +
        | type_torpedo_boat = Motor torpedo boat
 +
        | type_small_submarine_chaser = Small sub-chaser
 +
        | type_submarine_chaser = Sub-chaser
 +
        | type_armored_submarine_chaser = Armored sub-chaser
 +
        | type_armored_boat = Armored gun boat
 +
        | type_hydrofoil_torpedo_boat = Hydrofoil torpedo boat
 +
        | type_destroyer = Destroyer
 +
        | type_light_cruiser = Light cruiser
 +
        | type_heavy_cruiser = Heavy cruiser
 +
        | type_barge = Barge
 +
        | type_naval_aa_ferry = Anti-air ferry
 +
        | type_naval_ferry_barge = Naval ferry barge
 +
        | type_minesweeper = Minesweeper
 +
        | type_minelayer = Minelayer
 +
        | type_frigate = Frigate
 +
        | type_torpedo_gun_boat = Motor torpedo gun boat
 +
        | type_heavy_gun_boat = Gunboat
 +
        | type_battleship = Battleship
 +
        | type_battlecruiser = Battlecruiser
 +
        | type_utility_helicopter = Utility helicopter
 +
}}<!--
 +
-->{{!}}{{!}} <div {{#ifeq:{{#unit:{{{1}}}|premium}}|1 |style="background-color:#FADF4D"|{{#ifeq:{{#unit:{{{1}}}|gift}}|1 |style="background-color:#00BFFF"|{{#ifeq:{{#unit:{{{1}}}|squadron}}|1 |style="background-color:#00FF00"|}}}}}}>[[{{#unit:{{{1}}}|article}}|{{#unit:{{{1}}}|pseudonym}}]]</div> <!--
 +
-->{{!}}{{!}} {{#unit:{{{1}}}|br|ab}} <!--
 +
-->{{!}}{{!}} {{#unit:{{{1}}}|br|rb}} <!--
 +
-->{{!}}{{!}} {{#unit:{{{1}}}|br|sb}}<!--
 +
 
 +
-->|{{#if:{{{Debug|}}}|
 +
{{!}}-
 +
{{!}}'''Not found {{{1}}}'''}}
 +
|}}

Latest revision as of 08:30, 7 July 2023