Difference between revisions of "Template:Specs-Card"
(One intermediate revision by the same user not shown) | |||
Line 193: | Line 193: | ||
</div> | </div> | ||
<div class="general_info_buttons"> | <div class="general_info_buttons"> | ||
− | <div class="general_info_buttons_container"></div> | + | <div class="general_info_buttons_container"> |
+ | <!--<div class="general_info_compare_button" title="Сравнить"><span>Добавить в сравнение</span></div>--> | ||
+ | <div class="general_info_game_button" title="Show in game"><span>Show in game</span></div><!-- | ||
+ | -->{{#if: {{{store|}}} | | ||
+ | __NOBANNER__ | ||
+ | <div title="Buy" data-link="{{{store|}}}" class="general_info_buy_button"><span>STORE</span></div> | ||
+ | [[Category:With buy button]] | ||
+ | }}<!-- | ||
+ | -->{{#if: {{{market|}}} | | ||
+ | __NOBANNER__ | ||
+ | <div title="Buy" data-link="{{{market|}}}" class="general_info_market_button"><span>MARKET</span></div> | ||
+ | [[Category:With marketplace button]] | ||
+ | }}<!-- | ||
+ | --></div> | ||
</div> | </div> | ||
<div class="general_info_message"></div> | <div class="general_info_message"></div> | ||
</div> | </div> | ||
− | </div> | + | </div> |
|[[Category:Non-working Specs-Card]] | |[[Category:Non-working Specs-Card]] | ||
}}__TOC____NOTITLE__</includeonly><noinclude> | }}__TOC____NOTITLE__</includeonly><noinclude> |
Latest revision as of 06:51, 2 July 2024
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).