Difference between revisions of "Template:Specs-Card"
| Line 1: | Line 1: | ||
<includeonly>{{#if: {{#unit: {{{code}}} | название }} |<!-- | <includeonly>{{#if: {{#unit: {{{code}}} | название }} |<!-- | ||
| − | --> | + | --><div class="specs_card_main" data-code="{{#unit: {{{code}}} | код }}"> |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | <div class="specs_card_main" data-code="{{#unit: {{ | ||
<div class="specs_card_mobile_info"> | <div class="specs_card_mobile_info"> | ||
<div class="general_info_name">{{#if: {{{card_name|}}} | <div class="general_info_name">{{#if: {{{card_name|}}} | ||
|{{{card_name}}}[[Category:Changed name in the card]] | |{{{card_name}}}[[Category:Changed name in the card]] | ||
| − | |{{#unit: {{ | + | |{{#unit: {{{code}}} | псевдоним}} |
}}</div> | }}</div> | ||
</div> | </div> | ||
| Line 36: | Line 10: | ||
<div class="specs_card_main_slider_container"></div> | <div class="specs_card_main_slider_container"></div> | ||
<div class="specs_card_main_slider_system"><!-- | <div class="specs_card_main_slider_system"><!-- | ||
| − | --><div>https://static.encyclopedia.warthunder.com/images/{{lc: {{ | + | --><div>https://static.encyclopedia.warthunder.com/images/{{lc: {{{code}}}}}.png</div><!-- |
-->{{#if: {{{images|}}} | | -->{{#if: {{{images|}}} | | ||
{{{images|}}} | {{{images|}}} | ||
| Line 52: | Line 26: | ||
<div class="general_info_name">{{#if: {{{card_name|}}} | <div class="general_info_name">{{#if: {{{card_name|}}} | ||
|{{{card_name}}} | |{{{card_name}}} | ||
| − | |{{#unit: {{ | + | |{{#unit: {{{code}}} | псевдоним}} |
}}</div> | }}</div> | ||
</div> | </div> | ||
Revision as of 14:50, 10 July 2025
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).

