Difference between revisions of "Template:Specs-Card/Documentation"

From War Thunder Wiki
Jump to: navigation, search
(Created docpage)
m
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
== Usage ==
 
== Usage ==
 
<pre>{{Specs-Card
 
<pre>{{Specs-Card
| code=
+
|code=
| store=
+
|images=
| market=
+
|store=
| cockpit=
+
|market=
 +
|cockpit=
 +
|title_name=
 +
|card_name=
 
}}</pre>
 
}}</pre>
  
 
== Parameters ==
 
== Parameters ==
 
* '''code''' - the code of the desired vehicle (required).
 
* '''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).
 
* '''store''' - the store code of the vehicle (optional).
 
* '''market''' - the name of the vehicle on Gaijin Marketplace (optional).
 
* '''market''' - the name of the vehicle on Gaijin Marketplace (optional).
* '''cockpit''' - the Roundme code of the cockpit tour (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).

Latest revision as of 12:03, 1 January 2021

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