Difference between revisions of "Template:Specs-Card"

From War Thunder Wiki
Jump to: navigation, search
 
(33 intermediate revisions by 2 users not shown)
Line 22: Line 22:
 
       | 6 = Sixth
 
       | 6 = Sixth
 
       | 7 = Seventh
 
       | 7 = Seventh
 +
      | 8 = Eighth
 
       }}
 
       }}
 
     }}<!--
 
     }}<!--
--><div class="ttx"><!--
+
-->[[Category:{{#var: type }}]][[Category:{{#var: country }} {{#var: typeM }}]][[Category:{{#var: rank }} rank {{#var: typeM }}]]
--><div class="ttx-title"><!--
+
<div class="specs_card_main" data-code="{{#unit: {{#var: me }} | код }}">
-->{{#if: {{{display_name|}}}<!--
+
<div class="specs_card_mobile_info">
   -->|{{DISPLAYTITLE:{{{display_name}}}}}[[Category:Changed visible name]]<!--
+
<div class="general_info_name">{{#if: {{{card_name|}}}
-->}}<!--
+
   |{{{card_name}}}[[Category:Changed name in the card]]
-->{{#if: {{{name|}}}<!--
+
  |{{#unit: {{#var:me}} | псевдоним}}
  -->|{{{name}}}[[Category:Changed name in the card]]<!--
+
}}</div>
  -->|{{#unit: {{#var:me}} | название}}<!--
+
<div class="general_info_neighbors"><!--
-->}}</div><!--
+
-->{{#if: {{#unit: {{#var: me }} | prev }} |<div class="prev">[[{{#unit: {{#unit: {{#var: me }} | prev }} | статья }}|{{#unit: {{#unit: {{#var: me }} | prev }} | псевдоним }}]]</div>}}<!--
--><div class="ttx-image">{{#unit: {{#var: me }} | картинка }}<!--
+
-->{{#if: {{#unit: {{#var: me }} | next }} |<div class="next">[[{{#unit: {{#unit: {{#var: me }} | next }} | статья }}|{{#unit: {{#unit: {{#var: me }} | next }} | псевдоним }}]]</div>}}<!--
  -->{{#if: {{{cockpit|}}} |<!--
+
--></div>
      --><div class="ttx-cockpit" data-id="{{{cockpit|}}}"><span>Cockpit</span></div><!--
+
</div>
      -->[[Category:With cockpit]]<!--
+
<div class="specs_card_main_slider">
  -->}}<!--
+
<div class="specs_card_main_slider_container"></div>
--></div><!--
+
<div class="specs_card_main_slider_system"><!--
-->{{#if: {{{store|}}} |<!--
+
-->{{#if: {{#unit: {{#var: me }} | картинка }} |
    --><div class="ttx-buy"><div data-title="https://store.gaijin.net/story.php?id={{{store|}}}&partner=Wiki&partner_val=lc9fhfph" class="ttx-buy-button">DOWNLOAD THE GAME</div></div><!--
+
  <div>{{#unit: {{#var: me }} | картинка }}</div>
    -->[[Category:With buy button]]<!--
+
}}<!--
-->}}<!--
+
-->{{#if: {{{images|}}} |
-->{{#if: {{{market|}}} |<!--
+
  {{{images|}}}
    --><div class="ttx-marketplace"><div data-title="https://trade.gaijin.net/?n={{{market|}}}&viewitem=&a=1067" class="ttx-marketplace-button">FIND ON MARKETPLACE</div></div><!--
+
}}<!--
    -->[[Category:With marketplace button]]<!--
+
-->{{#if: {{FILEPATH:{{{cockpit|}}}}} |
-->}}<!--
+
  <div>360://{{#tag:nowiki|{{FILEPATH:{{{cockpit|}}}}}}}</div>
--><div class="ttx-info"><!--
+
  [[Category:With cockpit]]
  --><div class="ttx-flag">[[File:{{#var: country }} flag.png|44px|link=:Category:{{#var: country }} {{#var: typeM }}]]</div><!--
+
}}<!--
  --><span class="ttx-country">[[:Category:{{#var: country }} {{#var: typeM }}|{{#var: country }}]]</span><!--
+
--></div>
  --><span class="ttx-rank">[[:Category:{{#var: rank }} rank {{#var: typeM }}|{{#unit: {{#var: me }} | ранг }} Rank]]</span><!--
+
</div>
--></div><!--
+
{{#if: {{{title_name|}}}
--><div class="ttx-switch-mode"><div class="ttx-switch-mode-button" id="ttx-ab-button">AB</div><div class="ttx-switch-mode-button" id="ttx-rb-button">RB</div><div class="ttx-switch-mode-button" id="ttx-sb-button">SB</div></div><!--
+
  |{{DISPLAYTITLE:{{{title_name}}}}}[[Category:Changed visible name]]
--><div class="ttx-table"><!--
+
}}
--><div class="ttx-table-line ttx-table-head">General characteristics</div><!--
+
<div class="specs_card_main_info">
--><div class="ttx-table-line ttx-switch-size"><div id="ttx-short" class="ttx-switch-size-button"><span class="ttx-switch-size-text">Brief</span></div><div id="ttx-detail" class="ttx-switch-size-button"><span class="ttx-switch-size-text">Detailed</span></div></div><!--
+
<div class="general_info_name">{{#if: {{{card_name|}}}
--><div class="ttx-table-line"><span class="ttx-sb ttx-value">{{#unit: {{#var: me }} | бр | сб }}</span><span class="ttx-unvisible ttx-value">/</span><span class="ttx-rb ttx-value">{{#unit: {{#var: me }} | бр | рб }}</span><span class="ttx-unvisible ttx-value">/</span><span class="ttx-ab ttx-value">{{#unit: {{#var: me }} | бр | аб }}</span><span class="ttx-name">{{Annotation|BR|Battle ratings}}</span></div><!--
+
  |{{{card_name}}}
--><div class="ttx-table-line"><span class="ttx-value"><!--
+
  |{{#unit: {{#var:me}} | псевдоним}}
-->[[Category:{{#var: type }}]]<!--
+
}}</div>
-->[[Category:{{#var: country }} {{#var: typeM }}]]<!--
+
<div class="general_info_neighbors"><!--
-->[[Category:{{#var: rank }} rank {{#var: typeM }}]]<!--
+
-->{{#if: {{#unit: {{#var: me }} | prev }} |<div class="prev">[[{{#unit: {{#unit: {{#var: me }} | prev }} | статья }}|{{#unit: {{#unit: {{#var: me }} | prev }} | псевдоним }}]]</div>}}<!--
-->{{#vardefine: i | 1 }}<!--
+
-->{{#if: {{#unit: {{#var: me }} | next }} |<div class="next">[[{{#unit: {{#unit: {{#var: me }} | next }} | статья }}|{{#unit: {{#unit: {{#var: me }} | next }} | псевдоним }}]]</div>}}<!--
  -->{{#while:
+
--></div>
      |{{#if: {{#unit: {{#var: me }} | класс | {{#var: i }} }} | true }}
+
<div class="general_info">
      |{{#ifexpr: {{#var: i }} != 1 |<br>}}<!--
+
<div class="general_info_nation">[[File:{{#var: country }} flag.png|45px|link=:Category:{{#var: country }} {{#var: typeM }}]] [[:Category:{{#var: country }} {{#var: typeM }}|{{#var: country }}]]</div>
    -->{{#switch: {{#unit: {{#var: me }} | класс | {{#var: i }} | код }}
+
<div class="general_info_rank">[[:Category:{{#var: rank }} rank {{#var: typeM }}|{{#unit: {{#var: me }} | ранг }} Rank]]</div>
 +
</div>
 +
<div class="general_info_2">
 +
<div class="general_info_br"><div class="desc">[[Battle ratings|Battle rating]]:</div>
 +
<table rules="all"><tr>
 +
<td>[[Arcade Battles|AB]]</td>
 +
<td>[[Realistic Battles|RB]]</td>
 +
<td>[[Simulator Battles|SB]]</td></tr>
 +
<tr>
 +
<td>{{#unit: {{#var: me }} | бр | аб }}</td>
 +
<td>{{#unit: {{#var: me }} | бр | рб }}</td>
 +
<td>{{#unit: {{#var: me }} | бр | сб }}</td>
 +
</tr></table>
 +
</div>
 +
 
 +
<div class="general_info_class"><span class="desc">Class:</span><!--
 +
-->{{#ifeq: {{#unit: {{#var: me }} | премиумная }} | 1
 +
  |<div class="premium">[[:Category:Premium {{#var: typeM }}|PREMIUM]]</div>
 +
  [[Category:Premium {{#var: typeM }}]]
 +
}}<!--
 +
-->{{#ifeq: {{#unit: {{#var: me }} | полковая }} | 1
 +
  |<div class="squadron">[[:Category:Squadron {{#var: typeM }}|SQUADRON]]</div>
 +
  [[Category:Squadron {{#var: typeM }}]]
 +
}}<!--
 +
-->{{#vardefine: i | 1 }}
 +
{{#while:
 +
  |{{#if: {{#unit: {{#var: me }} | класс | {{#var: i }} }} | true }}
 +
    |<div>{{#switch: {{#unit: {{#var: me }} | класс | {{#var: i }} | код }}
 
         | type_missile_tank = [[:Category:ATGM vehicles|ATGM vehicle]][[Category:ATGM vehicles]]
 
         | type_missile_tank = [[:Category:ATGM vehicles|ATGM vehicle]][[Category:ATGM vehicles]]
 
         | type_spaa = [[:Category:Anti-aircraft vehicles|SPAA]][[Category:Anti-aircraft vehicles]]
 
         | type_spaa = [[:Category:Anti-aircraft vehicles|SPAA]][[Category:Anti-aircraft vehicles]]
Line 83: Line 111:
 
         | type_strike_fighter = [[:Category:Strike fighters|Strike fighter]][[Category:Strike fighters]]
 
         | type_strike_fighter = [[:Category:Strike fighters|Strike fighter]][[Category:Strike fighters]]
 
         | type_torpedo = [[:Category:Torpedo bombers|Torpedo bomber]][[Category:Torpedo bombers]]
 
         | type_torpedo = [[:Category:Torpedo bombers|Torpedo bomber]][[Category:Torpedo bombers]]
         | type_assault = [[:Category:Attackers|Attacker]][[Category:Attackers]]
+
         | type_assault = [[:Category:Strike aircraft|Strike aircraft]][[Category:Strike aircraft]]
 +
        | type_naval_aircraft = [[:Category:Naval aircraft|Naval aircraft]][[Category:Naval aircraft]]
 
         | type_biplane = [[:Category:Biplanes|Biplane]][[Category:Biplanes]]
 
         | type_biplane = [[:Category:Biplanes|Biplane]][[Category:Biplanes]]
 
         | type_jet_fighter = [[:Category:Jet fighters|Jet fighter]][[Category:Jet fighters]]
 
         | type_jet_fighter = [[:Category:Jet fighters|Jet fighter]][[Category:Jet fighters]]
Line 94: Line 123:
 
         | type_hydroplane = [[:Category:Hydroplanes|Hydroplane]][[Category:Hydroplanes]]
 
         | type_hydroplane = [[:Category:Hydroplanes|Hydroplane]][[Category:Hydroplanes]]
 
         | type_flying_boat = [[:Category:Flying boats|Flying boat]][[Category:Flying boats]]
 
         | type_flying_boat = [[:Category:Flying boats|Flying boat]][[Category:Flying boats]]
| type_attack_helicopter = [[:Category:Attack helicopters|Attack helicopter]][[Category:Attack helicopters]]
+
        | type_attack_helicopter = [[:Category:Attack helicopters|Attack helicopter]][[Category:Attack helicopters]]
| type_boat = [[:Category:Boats|Boat]][[Category:Boats]]
+
        | type_boat = [[:Category:Boats|Boat]][[Category:Boats]]
| type_missile_boat = [[:Category:Fast attack crafts|Fast attack craft]][[Category:Fast attack crafts]]
+
        | type_missile_boat = [[:Category:Fast attack crafts|Fast attack craft]][[Category:Fast attack crafts]]
| type_heavy_boat = [[:Category:Heavy boats|Heavy boat]][[Category:Heavy boats]]
+
        | type_heavy_boat = [[:Category:Heavy boats|Heavy boat]][[Category:Heavy boats]]
| type_gun_boat = [[:Category:Motor gun boats|Motor gun boat]][[Category:Motor gun boats]]
+
        | type_gun_boat = [[:Category:Motor gun boats|Motor gun boat]][[Category:Motor gun boats]]
| type_torpedo_boat = [[:Category:Motor torpedo boats|Motor torpedo boat]][[Category:Motor torpedo boats]]
+
        | type_torpedo_boat = [[:Category:Motor torpedo boats|Motor torpedo boat]][[Category:Motor torpedo boats]]
| type_small_submarine_chaser = [[:Category:Small sub-chasers|Small sub-chaser]][[Category:Small sub-chasers]]
+
        | type_small_submarine_chaser = [[:Category:Small sub-chasers|Small sub-chaser]][[Category:Small sub-chasers]]
| type_submarine_chaser = [[:Category:Sub-chasers|Sub-chaser]][[Category:Sub-chasers]]
+
        | type_submarine_chaser = [[:Category:Sub-chasers|Sub-chaser]][[Category:Sub-chasers]]
| type_armored_submarine_chaser = [[:Category:Armored sub-chasers|Armored sub-chaser]][[Category:Armored sub-chasers]]
+
        | type_armored_submarine_chaser = [[:Category:Armored sub-chasers|Armored sub-chaser]][[Category:Armored sub-chasers]]
| type_armored_boat = [[:Category:Armored gun boats|Armored gun boat]][[Category:Armored gun boats]]
+
        | type_armored_boat = [[:Category:Armored gun boats|Armored gun boat]][[Category:Armored gun boats]]
| type_hydrofoil_torpedo_boat = [[:Category:Hydrofoil torpedo boats|Hydrofoil torpedo boat]][[Category:Hydrofoil torpedo boats]]
+
        | type_hydrofoil_torpedo_boat = [[:Category:Hydrofoil torpedo boats|Hydrofoil torpedo boat]][[Category:Hydrofoil torpedo boats]]
| type_destroyer = [[:Category:Destroyers|Destroyer]][[Category:Destroyers]]
+
        | type_destroyer = [[:Category:Destroyers|Destroyer]][[Category:Destroyers]]
| type_light_cruiser = [[:Category:Light cruisers|Light cruiser]][[Category:Light cruisers]]
+
        | type_light_cruiser = [[:Category:Light cruisers|Light cruiser]][[Category:Light cruisers]]
| type_cruiser = [[:Category:Heavy cruisers|Heavy cruiser]][[Category:Heavy cruisers]]
+
        | type_heavy_cruiser = [[:Category:Heavy cruisers|Heavy cruiser]][[Category:Heavy cruisers]]
| type_barge = [[:Category:Barges|Barge]][[Category:Barges]]
+
        | type_barge = [[:Category:Barges|Barge]][[Category:Barges]]
| type_naval_aa_ferry = [[:Category:Anti-air ferrys|Anti-air ferry]][[Category:Anti-air ferrys]]
+
        | type_naval_aa_ferry = [[:Category:Anti-air ferrys|Anti-air ferry]][[Category:Anti-air ferrys]]
| type_naval_ferry_barge = [[:Category:Naval ferry barges|Naval ferry barge]][[Category:Naval ferry barges]]
+
        | type_naval_ferry_barge = [[:Category:Naval ferry barges|Naval ferry barge]][[Category:Naval ferry barges]]
| type_minesweeper = [[:Category:Minesweepers|Minesweeper]][[Category:Minesweepers]]
+
        | type_minesweeper = [[:Category:Minesweepers|Minesweeper]][[Category:Minesweepers]]
| type_minelayer = [[:Category:Minelayers|Minelayer]][[Category:Minelayers]]
+
        | type_minelayer = [[:Category:Minelayers|Minelayer]][[Category:Minelayers]]
| type_torpedo_gun_boat = [[:Category:Motor torpedo gun boats|Motor torpedo gun boat]][[Category:Motor torpedo gun boats]]
+
        | type_frigate = [[:Category:Frigates|Frigate]][[Category:Frigates]]
| type_heavy_gun_boat = [[:Category:Gunboats|Gunboat]][[Category:Gunboats]]
+
        | type_torpedo_gun_boat = [[:Category:Motor torpedo gun boats|Motor torpedo gun boat]][[Category:Motor torpedo gun boats]]
| type_utility_helicopter = [[:Category:Utility helicopters|Utility helicopter]][[Category:Utility helicopters]]
+
        | type_heavy_gun_boat = [[:Category:Gunboats|Gunboat]][[Category:Gunboats]]
        | #default = [[Category:{{#unit: {{#var: me }} | класс | {{#var: i }} }}]][[:Category:{{#unit: {{#var: me }} | класс | {{#var: i }} }}|{{#unit: {{#var: me }} | класс | {{#var: i }} }}]]
+
        | type_battleship = [[:Category:Battleships|Battleship]][[Category:Battleships]]
  }}{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }}<!--
+
        | type_battlecruiser = [[:Category:Battlecruisers|Battlecruiser]][[Category:Battlecruisers]]
  -->}}</span><span class="ttx-name">Class</span></div><!--
+
        | type_utility_helicopter = [[:Category:Utility helicopters|Utility helicopter]][[Category:Utility helicopters]]
--><div class="ttx-table-line"><span class="ttx-value">{{#unit: {{#var: me }} | экипаж | количество }} {{#ifexpr: {{#unit: {{#var: me }} | экипаж | количество }} = 1 | person | people }}</span><span class="ttx-name">Crew</span></div><!--
+
    | type_strike_ucav = [[:Category:UCAV|Strike UCAV]][[Category:UCAV]]
-->{{#switch: {{#var: type }}
+
  }}</div>{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }}
    |Aviation={{Specs-Card-Aviation}}
+
}}
    |Ground vehicles={{Specs-Card-Tank}}
+
</div>
    |Fleet={{Specs-Card-Fleet}}
+
</div>
    |Helicopters={{Specs-Card-Helicopter}}
+
<div class="general_info_price">
 +
{{#ifeq: {{#unit: {{#var: me }} | акционная }} | 0<!--
 +
-->|<!--
 +
  -->{{#ifeq: {{#unit: {{#var: me }} | цена | валюта }} | S<!--
 +
    -->|<!--
 +
      --><div class="general_info_price_research"><!--
 +
      --><span class="desc">Research:</span><!--
 +
      --><span class="value"><!--
 +
      -->{{#ifeq: {{#unit: {{#var: me }} | исследование }} | 0<!--
 +
        -->|Free<!--
 +
        -->|{{#unit:{{#var:me}} |исследование | format=1 }} <!--
 +
          -->{{#ifeq: {{#unit: {{#var: me }} | полковая }} | 0<!--
 +
          -->|[[File:Specs-Card-Exp.png|14px|link=Research Points]]<!--
 +
          -->|[[File:Specs-Card-Activity.png|23px|link=Research Points]]<!--
 +
          -->}}<!--
 +
      -->}}<!--
 +
      --></span></div><!--
 +
      --><div class="general_info_price_buy"><!--
 +
      --><span class="desc">Purchase:</span><!--
 +
      --><span class="value"><!--
 +
      -->{{#ifeq: {{#unit: {{#var: me }} | цена }} | 0<!--
 +
      -->|Free<!--
 +
      -->|{{#unit: {{#var: me }} | цена | format=1 }} [[File:Specs-Card-Lion.png|link=Silver Lions]]<!--
 +
      -->}}<!--
 +
      --></span></div><!--
 +
    -->|<!--
 +
      --><div class="general_info_price_buy"><!--
 +
      --><span class="desc">Purchase:</span><!--
 +
      --><span class="value">{{#unit: {{#var: me }} | цена | format=1 }} [[File:Specs-Card-Eagle.png|link=Golden Eagles]]</span><!--
 +
      --></div>
 
     }}<!--
 
     }}<!--
--><div class="ttx-table-line ttx-table-head">Economy</div><!--
+
-->|<!--
  -->{{#ifeq: {{#unit: {{#var: me }} | премиумная }} | 1
+
    --><div class="general_info_price_buy" style="width:100%;"><!--
      |<div class="ttx-table-line"><span class="ttx-value">[[:Category:Premium {{#var: typeM }}|Premium]]</span><span class="ttx-name">Type</span></div><!--
+
    --><span class="desc">Purchase:</span><!--
      -->[[Category:Premium {{#var: typeM }}]]
+
    --><span class="value small">[[:Category:Gift {{#var: typeM }}|Bundle or Gift]]</span><!--
    }}<!--
+
    --></div><!--
  -->{{#ifeq: {{#unit: {{#var: me }} | полковая }} | 1
+
    -->[[Category:Gift {{#var: typeM }}]]
      |<div class="ttx-table-line"><span class="ttx-value">[[:Category:Squadron {{#var: typeM }}|Squadron]]</span><span class="ttx-name">Type</span></div><!--
+
}}
      -->[[Category:Squadron {{#var: typeM }}]]
+
</div>
    }}<!--
+
<div class="general_info_buttons">
  -->{{#ifeq: {{#unit: {{#var: me }} | акционная }} | 0
+
<div class="general_info_buttons_container">
      |{{#ifeq: {{#unit: {{#var: me }} | цена | валюта }} | S
+
<!--<div class="general_info_compare_button" title="Сравнить"><span>Добавить в сравнение</span></div>-->
        |<div class="ttx-table-line"><span class="ttx-value"><!--
+
<div class="general_info_game_button" title="Show in game"><span>Show in game</span></div><!--
      -->{{#ifeq: {{#unit: {{#var: me }} | исследование | значение }} | 0
+
-->{{#if: {{{store|}}} |
          |бесплатно
+
    __NOBANNER__
          |{{#unit:{{#var:me}}|исследование}} {{Rp}}<!--
+
    <div title="Buy" data-link="{{{store|}}}" class="general_info_buy_button"><span>STORE</span></div>
      -->}}</span><span class="ttx-name">Research</span></div><!--
+
     [[Category:With buy button]]
      --><div class="ttx-table-line"><span class="ttx-value"><!--
+
}}<!--
      -->{{#ifeq: {{#unit: {{#var: me }} | цена | значение }} | 0
+
-->{{#if: {{{market|}}} |
          |бесплатно
+
    __NOBANNER__
          |{{#unit: {{#var: me }} | цена }} {{Sl}}
+
    <div title="Buy" data-link="{{{market|}}}" class="general_info_market_button"><span>MARKET</span></div>
        }}</span><span class="ttx-name">Purchase</span></div>
+
    [[Category:With marketplace button]]
        |<div class="ttx-table-line"><span class="ttx-value">{{#unit: {{#var: me }} | цена }} {{Zo}}</span><span class="ttx-name">Purchase</span></div><!--
+
}}<!--
    -->}}
+
--></div>
    |<div class="ttx-table-line"><span class="ttx-value">[[:Category:Gift {{#var: typeM }}|Bundle or Gift]]</span><span class="ttx-name">Purchase</span></div><!--
+
</div>
  -->[[Category:Gift {{#var: typeM }}]]
+
<div class="general_info_message"></div>
    }}<!--
+
</div>
--><div class="ttx-table-line"><!--
+
</div>
  -->{{#ifeq:{{#unit: {{#var: me }} | ремонт | рб | макс | значение }} | 0
 
      |<span class="ttx-value">free</span>
 
  |<span class="ttx-value">{{Sl}}</span><span class="ttx-sb ttx-value">{{#ifexpr: ( {{#unit: {{#var: me }} | ремонт | сб | мин | значение }} != {{#unit: {{#var: me }} | ремонт | сб | макс | значение }} ) |{{Annotation|{{#unit: {{#var: me }} | ремонт | сб | мин }} / {{#unit: {{#var: me }} | ремонт | сб | макс }}|minimum / maximum}}|{{#unit: {{#var: me }} | ремонт | сб | макс }}}}</span><span class="ttx-unvisible ttx-value">/</span><!--
 
    --><span class="ttx-rb ttx-value">{{#ifexpr:( {{#unit: {{#var: me }} | ремонт | рб | мин | значение }} != {{#unit: {{#var: me }} | ремонт | рб | макс | значение }} )|{{Annotation|{{#unit: {{#var: me }} | ремонт | рб | мин }} / {{#unit: {{#var: me }} | ремонт | рб | макс }}|minimum / maximum}}|{{#unit: {{#var: me }} | ремонт | рб | макс }}}}</span><span class="ttx-unvisible ttx-value">/</span><!--
 
     --><span class="ttx-ab ttx-value">{{#ifexpr:( {{#unit: {{#var: me }} | ремонт | аб | мин | значение }} != {{#unit: {{#var: me }} | ремонт | аб | макс | значение }} )|{{Annotation|{{#unit: {{#var: me }} | ремонт | аб | мин }} / {{#unit: {{#var: me }} | ремонт | аб | макс }}|minimum / maximum}}|{{#unit: {{#var: me }} | ремонт | аб | макс }}}}</span><!--
 
  -->}}<span class="ttx-name">Repair</span></div><!--
 
--><div class="ttx-table-line ttx-table-collapse"><span class="ttx-value">{{#ifeq: {{#unit: {{#var: me }} | экипаж | базовая | значение }} | 0 | free | {{#unit: {{#var: me }} | экипаж | базовая }} {{Sl}}}}</span><span class="ttx-name">Crew training</span></div><!--
 
--><div class="ttx-table-line ttx-table-collapse"><span class="ttx-value">{{#unit: {{#var: me }} | экипаж | эксперты }} {{Sl}}</span><span class="ttx-name">Experts</span></div><!--
 
--><div class="ttx-table-line ttx-table-collapse"><span class="ttx-value">{{#unit: {{#var: me }} | экипаж | асы }} {{Ge}}</span><span class="ttx-name">Aces</span></div><!--
 
--><div class="ttx-table-line"><span class="ttx-value"></span><span class="ttx-name">Reward for battle</span></div><!--
 
--><div class="ttx-table-line"><span class="ttx-value">× ({{#unit: {{#var: me }} | коэф_опыт }}<!--
 
  -->{{#ifeq: {{#unit: {{#var: me }} | премиумная }} | 1 |&nbsp;+ 100 [[Файл:Talisman.png|18px|class=ttx-img-talisman|link=]] }}<!--
 
-->) %</span><span class="ttx-name-indent">{{Rp}}</span></div><!--
 
--></div></div><!--
 
-->[[ru:{{#unit:{{#var:me}}|статья|ру}}]]
 
 
|[[Category:Non-working Specs-Card]]
 
|[[Category:Non-working Specs-Card]]
}}</includeonly><noinclude>
+
}}__TOC____NOTITLE__</includeonly><noinclude>
 
{{doc}}
 
{{doc}}
 
[[Category:Specs]]
 
[[Category:Specs]]
 
</noinclude>
 
</noinclude>

Latest revision as of 06:51, 2 July 2024

Description

This template is used to create specification cards for vehicles. This template is required for Template:Specs to function properly.

Usage

{{Specs-Card
|code=
|images=
|store=
|market=
|cockpit=
|title_name=
|card_name=
}}

Parameters

  • code - the code of the desired vehicle (required).
  • images - the images to display on the spec card. Template:Specs-Card-Image should be used here.
  • store - the store code of the vehicle (optional).
  • market - the name of the vehicle on Gaijin Marketplace (optional).
  • cockpit - the name of the 3D cockpit image uploaded to the wiki (optional).
  • title_name - Changes the display title of the page and adds page to Category:Changed visible name (optional).
  • card_name - Changes the name displayed on the stat card and adds page to Category:Changed name in the card (optional).