Difference between revisions of "Template:ShipArticle/doc"

From EVE University Wiki
Jump to: navigation, search
m (Https, typo)
(Improve documentation)
Line 1: Line 1:
 
<noinclude>{{main|Template:ShipArticle}}</noinclude>
 
<noinclude>{{main|Template:ShipArticle}}</noinclude>
 +
{{cleanup|Standardize [[Template:Documentation/preload|documentation]]. Explain auto image fetching from [https://images.evetech.net/ CCP Servers]. [[User:Arin Mara|Arin Mara]] ([[User talk:Arin Mara|talk]]) 11:33, 27 July 2022 (UTC)}}
 
===Template Format===
 
===Template Format===
  

Revision as of 11:34, 27 July 2022

Main article: Template:ShipArticle
This article should be cleaned up or improved.
The reason is: Standardize documentation. Explain auto image fetching from CCP Servers. Arin Mara (talk) 11:33, 27 July 2022 (UTC)

Template Format

The format of the code is as follows:

{{ShipArticle
| shipid=
| shipimg=
| shipname=
| caption=
| class=
| grouping=
| hulltype=
| faction=
| race=
| roles=
| variations=
| tech=
| ecmprio=
| powergrid=
| cpu=
| capacitor=
| highs=
| turrets=
| launchers=
| mediums=
| lows=
| mass=
| volume=
| cargohold=
| extrahold=
| extraholdtype=
| extrahold2=
| extrahold2type=
| extrahold3=
| extrahold3type=
| extrahold4=
| extrahold4type=
| dronebay=
| bandwidth=
| fighterbay=
| fightertubes=
| lightfightersquadlimit=
| heavyfightersquadlimit=
| supportfightersquadlimit=
| info=
| bonuses=
| structurehp=
| shieldhp=
| shieldem=
| shieldexp=
| shieldkin=
| shieldtherm=
| armorhp=
| armorem=
| armorexp=
| armorkin=
| armortherm=
| maxvelocity=
| inertia=
| warpspeed=
| warptime=
| targetrange=
| sigradius=
| maxlockedtargets=
| sensortype=
| sensorvalue=
| scanres=
| reqskills=
| totaltraintime=
| forumlinks=
| wikireferences=
| externallinks=
| highlights1=
| highlights2=
| highlights3=
| highlights4=
| rigs_count=
| rigs_size=
| rigs_calibration=
}}

Example

An example of a proper template would be:

{{ShipArticle
 <!--  Template marker : DON'T EDIT LINE -->
 <!-----------------------------------------------------------
 * SHIP ATTRIBUTES SECTION (last update : 5/29/2014)
 -------------------------------------------------------------
 * on editing the attributes, please make sure that you don't
 * leave/mistype any tags required. please follow the same
 * format below and edit only the values (after the = sign).
 ------------------------------------------------------------->
 | shipid=24688
 | shipimg=Rokh.jpg
 | shipname=Rokh
 | caption=Rokh
 | class=Battleship
 | grouping=Standard Battleships
 | hulltype=Rokh Class
 | faction=Caldari State
 | race=Caldari
 | roles=unspecified
 | variations=<i>none</i>
 | tech=
 | ecmprio=0 <!-- 0 = none, 1 = low, 2 = normal, 3 = high, 4 = highest -->
 | powergrid=15,000 MW
 | cpu=780 tf
 | capacitor=6,000 GJ
 | highs=8
 | turrets=8
 | launchers=4
 | mediums=6
 | lows=5
 | mass=105,300,000 kg
 | volume=486,000 m³
 | cargohold=625 m³
 | extrahold=
 | extraholdtype=
 | extrahold2=
 | extrahold2type=
 | extrahold3=
 | extrahold3type=
 | extrahold4=
 | extrahold4type=
 | dronebay=50 m³
 | bandwidth=50 Mbit/sec
 | fighterbay=
 | fightertubes=
 | lightfightersquadlimit=
 | heavyfightersquadlimit=
 | supportfightersquadlimit=
 | info=<br><b>Development</b><br>Having long suffered the lack of an adequate hybrid platform, the Caldari State's capsule pilots found themselves rejoicing as the Rokh's design specs were released. A fleet vessel if ever there was one, this far-reaching and durable beast is expected to see a great deal of service on battlefields near and far.
 | bonuses=<b>Caldari Battleship bonuses (per skill level):</b><br>10% bonus to Large Hybrid Turret optimal range<br>4% bonus to all shield resistances<br>
 | structurehp=7,500 HP
 | shieldhp=8,500 HP
 | shieldem=0
 | shieldexp=50
 | shieldkin=40
 | shieldtherm=20
 | armorhp=7,000 HP
 | armorem=50
 | armorexp=10
 | armorkin=25
 | armortherm=44.99999999999999
 | maxvelocity=89 m/sec
 | inertia=0.136
 | warpspeed=2 AU/s
 | warptime=19.85 s
 | targetrange=90.00 km
 | sigradius=500 m
 | maxlockedtargets=7
 | sensortype=Gravimetric
 | sensorvalue=24 points
 | scanres=75 mm
 | reqskills=*{{RequiredSkill|Caldari Battleship|I}}
**{{RequiredSkill|Spaceship Command|IV}}
**{{RequiredSkill|Caldari Battlecruiser|III}}
***{{RequiredSkill|Spaceship Command|III}}
***{{RequiredSkill|Caldari Cruiser|III}}
****{{RequiredSkill|Spaceship Command|II}}
****{{RequiredSkill|Caldari Destroyer|III}}
*****{{RequiredSkill|Caldari Frigate|III}}
******{{RequiredSkill|Spaceship Command|I}}

 | totaltraintime=3d 20h 55m 10s
 | forumlinks=
 | wikireferences=
 | externallinks=
 | highlights1=
 | highlights2=
 | highlights3=
 | highlights4=
 | rigs_count=
 | rigs_size=
 | rigs_calibration=
}}

Enclosing Tags

Ship articles actually include the following wrapper, instead of just a ShipArticle tag, to handle their inclusion in other pages. The autogenerated template code will include this snippet.

<onlyinclude>{{{{#if:{{{mode|}}}|{{#switch:{{{mode}}}|box=ShipBoxLarge|#default=ShipBoxTooltip}}|ShipArticle}} <!--  Template marker : DON'T EDIT LINE -->
...
}}</onlyinclude> <!-- Template marker : DON'T EDIT LINE -->