Difference between revisions of "Template:Specs-Card"

From War Thunder Wiki
Jump to: navigation, search
Line 162: Line 162:
 
  --><div class="ttx-table-line ttx-table-collapse"><span class="ttx-value">{{#unit: {{#var: me }} | экипаж | эксперты }} {{Sl}}</span><span class="ttx-name">Experts</span></div><!--
 
  --><div class="ttx-table-line ttx-table-collapse"><span class="ttx-value">{{#unit: {{#var: me }} | экипаж | эксперты }} {{Sl}}</span><span class="ttx-name">Experts</span></div><!--
 
  --><div class="ttx-table-line ttx-table-collapse"><span class="ttx-value">{{#unit: {{#var: me }} | экипаж | асы }} {{Ge}}</span><span class="ttx-name">Aces</span></div><!--
 
  --><div class="ttx-table-line ttx-table-collapse"><span class="ttx-value">{{#unit: {{#var: me }} | экипаж | асы }} {{Ge}}</span><span class="ttx-name">Aces</span></div><!--
  --><div class="ttx-table-line"><span class="ttx-value">× ({{#unit: {{#var: me }} | коэф_опыт }}<!--
+
  --><div class="ttx-table-line"><span class="ttx-value">({{#unit: {{#var: me }} | коэф_опыт }}<!--
   -->{{#ifeq: {{#unit: {{#var: me }} | премиумная }} | 1 |&nbsp;+ 100 [[File:Talisman.png|18px|class=ttx-img-talisman|link=]] }}<!--
+
   -->{{#ifeq: {{#unit: {{#var: me }} | премиумная }} | 1 |&nbsp;× 2 [[File:Talisman.png|18px|class=ttx-img-talisman|link=]] }}<!--
 
  -->) % {{Rp}}</span><span class="ttx-name">Reward for battle</span></div><!--
 
  -->) % {{Rp}}</span><span class="ttx-name">Reward for battle</span></div><!--
 
  --><div class="ttx-table-line"><!--
 
  --><div class="ttx-table-line"><!--
   --><span class="ttx-value ttx-sb">× {{#unit: {{#var: me }} | коэф_львы | сб }}{{#ifeq: {{#unit: {{#var: me }} | премиумная }} | 1 |&nbsp;× 2 [[File:Talisman.png|18px|class=ttx-img-talisman|link=]] }} {{Sl}}</span><!--
+
   --><span class="ttx-value ttx-sb">{{#unit: {{#var: me }} | коэф_львы | сб }}{{#ifeq: {{#unit: {{#var: me }} | премиумная }} | 1 |&nbsp;× 2 [[File:Talisman.png|18px|class=ttx-img-talisman|link=]] }} % {{Sl}}</span><!--
   --><span class="ttx-value ttx-rb">× {{#unit: {{#var: me }} | коэф_львы | рб }}{{#ifeq: {{#unit: {{#var: me }} | премиумная }} | 1 |&nbsp;× 2 [[File:Talisman.png|18px|class=ttx-img-talisman|link=]] }} {{Sl}}</span><!--
+
   --><span class="ttx-value ttx-rb">{{#unit: {{#var: me }} | коэф_львы | рб }}{{#ifeq: {{#unit: {{#var: me }} | премиумная }} | 1 |&nbsp;× 2 [[File:Talisman.png|18px|class=ttx-img-talisman|link=]] }} % {{Sl}}</span><!--
   --><span class="ttx-value ttx-ab">× {{#unit: {{#var: me }} | коэф_львы | аб }}{{#ifeq: {{#unit: {{#var: me }} | премиумная }} | 1 |&nbsp;× 2 [[File:Talisman.png|18px|class=ttx-img-talisman|link=]] }} {{Sl}}</span><!--
+
   --><span class="ttx-value ttx-ab">{{#unit: {{#var: me }} | коэф_львы | аб }}{{#ifeq: {{#unit: {{#var: me }} | премиумная }} | 1 |&nbsp;× 2 [[File:Talisman.png|18px|class=ttx-img-talisman|link=]] }} % {{Sl}}</span><!--
 
  --><span class="ttx-name"></span></div><!--
 
  --><span class="ttx-name"></span></div><!--
 
  --></div></div><!--
 
  --></div></div><!--

Revision as of 18:00, 25 December 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=
|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).