Template:Infobox vehicle: Difference between revisions
Jump to navigation
Jump to search
RaiderAlpha (talk | contribs) No edit summary |
RaiderAlpha (talk | contribs) No edit summary |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{Infobox | <onlyinclude>{{Infobox | ||
|aboveclass = infobox-title | |||
|imageclass = infobox-image | |||
|rowclass = infobox-data | |||
|bodystyle = {{Infobox style|infobox}} | |bodystyle = {{Infobox style|infobox}} | ||
|abovestyle = {{Infobox style|infobox_title}} | |abovestyle = {{Infobox style|infobox_title}} | ||
Line 8: | Line 13: | ||
|image = {{#if:{{{slides|}}}<!-- | |image = {{#if:{{{slides|}}}<!-- | ||
-->|{{SlidesToTabber|{{{slides}}}|{{#if:{{{imgsize|}}}|{{{imgsize}}}|300px}}}}<!-- | -->|{{SlidesToTabber|{{{slides}}}|{{#if:{{{imgsize|}}}|{{{imgsize}}}|300px}}}}<!-- | ||
-->|{{#if:{{{image|}}}|[[File:{{{image|}}}|{{#if:{{{imgsize|}}}|{{{imgsize|}}}| | -->|{{#if:{{{image|}}}|[[File:{{{image|}}}|{{#if:{{{imgsize|}}}|{{{imgsize|}}}|300px}}|center]]|}} | ||
}} | }} | ||
|caption = {{#if:{{{imgdesc|}}}|{{{imgdesc|}}}|}} | |caption = {{#if:{{{imgdesc|}}}|{{{imgdesc|}}}|}} | ||
|class1 = infobox-header | |||
|header1 = {{#if:{{{is_flying|}}}|Air Vehicle|Ground Vehicle}} | |header1 = {{#if:{{{is_flying|}}}|Air Vehicle|Ground Vehicle}} | ||
|label2 = Faction | |label2 = Faction | ||
|data2 = {{#if:{{{faction|}}}|{{{faction|}}}|}} | |data2 = {{#if:{{{faction|}}}|{{{faction|}}}|}} | ||
Line 36: | Line 44: | ||
|label13 = Rate of fire | |label13 = Rate of fire | ||
|data13 = {{#if:{{{rof|}}}|{{{rof|}}}|}} | |data13 = {{#if:{{{rof|}}}|{{{rof|}}}|}} | ||
|label14 = | |label14 = Magazine | ||
|data14 = {{#if:{{{ | |data14 = {{#if:{{{magazine|}}}|{{{magazine|}}}|}} | ||
|header15 = {{#if:{{{weapon_2|}}}|{{{weapon_2|}}}|}} | |header15 = {{#if:{{{weapon_2|}}}|{{{weapon_2|}}}|}} | ||
Line 50: | Line 58: | ||
|label20 = Rate of fire | |label20 = Rate of fire | ||
|data20 = {{#if:{{{rof_2|}}}|{{{rof_2|}}}|}} | |data20 = {{#if:{{{rof_2|}}}|{{{rof_2|}}}|}} | ||
|label21 = | |label21 = Magazine | ||
|data21 = {{#if:{{{ | |data21 = {{#if:{{{magazine_2|}}}|{{{magazine_2|}}}|}} | ||
|header22 = {{#if:{{{internalname|}}}{{{jargon|}}}|Miscellaneous}} | |header22 = {{#if:{{{internalname|}}}{{{jargon|}}}|Miscellaneous}} | ||
Line 58: | Line 66: | ||
|label24 = [[Glossary of player terms|<font color="#fff">Jargon</font>]] | |label24 = [[Glossary of player terms|<font color="#fff">Jargon</font>]] | ||
|data24 = {{#if:{{{jargon|}}}|{{{jargon|}}}|}} | |data24 = {{#if:{{{jargon|}}}|{{{jargon|}}}|}} | ||
|header25 = {{#if:{{{notes|}}}|Notes}} | |||
|data26 = {{{notes|}}} | |||
}}</onlyinclude><noinclude> | }}</onlyinclude><noinclude> | ||
Line 87: | Line 98: | ||
|range = | |range = | ||
|rof = | |rof = | ||
| | |magazine = | ||
<!-- Secondary armament --> | <!-- Secondary armament --> | ||
Line 96: | Line 107: | ||
|range_2 = | |range_2 = | ||
|rof_2 = | |rof_2 = | ||
| | |magazine_2 = | ||
<!-- Miscellaneous --> | <!-- Miscellaneous --> | ||
|internalname = | |internalname = | ||
|jargon = | |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 = }}