Difference between revisions of "Template:Vehicle"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
m
m
Line 8: Line 8:
====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 the following code and fill in data after the equals signs:
<pre><section begin=teleporter />
<pre><section begin=stats />
{{Teleporter2
{{Vehicle
|Teleporter_Name= for example City of Dreams
|Vehicle_Name=  
|Continent= for example Amethera
|Type=
|Area= for example City of Dreams Area
|Seats=
|Estate= -
|Storage_Count=
|Longitude= for example 136229                     
|Storage_Payload=
|Latitude= for example 84842
|Combat=
|Height= for example 237
|Max_TT_Value=
|Auctioneer= a single number like 1
|Condition_Limit=
|Storage_Facility= ?
|Wheight=
|Ad_Terminal= ?
|Item_Points=
|Manufacturing_Terminal= ?
|Fuel_Consumption_Active=
|Repair_Terminal= ?
|Fuel_Consumption_Passive=
|Society_Terminal= ?
|Wheel_Grip=
|Trade_Terminal= ?
|Engine_Power=
|Vehicle_Commissioning_Terminal= ?
|Max_Speed=
|Revival_Point= ?
|Spawned_Weight=
|PVP_Ring= ?
|Max_Structural_Integrity=
|Automated_Gun_Turret= ?
|Protection_Penetration=
|Global_Adscreen= ?
|Protection_Impact=
|Broadcaster= ?
|Protection_Burn=
|Version_Update= ?
|Protection_Cold=
|Remarks= very brief, just a few words please
|Protection_Cut=
|Protection_Stab=
|Protection_Shrapnel=
|Protection_Acid=
|Protection_Electric=
|Durability=
|Version_Update=
}}
}}
<section end=teleporter />
<section end=stats />
</pre>
</pre>
<br />
<br />
Line 42: Line 48:
<!--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 61:
{{!}}style="text-align:left" {{!}} {{{Storage_Count|?}}}
{{!}}style="text-align:left" {{!}} {{{Storage_Count|?}}}


 
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Storage Payload
! style="text-align:left"{{!}} Storage Payload
Line 88: Line 94:
{{!}}style="text-align:left; color:DimGray" {{!}} {{{Fuel_Consumption_Active|?}}}
{{!}}style="text-align:left; color:DimGray" {{!}} {{{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; color:DimGray" {{!}} {{{Fuel_Consumption_Passive|?}}}


 
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Wheel Grip
! style="text-align:left"{{!}} Wheel Grip
Line 118: Line 124:
{{!}}style="text-align:left" {{!}} {{{Protection_Penetration|?}}}
{{!}}style="text-align:left" {{!}} {{{Protection_Penetration|?}}}


 
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Protection Impact
! style="text-align:left"{{!}} Protection Impact
Line 156: Line 162:
{{!}}}
{{!}}}


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

Revision as of 19:19, 29 September 2010


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

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.
The design for the vehicle facts table has not be done yet, feel free to contribute ;)

Usage

To use it on a vehicle page please copy the following code and fill in data after the equals signs:

<section begin=stats />
{{Vehicle
|Vehicle_Name= 
|Type=
|Seats=
|Storage_Count=
|Storage_Payload=
|Combat=
|Max_TT_Value=
|Condition_Limit=
|Wheight=
|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=
|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" | ?