Difference between revisions of "Template:Vehicle"
m (Created page with "<noinclude> 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 a...") |
m |
||
Line 14: | Line 14: | ||
|Area= for example City of Dreams Area | |Area= for example City of Dreams Area | ||
|Estate= - | |Estate= - | ||
|Longitude= for example 136229 | |Longitude= for example 136229 | ||
|Latitude= for example 84842 | |Latitude= for example 84842 | ||
|Height= for example 237 | |Height= for example 237 | ||
Line 42: | Line 42: | ||
<!--THE FOLLOWING PART WILL BE DISPLAYED ON A TELEPORTER PAGE--> | <!--THE FOLLOWING PART WILL BE DISPLAYED ON A TELEPORTER PAGE--> | ||
| Item ={{{!}}class="wikitable" border=1 | | Item ={{{!}}class="wikitable" border=1 | ||
{{!}}- | {{!}}- | ||
! style="text-align:left"{{!}} Teleporter Name | ! style="text-align:left"{{!}} Teleporter Name | ||
Line 135: | Line 135: | ||
| #default ={{!}}- class="sortbottom" valign="center" | | #default ={{!}}- class="sortbottom" valign="center" | ||
{{!}}style="text-align:left" align=left {{!}} [[ | {{!}}style="text-align:left" align=left {{!}} [[Item:{{{Vehicle}}|{{{Vehicle}}}]] | ||
{{!}}style="text-align:center" {{!}} {{{ | {{!}}style="text-align:center" {{!}} {{{Type|?}}} | ||
{{!}}style="text-align:center" {{!}} {{ | {{!}}style="text-align:center" {{!}} {{{Seats|?}}} | ||
{{!}}style="text-align:center" {{!}} {{ | {{!}}style="text-align:center" {{!}} {{{Storage_Count|?}}} | ||
{{!}}style="text-align:center" {{!}} {{{ | {{!}}style="text-align:center" {{!}} {{{Storage_Payload|?}}} | ||
{{!}}style="text-align:center" {{!}} {{{ | {{!}}style="text-align:center" {{!}} {{{Combat|?}}} | ||
{{!}}style="text-align:center" {{!}} {{{ | {{!}}style="text-align:center" {{!}} {{{Max_TT_Value|?}}} | ||
{{!}}style="text-align:center" {{!}} {{{ | {{!}}style="text-align:center" {{!}} ? % | ||
{{!}}style="text-align:center | {{!}}style="text-align:center" {{!}} {{{Condition_Limit|?}}} | ||
{{!}}style="text-align:center" {{!}} {{{ | {{!}}style="text-align:center" {{!}} {{{Wheight|?}}} | ||
{{!}}style="text-align:center | {{!}}style="text-align:center" {{!}} {{{Item_Points|?}}} | ||
{{!}}style="text-align:center | {{!}}style="text-align:center" {{!}} {{{Fuel_Consumption_Active|?}}} | ||
{{!}}style="text-align:center | {{!}}style="text-align:center" {{!}} {{{Fuel_Consumption_Passive|?}}} | ||
{{!}}style="text-align:center | {{!}}style="text-align:center" {{!}} {{{Wheel_Grip|?}}} | ||
{{!}}style="text-align:center | {{!}}style="text-align:center" {{!}} {{{Engine_Power|?}}} | ||
{{!}}style="text-align:center | {{!}}style="text-align:center" {{!}} {{{Max_Speed|?}}} | ||
{{!}}style="text-align:center" {{!}} {{{ | {{!}}style="text-align:center" {{!}} {{{Spawned_Weight|?}}} | ||
{{!}}style="text-align:center | {{!}}style="text-align:center" {{!}} {{{Max_Structural_Integrity|?}}} | ||
{{!}}style="text-align:center" {{!}} {{{ | {{!}}style="text-align:center" {{!}} {{{Protection_Penetration|?}}} | ||
{{!}}style="text-align:center" {{!}} {{{ | {{!}}style="text-align:center" {{!}} {{{Protection_Impact|?}}} | ||
{{!}}style="text-align:center | {{!}}style="text-align:center" {{!}} {{{Protection_Burn|?}}} | ||
{{!}}style="text-align: | {{!}}style="text-align:center" {{!}} {{{Protection_Cold|?}}} | ||
{{!}}style="text-align:center" {{!}} {{{Protection_Cut|?}}} | |||
{{!}}style="text-align:center" {{!}} {{{Protection_Stab|?}}} | |||
{{!}}style="text-align:center" {{!}} {{{Protection_Shrapnel|?}}} | |||
{{!}}style="text-align:center" {{!}} {{{Protection_Acid|?}}} | |||
{{!}}style="text-align:center" {{!}} {{{Protection_Electric|?}}} | |||
{{!}}style="text-align:center" {{!}} {{{Durability|?}}} | |||
{{!}}style="text-align:center" {{!}} {{{Version_Update|?}}} | |||
}} | }} |
Revision as of 18:28, 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=teleporter /> {{Teleporter2 |Teleporter_Name= for example City of Dreams |Continent= for example Amethera |Area= for example City of Dreams Area |Estate= - |Longitude= for example 136229 |Latitude= for example 84842 |Height= for example 237 |Auctioneer= a single number like 1 |Storage_Facility= ? |Ad_Terminal= ? |Manufacturing_Terminal= ? |Repair_Terminal= ? |Society_Terminal= ? |Trade_Terminal= ? |Vehicle_Commissioning_Terminal= ? |Revival_Point= ? |PVP_Ring= ? |Automated_Gun_Turret= ? |Global_Adscreen= ? |Broadcaster= ? |Version_Update= ? |Remarks= very brief, just a few words please }} <section end=teleporter />
Template code
|- class="sortbottom" valign="center" |style="text-align:left" align=left | [[Item:{
|- class="sortbottom" valign="center" |style="text-align:left" align=left | [[Item:{Template loop detected: Template:Vehicle|{{{Vehicle}}}]] |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" | ?|{{{Vehicle}}}]] |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" | ?