Difference between revisions of "Template:Specs-Card"

From War Thunder Wiki
Jump to: navigation, search
m
Line 163: Line 163:
 
       -->{{#ifeq: {{#unit: {{#var: me }} | исследование }} | 0<!--
 
       -->{{#ifeq: {{#unit: {{#var: me }} | исследование }} | 0<!--
 
         -->|Free<!--
 
         -->|Free<!--
         -->|{{#unit:{{#var:me}} |исследование | format=1 }} [[File:Specs-Card-Exp.png|14px|link=Очки исследования]]<!--
+
         -->|{{#unit:{{#var:me}} |исследование | format=1 }} [[File:Specs-Card-Exp.png|14px|link=Research Points]]<!--
 
       -->}}<!--
 
       -->}}<!--
 
       --></span></div><!--
 
       --></span></div><!--
Line 171: Line 171:
 
       -->{{#ifeq: {{#unit: {{#var: me }} | цена }} | 0<!--
 
       -->{{#ifeq: {{#unit: {{#var: me }} | цена }} | 0<!--
 
       -->|Free<!--
 
       -->|Free<!--
       -->|{{#unit: {{#var: me }} | цена | format=1 }} [[File:Specs-Card-Lion.png|link=Серебряные львы]]<!--
+
       -->|{{#unit: {{#var: me }} | цена | format=1 }} [[File:Specs-Card-Lion.png|link=Silver Lions]]<!--
 
       -->}}<!--
 
       -->}}<!--
 
       --></span></div><!--
 
       --></span></div><!--
Line 177: Line 177:
 
       --><div class="general_info_price_buy"><!--
 
       --><div class="general_info_price_buy"><!--
 
       --><span class="desc">Purchase:</span><!--
 
       --><span class="desc">Purchase:</span><!--
       --><span class="value">{{#unit: {{#var: me }} | цена | format=1 }} [[File:Specs-Card-Eagle.png|link=Золотые орлы]]</span><!--
+
       --><span class="value">{{#unit: {{#var: me }} | цена | format=1 }} [[File:Specs-Card-Eagle.png|link=Golden Eagles]]</span><!--
 
       --></div>
 
       --></div>
 
     }}<!--
 
     }}<!--

Revision as of 09:54, 24 December 2020

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