Template:Infobox vehicle: Difference between revisions
Jump to navigation
Jump to search
RaiderAlpha (talk | contribs) Created page with "<onlyinclude>{{Infobox |above = {{#if:{{{name|}}}|{{{name|}}}|Faction}} |image = {{#if:{{{icon|}}}|[[File:{{{icon|}}}|72px|center]]|}} |image2 = {{#if:{{{image|}}}|F..." |
RaiderAlpha (talk | contribs) No edit summary |
||
(39 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{Infobox | <onlyinclude>{{Infobox | ||
|above = {{#if:{{{name|}}}|{{{name|}}}| | |||
|aboveclass = infobox-title | |||
| | |imageclass = infobox-image | ||
| | |rowclass = infobox-data | ||
|header1 = {{#if:{{{is_flying|}}}| | |||
|bodystyle = {{Infobox style|infobox}} | |||
|abovestyle = {{Infobox style|infobox_title}} | |||
|headerstyle = {{Infobox style|infobox_header}} | |||
|labelstyle = {{Infobox style|infobox_label}} | |||
|above = {{#if:{{{name|}}}|{{{name|}}}|Vehicle}}{{#if:{{{icon|}}}|<br />[[File:{{{icon|}}}|72px|center]]|}} | |||
|image = {{#if:{{{slides|}}}<!-- | |||
-->|{{SlidesToTabber|{{{slides}}}|{{#if:{{{imgsize|}}}|{{{imgsize}}}|300px}}}}<!-- | |||
-->|{{#if:{{{image|}}}|[[File:{{{image|}}}|{{#if:{{{imgsize|}}}|{{{imgsize|}}}|300px}}|center]]|}} | |||
}} | |||
|caption = {{#if:{{{imgdesc|}}}|{{{imgdesc|}}}|}} | |||
|class1 = infobox-header | |||
|header1 = {{#if:{{{is_flying|}}}|Air Vehicle|Ground Vehicle}} | |||
|label2 = Faction | |label2 = Faction | ||
|data2 = {{#if:{{{faction|}}}|{{{faction|}}}|}} | |data2 = {{#if:{{{faction|}}}|{{{faction|}}}|}} | ||
Line 17: | Line 32: | ||
|label7 = Cost | |label7 = Cost | ||
|data7 = {{#if:{{{cost|}}}|{{{cost|}}}|}} | |data7 = {{#if:{{{cost|}}}|{{{cost|}}}|}} | ||
|header8 = {{#if:{{{weapon|}}}|{{{weapon|}}}|}} | |||
|label9 = <abbr title="Full damage will be inflicted only if the target body is struck completely by the projectile. Higher veterancy ranks will increase the base damage by a specified multiplier.">Damage</abbr> | |||
|data9 = {{#if:{{{damage|}}}|{{{damage|}}}|}} | |||
|label10 = Projectile type | |||
|data10 = {{#if:{{{proj_type|}}}|{{{proj_type|}}}|}} | |||
|label11 = Projectile speed | |||
|data11 = {{#if:{{{proj_speed|}}}|{{{proj_speed|}}}|}} | |||
|label12 = Range | |||
|data12 = {{#if:{{{range|}}}|{{{range|}}}|}} | |||
|label13 = Rate of fire | |||
|data13 = {{#if:{{{rof|}}}|{{{rof|}}}|}} | |||
|label14 = Magazine | |||
|data14 = {{#if:{{{magazine|}}}|{{{magazine|}}}|}} | |||
|header15 = {{#if:{{{weapon_2|}}}|{{{weapon_2|}}}|}} | |||
|label16 = <abbr title="Full damage will be inflicted only if the target body is struck completely by the projectile. Higher veterancy ranks will increase the base damage by a specified multiplier.">Damage</abbr> | |||
|data16 = {{#if:{{{damage_2|}}}|{{{damage_2|}}}|}} | |||
|label17 = Projectile type | |||
|data17 = {{#if:{{{proj_type_2|}}}|{{{proj_type_2|}}}|}} | |||
|label18 = Projectile speed | |||
|data18 = {{#if:{{{proj_speed_2|}}}|{{{proj_speed_2|}}}|}} | |||
|label19 = Range | |||
|data19 = {{#if:{{{range_2|}}}|{{{range_2|}}}|}} | |||
|label20 = Rate of fire | |||
|data20 = {{#if:{{{rof_2|}}}|{{{rof_2|}}}|}} | |||
|label21 = Magazine | |||
|data21 = {{#if:{{{magazine_2|}}}|{{{magazine_2|}}}|}} | |||
|header22 = {{#if:{{{internalname|}}}{{{jargon|}}}|Miscellaneous}} | |||
|label23 = Internal name | |||
|data23 = {{#if:{{{internalname|}}}|{{{internalname|}}}|}} | |||
|label24 = [[Glossary of player terms|<font color="#fff">Jargon</font>]] | |||
|data24 = {{#if:{{{jargon|}}}|{{{jargon|}}}|}} | |||
|header25 = {{#if:{{{notes|}}}|Notes}} | |||
|data26 = {{{notes|}}} | |||
}}</onlyinclude><noinclude> | }}</onlyinclude><noinclude> | ||
== Usage == | == Usage == | ||
Line 25: | Line 78: | ||
|icon = | |icon = | ||
|image = | |image = | ||
|slides = | |||
|imgsize = | |imgsize = | ||
|imgdesc = | |imgdesc = | ||
<!-- General characteristics --> | <!-- General characteristics --> | ||
|is_flying = | |||
|faction = | |faction = | ||
|role = | |role = | ||
Line 35: | Line 90: | ||
|seats = | |seats = | ||
|cost = | |cost = | ||
<!-- Primary armament --> | <!-- Primary armament --> | ||
|weapon = | |weapon = | ||
|damage = | |||
|proj_type = | |proj_type = | ||
|proj_speed = | |proj_speed = | ||
|range = | |range = | ||
|rof = | |rof = | ||
| | |magazine = | ||
<!-- Secondary armament --> | <!-- Secondary armament --> | ||
|weapon_2 = | |weapon_2 = | ||
|damage_2 = | |||
|proj_type_2 = | |proj_type_2 = | ||
|proj_speed_2 = | |proj_speed_2 = | ||
|range_2 = | |range_2 = | ||
|rof_2 = | |rof_2 = | ||
| | |magazine_2 = | ||
<!-- Miscellaneous --> | <!-- Miscellaneous --> | ||
|internalname = | |internalname = | ||
|jargon = | |||
|notes = | |||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
Latest revision as of 17:16, 24 April 2022
Vehicle | |
---|---|
Ground Vehicle |
Usage
To use this template, insert the following code into the page and fill out the fields:
{{Infobox vehicle |name = |icon = |image = |slides = |imgsize = |imgdesc = <!-- General characteristics --> |is_flying = |faction = |role = |health = |armor_type = |seats = |cost = <!-- Primary armament --> |weapon = |damage = |proj_type = |proj_speed = |range = |rof = |magazine = <!-- Secondary armament --> |weapon_2 = |damage_2 = |proj_type_2 = |proj_speed_2 = |range_2 = |rof_2 = |magazine_2 = <!-- Miscellaneous --> |internalname = |jargon = |notes = }}