Difference between revisions of "Template:Vehicle Infobox"

From Underrail Wiki
Jump to navigation Jump to search
(adjusting infobox width for articles)
(from horizontal to vertical layout)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="mainpage-box" style="font-family:'pf_tempesta_seven',sans-serif; font-size:12px; width:700px; min-width:700px; float:right; margin:0 auto 1em;"
+
{| class="mainpage-box" style="font-family:'pf_tempesta_seven',sans-serif; font-size:12px; width:350px; min-width:350px; float:right; margin:0 0 0 1em;"
 
|-
 
|-
! colspan="4" class="mainpage-h1" | {{{name}}}
+
! colspan="2" class="mainpage-h1" | {{{name}}}
 +
|-
 +
| colspan="2" |
 +
{|
 
|-
 
|-
 
| [[File:{{{image|xpbl_aegispatroller.png}}}|300x235px|Vehicle image]]
 
| [[File:{{{image|xpbl_aegispatroller.png}}}|300x235px|Vehicle image]]
| style="width:50px;" | {{{slots|
+
| style="width:50px;" | {{{slots|{{Medium Engine}} {{Small Engine}} {{Medium Battery}} {{Small Battery}} {{Medium Jet Ski Suspension}} }}}
{{Medium Engine}}
+
|}
{{Small Engine}}
+
<hr style="background-color:#AE5700; height:2px;">
{{Medium Battery}}
+
|-
{{Small Battery}}
 
{{Medium Jet Ski Suspension}}
 
}}}
 
 
|
 
|
 
{|
 
{|
 
|-
 
|-
! Base
+
!colspan="2"| Base
 
|-
 
|-
 
| Durability
 
| Durability
| {{{durability}}}
+
| {{{durability|}}}<noinclude>100</noinclude>
 
|-
 
|-
 
| Base Speed
 
| Base Speed
| {{{basespeed}}}
+
| {{{basespeed|}}}<noinclude>200</noinclude>
 
|-
 
|-
 
| Speed Modifier
 
| Speed Modifier
| {{{speedmod}}}
+
| {{{speedmod|}}}<noinclude>50%</noinclude>
 
|-
 
|-
 
| {{tooltip|The vehicle's theoretical speed without cargo, rider nor installed parts.|Empty Speed}}
 
| {{tooltip|The vehicle's theoretical speed without cargo, rider nor installed parts.|Empty Speed}}
| {{{speed}}}
+
| {{{speed|}}}<noinclude>100</noinclude>
 
|-
 
|-
 
| {{tooltip|The vehicle's theoretical evasion modifier without cargo, rider nor installed parts.|Evasion Modifier}}
 
| {{tooltip|The vehicle's theoretical evasion modifier without cargo, rider nor installed parts.|Evasion Modifier}}
| {{{evasionmod}}}
+
| {{{evasionmod|}}}<noinclude>50%</noinclude>
 
|-
 
|-
 
| Stability
 
| Stability
| {{{stability}}}
+
| {{{stability|}}}<noinclude>50%</noinclude>
 
|-
 
|-
 
| Maneuverability
 
| Maneuverability
| {{{maneuver}}}
+
| {{{maneuver|}}}<noinclude>50%</noinclude>
 
|-
 
|-
 
| Melee Bonus
 
| Melee Bonus
| {{{meleebonus}}}
+
| {{{meleebonus|}}}<noinclude>50%</noinclude>
 
|-
 
|-
 
|}
 
|}
Line 44: Line 44:
 
{|
 
{|
 
|-
 
|-
! Defense
+
!colspan="2"| Defense
 
|-
 
|-
 
| Cover
 
| Cover
| {{{cover}}}
+
| {{{cover|}}}<noinclude>50%</noinclude>
 
|-
 
|-
 
| Mechanical
 
| Mechanical
| {{{res-mech}}}
+
| {{{res-mech|}}}<noinclude>50% / 25</noinclude>
 
|-
 
|-
 
| Heat
 
| Heat
| {{{res-heat}}}
+
| {{{res-heat|}}}<noinclude>50% / 25</noinclude>
 
|-
 
|-
 
| Cold
 
| Cold
| {{{res-cold}}}
+
| {{{res-cold|}}}<noinclude>50% / 25</noinclude>
 
|-
 
|-
 
| Electricity
 
| Electricity
| {{{res-elec}}}
+
| {{{res-elec|}}}<noinclude>50% / 25</noinclude>
 
|-
 
|-
 
| Acid
 
| Acid
| {{{res-acid}}}
+
| {{{res-acid|}}}<noinclude>50% / 25</noinclude>
 
|-  
 
|-  
 
| Energy
 
| Energy
| {{{res-ener}}}
+
| {{{res-ener|}}}<noinclude>50% / 25</noinclude>
 
|-  
 
|-  
 
| Bio
 
| Bio
| {{{res-bio}}}
+
| {{{res-bio|}}}<noinclude>50% / 25</noinclude>
 
|}
 
|}
 
|}<noinclude><br style="clear:both;"/>{{documentation}}</noinclude>
 
|}<noinclude><br style="clear:both;"/>{{documentation}}</noinclude>

Latest revision as of 04:09, 9 December 2019

{{{name}}}
Vehicle image
Medium Engine
Small Engine
Medium Battery
Small Battery
Medium Jet Ski Suspension

Base
Durability 100
Base Speed 200
Speed Modifier 50%
Empty Speed 100
Evasion Modifier 50%
Stability 50%
Maneuverability 50%
Melee Bonus 50%
Defense
Cover 50%
Mechanical 50% / 25
Heat 50% / 25
Cold 50% / 25
Electricity 50% / 25
Acid 50% / 25
Energy 50% / 25
Bio 50% / 25


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Vehicle_Infobox/doc to view this documentation. (edit) (How does this work?)

Description

This is the infobox template for vehicles.

Syntax

To use this template:

  1. copy the following code
  2. fill in the appropriate fields
{{Vehicle Infobox
| name       = 
| image      = 
| slots      = 
| durability = 
| basespeed  = 
| speedmod   = 
| speed      = 
| evasionmod = 
| stability  = 
| maneuver   = 
| meleebonus = 
| cover      = 
| res-mech   = 
| res-heat   = 
| res-cold   = 
| res-elec   = 
| res-acid   = 
| res-ener   = 
| res-bio    = 
}}

For images, see Category:Vehicle images. For slots, see {{Vehicle part slot}}. "speed" and "evasionmod" should be for empty vehicles without anything installed.