Difference between revisions of "Template:Vehicle"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
m
m
 
(One intermediate revision by the same user not shown)
Line 59: Line 59:
{{!}}style="text-align:left" {{!}} {{{Type|?}}}
{{!}}style="text-align:left" {{!}} {{{Type|?}}}


{{!}}-
{{!}}-
! style="text-align:left"{{!}} Seats
! style="text-align:left"{{!}} Seats
Line 72: Line 71:
{{!}}style="text-align:left" {{!}} {{{Mountable_Weapons|?}}}
{{!}}style="text-align:left" {{!}} {{{Mountable_Weapons|?}}}


{{!}}-
{{!}}-
! style="text-align:left"{{!}} Max TT Value
! style="text-align:left"{{!}} Max TT Value
Line 157: Line 155:
{{!}}style="text-align:left" {{!}} {{{Protection_Electric|?}}}
{{!}}style="text-align:left" {{!}} {{{Protection_Electric|?}}}


{{!}}-
{{!}}-
! style="text-align:left"{{!}} Capacity (items)
! style="text-align:left"{{!}} Capacity (items)
Line 166: Line 163:
{{!}}style="text-align:left" align=left {{!}} {{{Max_weight}}}
{{!}}style="text-align:left" align=left {{!}} {{{Max_weight}}}


{{!}}-
{{!}}-
! style="text-align:left"{{!}} Version Update
! style="text-align:left"{{!}} Version Update
Line 179: Line 175:
{{!}}style="text-align:center" {{!}} {{{Type|?}}}
{{!}}style="text-align:center" {{!}} {{{Type|?}}}
{{!}}style="text-align:center" {{!}} {{{Seats|?}}}
{{!}}style="text-align:center" {{!}} {{{Seats|?}}}
{{!}}style="text-align:center" {{!}} {{{|Attachment_slots|?}}}
{{!}}style="text-align:center" {{!}} {{{Attachment_slots|?}}}
{{!}}style="text-align:center" {{!}} {{{|Mountable_Weapons|?}}}
{{!}}style="text-align:center" {{!}} {{{Mountable_Weapons|?}}}
{{!}}style="text-align:center" {{!}} {{{Max_TT_Value|?}}}
{{!}}style="text-align:center" {{!}} {{{Max_TT_Value|?}}}
{{!}}style="text-align:center" {{!}} ? %
{{!}}style="text-align:center" {{!}} ? %

Latest revision as of 19:04, 2 December 2010


HEAVILY UNDER CONSTRUCTION! - Don't care about it!

Info[edit]

This template is a little tricky. It contains a function checking whether the data is displayed on an Item page (namespace 'Item'). Depending on the result it either generates a vehicle facts table or a table row to be used together with Template:Vehicle_Table_Header.
The design for the vehicle facts table has not been done yet, feel free to contribute ;)

Usage[edit]

To use it on a vehicle page please copy and paste the following code and fill in data to the right of the equals signs:

<section begin=stats />
{{Vehicle
|Vehicle_Name=                         
|Type=
|Seats=
|Attachment_slots=
|Mountable_Weapons=
|Max_TT_Value=
|Condition_Limit=
|Weight=
|Item_Points=
|Fuel_Consumption_Active=
|Fuel_Consumption_Passive=
|Wheel_Grip=
|Engine_Power=
|Max_Speed=
|Spawned_Weight=
|Max_Structural_Integrity=
|Protection_Penetration=
|Protection_Impact=
|Protection_Burn=
|Protection_Cold=
|Protection_Cut=
|Protection_Stab=
|Protection_Shrapnel=
|Protection_Acid=
|Protection_Electric=
|Durability=
|Capacity_(items)=
|Max_weight=
|Version_Update=
}}
<section end=stats />


Template code

|- class="sortbottom" valign="center" |style="text-align:left" align=left | [[Item:{{{Vehicle_Name}}}|{{{Vehicle_Name}}}]] |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? % |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ?