Difference between revisions of "Template:Specs-Card"

From War Thunder Wiki
Jump to: navigation, search
Line 79: Line 79:
 
   -->}}</span><span class="ttx-name">Класс</span></div><!--
 
   -->}}</span><span class="ttx-name">Класс</span></div><!--
 
  --><div class="ttx-table-line"><span class="ttx-value">{{#unit: {{#var: me }} | экипаж }} человек</span><span class="ttx-name">Экипаж</span></div><!--
 
  --><div class="ttx-table-line"><span class="ttx-value">{{#unit: {{#var: me }} | экипаж }} человек</span><span class="ttx-name">Экипаж</span></div><!--
  -->{{#ifeq: {{#var: type }} | Air forces
+
  -->{{#ifeq: {{#var: type }} | Aviation
 
     |<div class="ttx-table-line"><span class="ttx-value">{{#unit: {{#var: me }} | вес | пустой }} тонн</span><span class="ttx-name">Вес пустого</span></div><!--
 
     |<div class="ttx-table-line"><span class="ttx-value">{{#unit: {{#var: me }} | вес | пустой }} тонн</span><span class="ttx-name">Вес пустого</span></div><!--
 
   --><div class="ttx-table-line"><span class="ttx-value">{{#unit: {{#var: me }} | вес | полный }} тонн</span><span class="ttx-name">Взлётный вес</span></div><!--
 
   --><div class="ttx-table-line"><span class="ttx-value">{{#unit: {{#var: me }} | вес | полный }} тонн</span><span class="ttx-name">Взлётный вес</span></div><!--

Revision as of 11:33, 12 August 2018

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).