Difference between revisions of "Template:Specs-Card"
m |
m |
||
Line 86: | Line 86: | ||
--><div class="ttx-table-line"><span class="ttx-value">sec</span><span class="ttx-sb ttx-value">{{#unit: {{#var: me }} | вираж | сб }}</span><span class="ttx-unvisible ttx-value">/</span><span class="ttx-rb ttx-value">{{#unit: {{#var: me }} | вираж | рб }}</span><span class="ttx-unvisible ttx-value">/</span><span class="ttx-ab ttx-value">{{#unit: {{#var: me }} | вираж | аб }}</span><span class="ttx-name">Turn Time</span></div><!-- | --><div class="ttx-table-line"><span class="ttx-value">sec</span><span class="ttx-sb ttx-value">{{#unit: {{#var: me }} | вираж | сб }}</span><span class="ttx-unvisible ttx-value">/</span><span class="ttx-rb ttx-value">{{#unit: {{#var: me }} | вираж | рб }}</span><span class="ttx-unvisible ttx-value">/</span><span class="ttx-ab ttx-value">{{#unit: {{#var: me }} | вираж | аб }}</span><span class="ttx-name">Turn Time</span></div><!-- | ||
--><div class="ttx-table-line"><span class="ttx-value">{{#unit: {{#var: me }} | сваливание }} km/h</span><span class="ttx-name">Stalling speed</span></div><!-- | --><div class="ttx-table-line"><span class="ttx-value">{{#unit: {{#var: me }} | сваливание }} km/h</span><span class="ttx-name">Stalling speed</span></div><!-- | ||
− | --><div class="ttx-table-line"><span class="ttx-value">{{#ifexpr: {{# | + | --><div class="ttx-table-line"><span class="ttx-value">{{#ifexpr: {{#unit: {{#var: me }} | двигатель | количество }} > 1|{{#unit: {{#var: me }} | двигатель | количество }} х }}{{#unit: {{#var: me }} | двигатель | название }}</span><span class="ttx-name">Engine</span></div><!-- |
--><div class="ttx-table-line"><span class="ttx-value">{{#unit: {{#var: me }} | двигатель | тип }}</span><span class="ttx-name-indent">Type</span></div><!-- | --><div class="ttx-table-line"><span class="ttx-value">{{#unit: {{#var: me }} | двигатель | тип }}</span><span class="ttx-name-indent">Type</span></div><!-- | ||
--><div class="ttx-table-line"><span class="ttx-value"><!-- | --><div class="ttx-table-line"><span class="ttx-value"><!-- |
Revision as of 17:03, 10 September 2018
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).