Difference between revisions of "Template:Npcwh"

From EVE University Wiki
Jump to: navigation, search
m (Changed named parameters to unnamed.)
Line 19: Line 19:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Awakened Defender {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Awakened Defender {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 51: Line 51:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Awakened Escort {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Awakened Escort {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 83: Line 83:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Awakened Keeper {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Awakened Keeper {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 115: Line 115:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Awakened Patroller {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Awakened Patroller {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 147: Line 147:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Awakened Preserver {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Awakened Preserver {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 179: Line 179:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Awakened Sentinel {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Awakened Sentinel {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 211: Line 211:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Awakened Upholder {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Awakened Upholder {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 243: Line 243:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Awakened Warden {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Awakened Warden {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 275: Line 275:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Awakened Watchman {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Awakened Watchman {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 307: Line 307:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Emergent Defender {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Emergent Defender {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 339: Line 339:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Emergent Escort {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Emergent Escort {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 371: Line 371:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Emergent Keeper {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Emergent Keeper {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 403: Line 403:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Emergent Patroller {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Emergent Patroller {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 435: Line 435:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Emergent Preserver {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Emergent Preserver {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 467: Line 467:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Emergent Sentinel {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Emergent Sentinel {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 499: Line 499:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Emergent Upholder {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Emergent Upholder {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 531: Line 531:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Emergent Warden {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Emergent Warden {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 563: Line 563:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Emergent Watchman {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Emergent Watchman {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 595: Line 595:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Sleepless Defender {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Sleepless Defender {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 627: Line 627:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Sleepless Escort {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Sleepless Escort {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 659: Line 659:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Sleepless Guardian {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Sleepless Guardian {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 691: Line 691:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Sleepless Keeper {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Sleepless Keeper {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 723: Line 723:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Sleepless Outguard {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Sleepless Outguard {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 755: Line 755:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Sleepless Patroller {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Sleepless Patroller {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 787: Line 787:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Sleepless Preserver {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Sleepless Preserver {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 819: Line 819:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Sleepless Safeguard {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Sleepless Safeguard {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 851: Line 851:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Sleepless Sentinel {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Sleepless Sentinel {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 883: Line 883:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Sleepless Upholder {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Sleepless Upholder {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 915: Line 915:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Sleepless Warden {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Sleepless Warden {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 947: Line 947:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Sleepless Watchman {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Sleepless Watchman {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 979: Line 979:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Argos {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Argos {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 1,011: Line 1,011:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Orthrus {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Orthrus {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 1,043: Line 1,043:
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:left;">
 
<td nowrap style="vertical-align:text-top;text-align:left;">
{{{n}}} Sirius {{#if: {{{t|}}} | {{{t}}} }}
+
{{{2}}} Sirius {{#if: {{{3|}}} | {{{3}}} }}
 
</td>
 
</td>
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
Line 1,070: Line 1,070:
 
</td>
 
</td>
 
</tr>
 
</tr>
| Wave | wave = <tr><td colspan="15" style="text-align:center;" nowrap><span style="font-size:1.25em;line-height:1.5em;font-weight:bold;">{{#if: {{{w|}}} | {{{w}}} }} {{#if: {{{n|}}} | {{{n}}} }}</span></td></tr>
+
| Wave | wave = <tr><td colspan="15" style="text-align:center;" nowrap><span style="font-size:1.25em;line-height:1.5em;font-weight:bold;">{{{2}}} {{{3}}}</span></td></tr>
 
| End | end = </table>
 
| End | end = </table>
 
}}<noinclude>
 
}}<noinclude>

Revision as of 18:08, 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|w=Wave|n=1}} This specifies a Wave header. Whatever value you pass to w= goes into the header as the title. Whatever value you pass to n= goes into the header as the number. You can make Wave headers, Escalation headers, and Capital Escalation with this.

You must pass something as w=, however n= is optional. If you specify neither, you'll simply be inserting an empty row.

{{npcwh|Sleepless Warden|n=2x|t={{trigger}}}} Here we specify the NPC's name, number, and trigger status.

The NPC name and number (n=) are required, but the trigger (t=) is not.

{{npcwh|Sleepless Upholder|n=3x}} Here we specify the NPC name and number but omit the trigger (t=) entirely.
{{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