Difference between revisions of "Template:Npcwh"

From EVE University Wiki
Jump to: navigation, search
m (Changed named parameters to unnamed.)
Line 1,086: Line 1,086:
 
| This begins the table and adds headers.
 
| This begins the table and adds headers.
 
|-
 
|-
| <nowiki>{{npcwh|wave|w=Wave|n=1}}</nowiki>
+
| <nowiki>{{npcwh|wave|Wave 1}}</nowiki>
| This specifies a Wave header. Whatever value you pass to <tt>w=</tt> goes into the header as the title. Whatever value you pass to <tt>n=</tt> goes into the header as the number. You can make Wave headers, Escalation headers, and Capital Escalation with this.
+
| Inserts a wave header. Whatever you pass as the second parameter ends up in the title.
You must pass something as <tt>w=</tt>, however <tt>n=</tt> is optional. If you specify neither, you'll simply be inserting an empty row.
 
 
|-
 
|-
| <nowiki>{{npcwh|Sleepless Warden|n=2x|t={{trigger}}}}</nowiki>
+
| <nowiki>{{npcwh|Sleepless Warden|2x|{{trigger}}}}</nowiki>
| Here we specify the NPC's name, number, and trigger status.
+
| Here we specify the NPC's name, number, and trigger status. Passing <nowiki>{{trigger}}</nowiki> inserts a red "x" after the name.  
The NPC name and number (<tt>n=</tt>) are required, but the trigger (<tt>t=</tt>) is not.
 
|-
 
|<nowiki>{{npcwh|Sleepless Upholder|n=3x}}</nowiki>
 
|Here we specify the NPC name and number but omit the trigger (<tt>t=</tt>) entirely.
 
 
|-
 
|-
 
|<nowiki>{{npcwh|end}}</nowiki>
 
|<nowiki>{{npcwh|end}}</nowiki>

Revision as of 18:13, 26 June 2014

This is a simple (?) template to add Wormhole NPCs to any page anywhere. This might be helpful for a Wormhole Site Running Page, for instance, or for a page explaining exactly what sleepers are and how to deal with them.

Syntax

To use this template, simply use the following syntax:

Code Explanation
{{npcwh|start}} This begins the table and adds headers.
{{npcwh|wave|Wave 1}} Inserts a wave header. Whatever you pass as the second parameter ends up in the title.
{{npcwh|Sleepless Warden|2x|{{trigger}}}} Here we specify the NPC's name, number, and trigger status. Passing {{trigger}} inserts a red "x" after the name.
{{npcwh|end}} This tells the table to stop.

You can use short names for convenience:

  • {{npcwh|swar|n=2x|t={{trigger}}}}
  • {{npcwh|suph|n=3x}}
  • {{npcwh|skee|n=4x}}

The short name takes the first letter of the first word (eg. "Sleepless" becomes "s") and adds the first three letters of the second word (eg. "Warden" becomes "war").

Example Usage

Sleeper Ship Name Effect(s) Sig Speed Attack Orbit DPS/Volley DPS/Volley EHP
{{{2}}} {{{3}}}

Battleship

{{{2}}} Sleepless Warden

Remote Repair

Icon ship sig.png 400

Icon velocity.png 1,305 m/s

Icon target range.png 255 km

55 km Icon orbit.png 145 m/s

29 DPS,Volley,Interval 288 (5 s)

340 DPS,Volley,Interval 6,092 (18 s)

Icon hull.png 134,933

Battleship

{{{2}}} Sleepless Upholder

Energy Neutralization

Icon ship sig.png 400

Icon velocity.png 800 m/s

Icon target range.png 225 km

65 km Icon orbit.png 100 m/s

191 DPS,Volley,Interval 1,904 (5 s)

60 DPS,Volley,Interval 1,052 (18 s)

Icon hull.png 56,400

Frigate

{{{2}}} Emergent Keeper

Energy NeutralizationRemote Repair

Icon ship sig.png 35

Icon velocity.png 2,880 m/s

Icon target range.png 15 km

5 km Icon orbit.png 320 m/s

4 DPS,Volley,Interval 36 (5 s)

16 DPS,Volley,Interval 136 (9 s)

Icon hull.png 4,400

Cruiser

{{{2}}} Awakened Keeper

Stasis WebifierWarp ScramblerEnergy Neutralization

Icon ship sig.png 150

Icon velocity.png 2,115 m/s

Icon target range.png 105 km

30 km Icon orbit.png 235 m/s

18 DPS,Volley,Interval 180 (5 s)

18 DPS,Volley,Interval 270 (15 s)

Icon hull.png 19,250

Sentry Tower

{{{2}}} Argos

Icon ship sig.png 50

Icon velocity.png 0 m/s

Icon target range.png 250 km

0 km Icon orbit.png 0 m/s

37 DPS,Volley,Interval 1,092 (15 s)

0 DPS,Volley,Interval 0 (0 s)

Icon hull.png 15,167

{{{2}}} {{{3}}}

Battleship

{{{2}}} Sleepless Warden

Remote Repair

Icon ship sig.png 400

Icon velocity.png 1,305 m/s

Icon target range.png 255 km

55 km Icon orbit.png 145 m/s

29 DPS,Volley,Interval 288 (5 s)

340 DPS,Volley,Interval 6,092 (18 s)

Icon hull.png 134,933