Difference between revisions of "Template:Specs-Card"
Inceptor57 (talk | contribs) (Changed ammunition terminology into "rounds" for a more general usage referring to the cartridges.) |
Inceptor57 (talk | contribs) m |
||
Line 145: | Line 145: | ||
-->}}<!-- | -->}}<!-- | ||
--></span><span class="ttx-name">Weapon {{#var: i }}</span></div><!-- | --></span><span class="ttx-name">Weapon {{#var: i }}</span></div><!-- | ||
− | --><div class="ttx-table-line"><span class="ttx-value">{{#unit: {{#var: me }} | курсовое | {{#var: i }} | боезапас }} | + | --><div class="ttx-table-line"><span class="ttx-value">{{#unit: {{#var: me }} | курсовое | {{#var: i }} | боезапас }} rounds</span><span class="ttx-name-indent">Ammunition</span></div><!-- |
--><div class="ttx-table-line ttx-table-collapse"><span class="ttx-value">{{#unit: {{#var: me }} | курсовое | {{#var: i }} | скорострельность }} shots/min</span><span class="ttx-name-indent">Fire rate</span></div><!-- | --><div class="ttx-table-line ttx-table-collapse"><span class="ttx-value">{{#unit: {{#var: me }} | курсовое | {{#var: i }} | скорострельность }} shots/min</span><span class="ttx-name-indent">Fire rate</span></div><!-- | ||
-->{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }} | -->{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }} | ||
Line 164: | Line 164: | ||
-->}}<!-- | -->}}<!-- | ||
--></span><span class="ttx-name">{{#ifexpr: {{#unit: {{#var: me }} | оборонительное | {{#var: i }} | количество }} > 1 |{{#unit: {{#var: me }} | оборонительное | {{#var: i }} | количество }} х  }}Turret</span></div><!-- | --></span><span class="ttx-name">{{#ifexpr: {{#unit: {{#var: me }} | оборонительное | {{#var: i }} | количество }} > 1 |{{#unit: {{#var: me }} | оборонительное | {{#var: i }} | количество }} х  }}Turret</span></div><!-- | ||
− | --><div class="ttx-table-line"><span class="ttx-value">{{#unit: {{#var: me }} | оборонительное | {{#var: i }} | боезапас }} | + | --><div class="ttx-table-line"><span class="ttx-value">{{#unit: {{#var: me }} | оборонительное | {{#var: i }} | боезапас }} rounds</span><span class="ttx-name-indent">Ammunition</span></div><!-- |
--><div class="ttx-table-line ttx-table-collapse"><span class="ttx-value">{{#unit: {{#var: me }} | оборонительное | {{#var: i }} | скорострельность }} shots/min</span><span class="ttx-name-indent">Fire rate</span></div><!-- | --><div class="ttx-table-line ttx-table-collapse"><span class="ttx-value">{{#unit: {{#var: me }} | оборонительное | {{#var: i }} | скорострельность }} shots/min</span><span class="ttx-name-indent">Fire rate</span></div><!-- | ||
-->{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }}<!-- | -->{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }}<!-- | ||
Line 285: | Line 285: | ||
-->}}<!-- | -->}}<!-- | ||
--></span><span class="ttx-name">Weapon {{#var: i }}</span></div><!-- | --></span><span class="ttx-name">Weapon {{#var: i }}</span></div><!-- | ||
− | --><div class="ttx-table-line"><span class="ttx-value">{{#unit: {{#var: me }} | курсовое | {{#var: i }} | боезапас }} | + | --><div class="ttx-table-line"><span class="ttx-value">{{#unit: {{#var: me }} | курсовое | {{#var: i }} | боезапас }} rounds</span><span class="ttx-name-indent">Ammunition</span></div><!-- |
--><div class="ttx-table-line ttx-table-collapse"><span class="ttx-value">{{#unit: {{#var: me }} | курсовое | {{#var: i }} | скорострельность }} shots/min</span><span class="ttx-name-indent">Fire rate</span></div><!-- | --><div class="ttx-table-line ttx-table-collapse"><span class="ttx-value">{{#unit: {{#var: me }} | курсовое | {{#var: i }} | скорострельность }} shots/min</span><span class="ttx-name-indent">Fire rate</span></div><!-- | ||
-->{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }} | -->{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }} |
Revision as of 07:12, 15 February 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).