Difference between revisions of "Template:Vehicle"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
m
m
 
(11 intermediate revisions by the same user not shown)
Line 4: Line 4:


====Info====
====Info====
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]].<br />The design for the vehicle facts table has not be done yet, feel free to contribute ;)<br />
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]].<br />The design for the vehicle facts table has not been done yet, feel free to contribute ;)<br />
<br />
<br />
====Usage====
====Usage====
To use it on a vehicle page please copy the following code and fill in data after the equals signs:
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:
<pre><section begin=stats />
<pre><section begin=stats />
{{Vehicle
{{Vehicle
|Vehicle_Name=  
|Vehicle_Name=                        
|Type=
|Type=
|Seats=
|Seats=
|Storage_Count=
|Attachment_slots=
|Storage_Payload=
|Mountable_Weapons=
|Combat=
|Max_TT_Value=
|Max_TT_Value=
|Condition_Limit=
|Condition_Limit=
Line 37: Line 37:
|Protection_Electric=
|Protection_Electric=
|Durability=
|Durability=
|Capacity_(items)=
|Max_weight=
|Version_Update=
|Version_Update=
}}
}}
Line 48: Line 50:
<!--THE FOLLOWING PART WILL BE DISPLAYED ON AN ITEM PAGE-->
<!--THE FOLLOWING PART WILL BE DISPLAYED ON AN ITEM PAGE-->


  | Item ={{{!}}class="wikitable" border=1  
  | Item ={{{!}}class="wikitable" border=1                        
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Vehicle
! style="text-align:left"{{!}} Vehicle
Line 55: Line 57:
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Type
! style="text-align:left"{{!}} Type
{{!}}style="text-align:left" {{!}} {{{Seats|?}}}
{{!}}style="text-align:left" {{!}} {{{Type|?}}}


{{!}}-
{{!}}-
! style="text-align:left"{{!}} Storage Count
! style="text-align:left"{{!}} Seats
{{!}}style="text-align:left" {{!}} {{{Storage_Count|?}}}
{{!}}style="text-align:left" {{!}} {{{Seats|?}}}
 


{{!}}-
{{!}}-
! style="text-align:left"{{!}} Storage Payload
! style="text-align:left"{{!}} Attachment slots
{{!}}style="text-align:left" {{!}} {{{Storage_Payload|?}}}
{{!}}style="text-align:left" {{!}} {{{Attachment_slots|?}}}


{{!}}-
{{!}}-
! style="text-align:left"{{!}} Combat
! style="text-align:left"{{!}} Mountable Weapons
{{!}}style="text-align:left" {{!}} {{{Combat|?}}}
{{!}}style="text-align:left" {{!}} {{{Mountable_Weapons|?}}}


{{!}}-
{{!}}-
Line 84: Line 85:
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Weight
! style="text-align:left"{{!}} Weight
{{!}}style="text-align:left; color:DimGray" {{!}} {{{Weight|?}}}
{{!}}style="text-align:left;" {{!}} {{{Weight|?}}}


{{!}}-
{{!}}-
Line 92: Line 93:
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Fuel Consumption (Active)
! style="text-align:left"{{!}} Fuel Consumption (Active)
{{!}}style="text-align:left; color:DimGray" {{!}} {{{Fuel_Consumption_Active|?}}}
{{!}}style="text-align:left;" {{!}} {{{Fuel_Consumption_Active|?}}}
 


{{!}}-
{{!}}-
! style="text-align:left"{{!}} Fuel Consumption (Passive)
! style="text-align:left"{{!}} Fuel Consumption (Passive)
{{!}}style="text-align:left; color:DimGray" {{!}} {{{Fuel_Consumption_Passive|?}}}
{{!}}style="text-align:left;" {{!}} {{{Fuel_Consumption_Passive|?}}}
 


{{!}}-
{{!}}-
! style="text-align:left"{{!}} Wheel Grip
! style="text-align:left"{{!}} Wheel Grip
{{!}}style="text-align:left; color:LimeGreen" {{!}} {{{Wheel_Grip|?}}}
{{!}}style="text-align:left;" {{!}} {{{Wheel_Grip|?}}}


{{!}}-
{{!}}-
! style="text-align:left"{{!}} Engine Power
! style="text-align:left"{{!}} Engine Power
{{!}}style="text-align:left; color:Gold" {{!}} {{{Engine_Power|?}}}
{{!}}style="text-align:left;" {{!}} {{{Engine_Power|?}}}


{{!}}-
{{!}}-
! style="text-align:left"{{!}} Max Speed
! style="text-align:left"{{!}} Max Speed
{{!}}style="text-align:left; color:DodgerBlue" {{!}} {{{Max_Speed|?}}}
{{!}}style="text-align:left;" {{!}} {{{Max_Speed|?}}}


{{!}}-
{{!}}-
! style="text-align:left"{{!}} Spawned Weight
! style="text-align:left"{{!}} Spawned Weight
{{!}}style="text-align:left; color:DarkRed" {{!}} {{{Spawned_Weight|?}}}
{{!}}style="text-align:left;" {{!}} {{{Spawned_Weight|?}}}


{{!}}-
{{!}}-
! style="text-align:left"{{!}} Max_Structural_Integrity
! style="text-align:left"{{!}} Max Structural Integrity
{{!}}style="text-align:left; color:DarkRed" {{!}} {{{Max_Structural_Integrity|?}}}
{{!}}style="text-align:left;" {{!}} {{{Max_Structural_Integrity|?}}}


{{!}}-
{{!}}-
! style="text-align:left"{{!}} Protection Penetration
! style="text-align:left"{{!}} Protection Penetration
{{!}}style="text-align:left" {{!}} {{{Protection_Penetration|?}}}
{{!}}style="text-align:left" {{!}} {{{Protection_Penetration|?}}}


{{!}}-
{{!}}-
Line 158: Line 156:


{{!}}-
{{!}}-
! style="text-align:left"{{!}} Durability
! style="text-align:left"{{!}} Capacity (items)
{{!}}style="text-align:left" align=left {{!}} {{{Durability}}}
{{!}}style="text-align:left" align=left {{!}} {{{Capacity_(items)}}}
{{!}}}


{{!}}-
! style="text-align:left"{{!}} Max weight
{{!}}style="text-align:left" align=left {{!}} {{{Max_weight}}}


{{!}}-
{{!}}-
! style="text-align:left"{{!}} Version Update
! style="text-align:left"{{!}} Version Update
{{!}}style="text-align:left" align=left {{!}} {{{Version_Update}}}
{{!}}style="text-align:left" align=left {{!}} {{{Version_Update}}}
{{!}}}


