Difference between revisions of "Template:Specs-Card"

From War Thunder Wiki
Jump to: navigation, search
Line 4: Line 4:
 
     | 1 = {{#vardefine: type | Aviation }}{{#vardefine: typeM | aircraft }}
 
     | 1 = {{#vardefine: type | Aviation }}{{#vardefine: typeM | aircraft }}
 
     | 2 = {{#vardefine: type | Ground vehicles }}{{#vardefine: typeM | ground vehicles }}
 
     | 2 = {{#vardefine: type | Ground vehicles }}{{#vardefine: typeM | ground vehicles }}
| 3 = {{#vardefine: type | Fleet }}{{#vardefine: typeM | ships }}
+
    | 3 = {{#vardefine: type | Fleet }}{{#vardefine: typeM | ships }}
| 4 = {{#vardefine: type | Helicopters }}{{#vardefine: typeM | helicopters }}
+
    | 4 = {{#vardefine: type | Helicopters }}{{#vardefine: typeM | helicopters }}
 
     }}<!--
 
     }}<!--
 
  -->{{#vardefine: country |
 
  -->{{#vardefine: country |
 
     {{#switch: {{#unit: {{#var:me}} | страна }}
 
     {{#switch: {{#unit: {{#var:me}} | страна }}
 +
      | sweden = Sweden
 
       | Great Britain = Britain
 
       | Great Britain = Britain
 
       | #default = {{#unit: {{#var:me}} | страна }}
 
       | #default = {{#unit: {{#var:me}} | страна }}

Revision as of 16:24, 29 October 2019

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=
| store=
| market=
| cockpit=
}}

Parameters

  • code - the code of the desired vehicle (required).
  • store - the store code of the vehicle (optional).
  • market - the name of the vehicle on Gaijin Marketplace (optional).
  • cockpit - the Roundme code of the cockpit tour (optional).