More actions
mNo edit summary |
added information about ship faction selection |
||
| Line 99: | Line 99: | ||
|</nowiki><span style='color:yellow'>ship_name</span><nowiki>={{ShipSelector|mode={{{2}}}</nowiki><br> | |</nowiki><span style='color:yellow'>ship_name</span><nowiki>={{ShipSelector|mode={{{2}}}</nowiki><br> | ||
<nowiki>|shipimg=</nowiki><span style='color:yellow'>ship_image_file</span><nowiki> </nowiki><br> | <nowiki>|shipimg=</nowiki><span style='color:yellow'>ship_image_file</span><nowiki> </nowiki><br> | ||
<nowiki>|caption=</nowiki><span style='color:yellow'>ship_name</span><nowiki> |shipname=</nowiki><span style='color:yellow'>ship_name</span><nowiki> |class=</nowiki><span style='color:yellow'>ship_class</span><nowiki></nowiki><br> | <nowiki>|caption=</nowiki><span style='color:yellow'>ship_name</span><nowiki> |shipname=</nowiki><span style='color:yellow'>ship_name</span><nowiki> |class=</nowiki><span style='color:yellow'>ship_class</span><nowiki> |faction=</nowiki><span style='color:yellow'>ship_faction</span><br> | ||
<nowiki>|highs=</nowiki><span style='color:yellow'>0</span><nowiki> |turrets=</nowiki><span style='color:yellow'>0</span><nowiki> |launchers=</nowiki><span style='color:yellow'>0</span><nowiki> |mediums=</nowiki><span style='color:yellow'>0</span><nowiki> |lows=</nowiki><span style='color:yellow'>0</span><nowiki></nowiki><br> | <nowiki>|highs=</nowiki><span style='color:yellow'>0</span><nowiki> |turrets=</nowiki><span style='color:yellow'>0</span><nowiki> |launchers=</nowiki><span style='color:yellow'>0</span><nowiki> |mediums=</nowiki><span style='color:yellow'>0</span><nowiki> |lows=</nowiki><span style='color:yellow'>0</span><nowiki></nowiki><br> | ||
<nowiki>|cargohold=</nowiki><span style='color:yellow'>0 m3</span><nowiki> |dronebay=</nowiki><span style='color:yellow'>0 m3</span><nowiki> |bandwidth= </nowiki><span style='color:yellow'>0 Mbit/sec</span><nowiki></nowiki><br> | <nowiki>|cargohold=</nowiki><span style='color:yellow'>0 m3</span><nowiki> |dronebay=</nowiki><span style='color:yellow'>0 m3</span><nowiki> |bandwidth= </nowiki><span style='color:yellow'>0 Mbit/sec</span><nowiki></nowiki><br> | ||
| Line 115: | Line 115: | ||
*<span style='color:yellow'>ship_image_file</span> = the ship's image file, if you're adding a new ship which has no image present on the wiki, you'll have to upload one yourself. example : Drake.jpg | *<span style='color:yellow'>ship_image_file</span> = the ship's image file, if you're adding a new ship which has no image present on the wiki, you'll have to upload one yourself. example : Drake.jpg | ||
*<span style='color:yellow'>ship_class</span> = the ship's class or hull class, example : Battlecruiser | *<span style='color:yellow'>ship_class</span> = the ship's class or hull class, example : Battlecruiser | ||
*<span style='color:yellow'>ship_faction</span> = the ship's faction selection, there are only six type available at this time (they are all <u>case sensitive</u> and must be <u>typed exactly</u> like these), please choose only one: | |||
**<span style='color:orange'>Amarr Empire</span> | |||
**<span style='color:orange'>Caldari State</span> | |||
**<span style='color:orange'>Gallente Federation</span> | |||
**<span style='color:orange'>Minmatar Republic</span> | |||
**<span style='color:orange'>Outer Ring Excavations</span> | |||
**<span style='color:orange'>Khanid Kingdom</span> | |||
*the highs, turrets, mediums and lows <span style='color:yellow'>0 values</span> = the number of the slots available for the ship, example : 7 | *the highs, turrets, mediums and lows <span style='color:yellow'>0 values</span> = the number of the slots available for the ship, example : 7 | ||
*cargohold, dronebay and bandwith <span style='color:yellow'>0 values</span> = the values of each parameter, with their appropriate dimension/size, example : 150 m3 (for cargohold), 150 Mbit/sec (for bandwith) | *cargohold, dronebay and bandwith <span style='color:yellow'>0 values</span> = the values of each parameter, with their appropriate dimension/size, example : 150 m3 (for cargohold), 150 Mbit/sec (for bandwith) | ||
| Line 137: | Line 144: | ||
Adding a new data safely is what we should go for. To do this, copy the codes on the '''Ship Data : How Is It Written?''' subsection above to notepad or text editor of your choice and edit the parameters there so you can make sure you don't miss any of the tags or closing brackets. If you do this correctly, all you have to do then is copy again from the text editor into the appropriate section on the [[Template:ShipDatabase]]. | Adding a new data safely is what we should go for. To do this, copy the codes on the '''Ship Data : How Is It Written?''' subsection above to notepad or text editor of your choice and edit the parameters there so you can make sure you don't miss any of the tags or closing brackets. If you do this correctly, all you have to do then is copy again from the text editor into the appropriate section on the [[Template:ShipDatabase]]. | ||
To help you with the data used for the attributes, the initial data should always be the one from CCP latest Datadump, if you do not have access to them or do not know how to get them, try using the information available on the [http://wiki.eveonline.com] ship articles instead. | |||
==Notes== | ==Notes== | ||
This template is the main and entry point for the Ship Template & Database. The contents and behaviour of this template directly affected by contents of the following templates : | This template is the main and entry point for the Ship Template & Database. The contents and behaviour of this template directly affected by contents of the following templates : | ||