Difference between revisions of "Template:Vehicle"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
m
m
Line 40: Line 40:
{{#switch: {{NAMESPACE}}
{{#switch: {{NAMESPACE}}


<!--THE FOLLOWING PART WILL BE DISPLAYED ON A TELEPORTER PAGE-->
<!--THE FOLLOWING PART WILL BE DISPLAYED ON AN ITEM PAGE-->


  | User ={{{!}}class="wikitable" border=1                     
  | Item ={{{!}}class="wikitable" border=1                     
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Teleporter Name
! style="text-align:left"{{!}} Vehicle
{{!}}style="text-align:left" align=left {{!}} [[Teleporter:{{{Teleporter_Name}}}|{{{Teleporter_Name|{{PAGENAME}}}}}]]
{{!}}style="text-align:left" align=left {{!}} [[Teleporter:{{{Teleporter_Name}}}|{{{Teleporter_Name|{{PAGENAME}}}}}]]



Revision as of 18:39, 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" | ?