Difference between revisions of "Template:Specs-Card"
Line 53: | Line 53: | ||
| type_light_tank = [[:Category:Лёгкие танки|Лёгкий танк]][[Category:Лёгкие танки]] | | type_light_tank = [[:Category:Лёгкие танки|Лёгкий танк]][[Category:Лёгкие танки]] | ||
| type_heavy_tank = [[:Category:Тяжёлые танки|Тяжёлый танк]][[Category:Тяжёлые танки]] | | type_heavy_tank = [[:Category:Тяжёлые танки|Тяжёлый танк]][[Category:Тяжёлые танки]] | ||
− | | type_aa_fighter = [[:Category: | + | | type_aa_fighter = [[:Category:Air Defence fighters|Air Defence fighter]][[Category:Air Defence fighters]] |
− | | type_bomber = [[:Category: | + | | type_bomber = [[:Category:Bombers|Bomber]][[Category:Bombers]] |
− | | type_frontline_bomber = [[:Category: | + | | type_frontline_bomber = [[:Category:Frontline bombers|Frontline bomber]][[Category:Frontline bombers]] |
− | | type_medium_bomber = [[:Category: | + | | type_medium_bomber = [[:Category:Medium bombers|Medium bomber]][[Category:Medium bombers]] |
− | | type_fighter = [[:Category: | + | | type_fighter = [[:Category:Fighters|Fighter]][[Category:Fighters]] |
− | | type_naval_fighter = [[:Category: | + | | type_naval_fighter = [[:Category:Naval fighters|Naval fighter]][[Category:Naval fighters]] |
| type_light_fighter = [[:Category:Light fighters|Light fighter]][[Category:Light fighters]] | | type_light_fighter = [[:Category:Light fighters|Light fighter]][[Category:Light fighters]] | ||
− | | type_interceptor = [[:Category: | + | | type_interceptor = [[:Category:Interceptors|Interceptor]][[Category:Interceptors]] |
| type_heavy_fighter = [[:Category:Twin-engine fighters|Twin-engine fighter]][[Category:Twin-engine fighters]] | | type_heavy_fighter = [[:Category:Twin-engine fighters|Twin-engine fighter]][[Category:Twin-engine fighters]] | ||
− | | type_strike_fighter = [[:Category: | + | | type_strike_fighter = [[:Category:Strike fighters|Strike fighter]][[Category:Strike fighters]] |
− | | type_torpedo = [[:Category: | + | | type_torpedo = [[:Category:Torpedo bombers|Torpedo bomber]][[Category:Torpedo bombers]] |
− | | type_assault = [[:Category: | + | | type_assault = [[:Category:Attackers|Attacker]][[Category:Attackers]] |
| type_biplane = [[:Category:Biplanes|Biplane]][[Category:Biplanes]] | | type_biplane = [[:Category:Biplanes|Biplane]][[Category:Biplanes]] | ||
− | | type_jet_fighter = [[:Category: | + | | type_jet_fighter = [[:Category:Jet fighters|Jet fighter]][[Category:Jet fighters]] |
− | | type_heavy_bomber = [[:Category: | + | | type_heavy_bomber = [[:Category:Heavy bombers|Heavy bomber]][[Category:Heavy bombers]] |
− | | type_longrange_bomber = [[:Category: | + | | type_longrange_bomber = [[:Category:Long Range bombers|Long Range bomber]][[Category:Long Range bombers]] |
− | | type_dive_bomber = [[:Category: | + | | type_dive_bomber = [[:Category:Dive bombers|Dive bomber]][[Category:Dive bombers]] |
− | | type_naval_bomber = [[:Category: | + | | type_naval_bomber = [[:Category:Naval bombers|Naval bomber]][[Category:Naval bombers]] |
− | | type_light_bomber = [[:Category: | + | | type_light_bomber = [[:Category:Light bombers|Light bomber]][[Category:Light bombers]] |
− | | type_jet_bomber = [[:Category: | + | | type_jet_bomber = [[:Category:Jet bombers|Jet bomber]][[Category:Jet bombers]] |
− | | type_hydroplane = [[:Category: | + | | type_hydroplane = [[:Category:Hydroplanes|Hydroplane]][[Category:Hydroplanes]] |
− | | type_flying_boat = [[:Category: | + | | type_flying_boat = [[:Category:Flying boats|Flying boat]][[Category:Flying boats]] |
| #default = [[Category:{{#unit: {{#var: me }} | класс | {{#var: i }} }}]][[:Category:{{#unit: {{#var: me }} | класс | {{#var: i }} }}|{{#unit: {{#var: me }} | класс | {{#var: i }} }}]] | | #default = [[Category:{{#unit: {{#var: me }} | класс | {{#var: i }} }}]][[:Category:{{#unit: {{#var: me }} | класс | {{#var: i }} }}|{{#unit: {{#var: me }} | класс | {{#var: i }} }}]] | ||
}}{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }}<!-- | }}{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }}<!-- |
Revision as of 15:25, 12 August 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).