Difference between revisions of "Template:Specs-Card"

From War Thunder Wiki
Jump to: navigation, search
 
(8 intermediate revisions by 2 users not shown)
Line 22: Line 22:
 
       | 6 = Sixth
 
       | 6 = Sixth
 
       | 7 = Seventh
 
       | 7 = Seventh
 +
      | 8 = Eighth
 
       }}
 
       }}
 
     }}<!--
 
     }}<!--
Line 110: 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:Strike aircrafts|Strike aircraft]][[Category:Strike aircrafts]]
+
         | type_assault = [[:Category:Strike aircraft|Strike aircraft]][[Category:Strike aircraft]]
 
         | type_naval_aircraft = [[:Category:Naval aircraft|Naval aircraft]][[Category:Naval 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]]
Line 147: Line 148:
 
         | type_battlecruiser = [[:Category:Battlecruisers|Battlecruiser]][[Category:Battlecruisers]]
 
         | type_battlecruiser = [[:Category:Battlecruisers|Battlecruiser]][[Category:Battlecruisers]]
 
         | type_utility_helicopter = [[:Category:Utility helicopters|Utility helicopter]][[Category:Utility helicopters]]
 
         | type_utility_helicopter = [[:Category:Utility helicopters|Utility helicopter]][[Category:Utility helicopters]]
 +
    | type_strike_ucav = [[:Category:UCAV|Strike UCAV]][[Category:UCAV]]
 
   }}</div>{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }}
 
   }}</div>{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }}
 
}}
 
}}
Line 191: Line 193:
 
</div>
 
</div>
 
<div class="general_info_buttons">
 
<div class="general_info_buttons">
<div class="general_info_buttons_container">
+
<div class="general_info_buttons_container"><!--
<!--<div class="general_info_compare_button" title="Сравнить"><span>Добавить в сравнение</span></div>-->
 
<div class="general_info_game_button" title="Show in game"><span>Show in game</span></div><!--
 
 
-->{{#if: {{{store|}}} |
 
-->{{#if: {{{store|}}} |
 
     __NOBANNER__
 
     __NOBANNER__
Line 209: Line 209:
 
</div>
 
</div>
 
</div>
 
</div>
[[ru:{{#unit:{{#var:me}}|статья|ру}}]]
 
 
|[[Category:Non-working Specs-Card]]
 
|[[Category:Non-working Specs-Card]]
 
}}__TOC____NOTITLE__</includeonly><noinclude>
 
}}__TOC____NOTITLE__</includeonly><noinclude>

Latest revision as of 10:49, 27 November 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).