Difference between revisions of "Template:Ship"

From EVE University Wiki
Jump to: navigation, search
m (Rewrite. The old #if: {{{2}}} always tested true. Because the transcluded pages did/do their own testing for the value of mode that did not matter. It still does not matter, but the code here now at least functions as intended.)
 
(28 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{#if:{{{2|}}}
+
<includeonly>{{ #if:{{{1|}}}
|second var exist
+
| {{ :{{{1}}}|mode= {{#if: {{{2|}}} | {{{2}}} | tooltip }} }}
|no second var
+
| {{Co|red|!!}} No ship name specified [[Template:Ship/doc|(please read the documentation.)]] {{Co|red|!!}}
}}
+
}}</includeonly><noinclude>
 +
{{documentation}}
 +
</noinclude>

Latest revision as of 12:05, 11 June 2023

Template documentation (for the above template, sometimes hidden or invisible)
Description
Using this template, you can embed any ship information available in our wiki to any other article. If you want to browse through the currently available ship list, please visit the Ship Database category or use the ships matrix.
Dependencies
Uses
{{ShipBoxTooltip}}
{{ShipBoxLarge}}
Syntax
{{Ship|<ship name>|<mode>}}
Parameters
ship name
The name of the ship, exactly as used in the Ship Database articles.
mode
This parameter controls whether a link with a ship information tool-tip ({{ShipBoxTooltip}}) or a box ({{ShipBoxLarge}} with the ship information is shown. The possible options are box which creates the box or tooltip which creates the link with the tool-tip. when no mode is given the template defaults to tooltip.
Samples
This is an example {{Ship|Raven Navy Issue}} of a link with tool-tip.
gives ...
This is an example Raven Navy Issue
Raven Navy Issue.jpg
CornerTFs.png
Raven Navy Issue
Faction Battleships Raven Class
Icon highlights.pngHigh Amount of High Slots
Icon hi slot.png8 (8/0) Icon mid slot.png7 Icon low slot.png5
Icon powergrid.png12,000 MW Icon cpu.png780 tf
Icon velocity.png123 m/sec
Icon capacity.png800 m³
of a link with tool-tip.


Bug icon red.png Bug: 20220501: There is a problem with the link displaying as a box instead of as an inline element.

See Template talk:ShipBoxTooltip
Observation: When the doc page is transcluded into the template page the problem goes away.


{{Ship|Redeemer|box}}
gives ...
Black Ops: INFORMATION
Redeemer
CornerT2h.png
Amarr Empire
RELATED UNI-WIKI REFERENCES
fittings
8
high slots
highs
0
launcher hardpoints
launchers
6
turret hardpoints
turrets
4
middle slots
mediums
7
low slots
lows
drones & cargo
125 m³
drone capacity
drones
125 Mbit/sec
drone bandwidth
b/w
800 m³
cargo capacity
cargo
defense
4,375 HP
shields
shield electromagnetic resistance
0
shield thermal resistance
20
shield kinetic resistance
53
shield explosive resistance
68
5,312 HP
armor
armor electromagnetic resistance
50
armor thermal resistance
35
armor kinetic resistance
41
armor explosive resistance
49
target & nav
70.60 km
max. targeting range
tgt. range
333 m
ship signature radius
sig. radius
117 m/sec
max. velocity
max. velocity
S H I P   B O N U S E S

Amarr Battleship bonuses (per skill level):
10% reduction in Large Energy Turret activation cost
10% bonus to Large Energy Turret rate of fire
Black Ops bonuses (per skill level):
7.5% bonus to Large Energy Turret tracking speed
10% bonus to Energy Nosferatu and Energy Neutralizer drain amount
Role Bonus:
• Can fit Covert Cynosural Field Generator and Covert Jump Portal Generator
• No targeting delay after Cloaking Device deactivation
• Cloak reactivation delay reduced to 5 seconds
75% reduction to effective distance traveled for jump fatigue
50% reduction in Cynosural Field Generator duration
650% bonus to ship max velocity when using Cloaking Devices
100% bonus to Shield Extender hitpoints
50% bonus to Armor Plate hitpoints
5% Additional bonus to Reinforced Bulkhead hitpoints

Black Ops battleships are designed for infiltration and espionage behind enemy lines. With the use of a short-range jump drive and a portal generator, they are capable of making a special type of jump portal usable only by covert ops vessels. This enables them to stealthily plant reconnaissance and espionage forces in enemy territory. For the final word in clandestine maneuvers, look no further.

Visit Template:Ship/doc to edit this text! (How does this work?) (Refresh this text - why?)