Difference between revisions of "Template:Specs-Card"
Inceptor57 (talk | contribs) |
|||
Line 42: | Line 42: | ||
--><div class="ttx-buy"><div data-title="https://store.gaijin.net/story.php?id={{{store|}}}&partner=Wiki&partner_val=lc9fhfph" class="ttx-buy-button">DOWNLOAD THE GAME</div></div><!-- | --><div class="ttx-buy"><div data-title="https://store.gaijin.net/story.php?id={{{store|}}}&partner=Wiki&partner_val=lc9fhfph" class="ttx-buy-button">DOWNLOAD THE GAME</div></div><!-- | ||
-->[[Category:With buy button]]<!-- | -->[[Category:With buy button]]<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#if: {{{market|}}} |<!-- | ||
+ | --><div class="ttx-marketplace"><div data-title="https://trade.gaijin.net/?n={{{market|}}}&viewitem=&a=1067" class="ttx-marketplace-button">FIND ON MARKETPLACE</div></div><!-- | ||
+ | -->[[Category:With marketplace button]]<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--><div class="ttx-info"><!-- | --><div class="ttx-info"><!-- | ||
Line 103: | Line 107: | ||
| type_destroyer = [[:Category:Destroyers|Destroyer]][[Category:Destroyers]] | | type_destroyer = [[:Category:Destroyers|Destroyer]][[Category:Destroyers]] | ||
| type_light_cruiser = [[:Category:Light cruisers|Light cruiser]][[Category:Light cruisers]] | | type_light_cruiser = [[:Category:Light cruisers|Light cruiser]][[Category:Light cruisers]] | ||
+ | | type_cruiser = [[:Category:Heavy cruisers|Heavy cruiser]][[Category:Heavy cruisers]] | ||
| type_barge = [[:Category:Barges|Barge]][[Category:Barges]] | | type_barge = [[:Category:Barges|Barge]][[Category:Barges]] | ||
| type_naval_aa_ferry = [[:Category:Anti-air ferrys|Anti-air ferry]][[Category:Anti-air ferrys]] | | type_naval_aa_ferry = [[:Category:Anti-air ferrys|Anti-air ferry]][[Category:Anti-air ferrys]] |
Revision as of 12:04, 4 June 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).