<!--THE FOLLOWING PART WILL BE DISPLAYED ON ANY OTHER PAGE-->
<!--THE FOLLOWING PART WILL BE DISPLAYED ON ANY OTHER PAGE-->
Line 173: 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" {{!}} {{{Storage_Count|?}}}
{{!}}style="text-align:center" {{!}} {{{Attachment_slots|?}}}
{{!}}style="text-align:center" {{!}} {{{Storage_Payload|?}}}
{{!}}style="text-align:center" {{!}} {{{Mountable_Weapons|?}}}
{{!}}style="text-align:center" {{!}} {{{Combat|?}}}
{{!}}style="text-align:center" {{!}} {{{Max_TT_Value|?}}}
{{!}}style="text-align:center" {{!}} {{{Max_TT_Value|?}}}
{{!}}style="text-align:center" {{!}} ? %
{{!}}style="text-align:center" {{!}} ? %
Line 198: Line 199:
{{!}}style="text-align:center" {{!}} {{{Protection_Electric|?}}}
{{!}}style="text-align:center" {{!}} {{{Protection_Electric|?}}}
{{!}}style="text-align:center" {{!}} {{{Durability|?}}}
{{!}}style="text-align:center" {{!}} {{{Durability|?}}}
{{!}}style="text-align:center" {{!}} {{{Capacity_(items)|?}}}
{{!}}style="text-align:center" {{!}} {{{Max_weight|?}}}
{{!}}style="text-align:center" {{!}} {{{Version_Update|?}}}
{{!}}style="text-align:center" {{!}} {{{Version_Update|?}}}
}}
}}

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" | ?