Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Npcwh: Difference between revisions

Template page
m Removed an errant extra td.
m Changed the examples to match. Added some formatting.
Line 1: Line 1:
{{#switch: {{{1|}}}  
{{#switch: {{{1|}}}  
| Start =  
| Start | start =
<table class="wikitable sortable">
<table class="wikitable sortable">
<tr>
<tr>
Line 1,071: Line 1,071:
</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;">{{#if: {{{w|}}} | {{{w}}} }} {{#if: {{{n|}}} | {{{n}}} }}</span></td></tr>
| End = </table>
| End | end = </table>
}}
}}<noinclude>
<noinclude>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.
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==
==Syntax==


To use this template, simply use the following syntax:
To use this template, simply use the following syntax:
* <nowiki>{{npcwh|Start}} - This begins the table and adds headers.</nowiki>
* ''<nowiki>{{npcwh|start}}</nowiki>'' - This begins the table and adds headers.
* <nowiki>{{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.</nowiki>
* ''<nowiki>{{npcwh|wave|w=Wave|n=1}}</nowiki>'' - 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.
** <nowiki>You don't have to specify "w" or "n". You can write {{npcwh|Wave}} if you want, which will insert an empty row into the table.</nowiki>
** 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}}}} - Here we specify the name of the Sleeper, the number of sleepers, and that it will trigger a new wave.</nowiki>
* ''<nowiki>{{npcwh|Sleepless Warden|n=2x|t={{trigger}}}}</nowiki>'' - Here we specify the NPC's name, number, and trigger status.
* <nowiki>{{npcwh|Sleepless Upholder|n=3x|t=}} - Here we again specify the name of the Sleeper, the number, and we leave the trigger blank.</nowiki>
** The NPC name and number (<tt>n=</tt>) are required, but the trigger (<tt>t=</tt>) is not.
* <nowiki>{{npcwh|Emergent Keeper|n=4x|t=}} - Same as above.</nowiki>
* ''<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}} - This tells the table to stop.</nowiki>
* ''<nowiki>{{npcwh|end}}</nowiki>'' - This tells the table to stop.


You can also shorten the names like so:
You can use short names for convenience:
* <nowiki>{{npcwh|swar|n=2x|t={{trigger}}}}</nowiki>
* <nowiki>{{npcwh|swar|n=2x|t={{trigger}}}}</nowiki>
* <nowiki>{{npcwh|suph|n=3x|t=}}</nowiki>
* <nowiki>{{npcwh|suph|n=3x}}</nowiki>
* <nowiki>{{npcwh|skee|n=4x|t=}}</nowiki>
* <nowiki>{{npcwh|skee|n=4x}}</nowiki>
This takes the first letter of the first word (Sleepless/Awakened/Emergent) and adds the first three letters of the second word (Warden/Upholder/Keeper in the cases above).
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==
==Example Usage==
{{npcwh|Start}}
{{npcwh|start}}
{{npcwh|Wave|w=Wave|n=1}}
{{npcwh|wave|w=Wave|n=1}}
{{npcwh|swar|n=2x|t={{trigger}}}}
{{npcwh|swar|n=2x|t={{trigger}}}}
{{npcwh|suph|n=3x|t=}}
{{npcwh|suph|n=3x|t=}}
Line 1,100: Line 1,100:
{{npcwh|akee|n=16x|t=}}
{{npcwh|akee|n=16x|t=}}
{{npcwh|argo|n=2x|t=}}
{{npcwh|argo|n=2x|t=}}
{{npcwh|Wave|w=Capital Escalation|n=1}}
{{npcwh|wave|w=Capital Escalation|n=1}}
{{npcwh|swar|n=10x|t=}}
{{npcwh|swar|n=10x|t=}}
{{npcwh|End}}
{{npcwh|end}}
</noinclude>
</noinclude>

Revision as of 17: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:

  • {{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
Wave 1

Battleship

2x Sleepless Warden TRIGGER for next wave

Remote Repair

400

1,305 m/s

255 km

55 km 145 m/s

29 DPS,Volley,Interval 288 (5 s)

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

134,933

Battleship

3x Sleepless Upholder

Energy Neutralization

400

800 m/s

225 km

65 km 100 m/s

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

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

56,400

Frigate

4x Emergent Keeper

Energy NeutralizationRemote Repair

35

2,880 m/s

15 km

5 km 320 m/s

4 DPS,Volley,Interval 36 (5 s)

16 DPS,Volley,Interval 136 (9 s)

4,400

Cruiser

16x Awakened Keeper

Stasis WebifierWarp ScramblerEnergy Neutralization

150

2,115 m/s

105 km

30 km 235 m/s

18 DPS,Volley,Interval 180 (5 s)

18 DPS,Volley,Interval 270 (15 s)

19,250

Sentry Tower

2x Argos

50

0 m/s

250 km

0 km 0 m/s

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

0 DPS,Volley,Interval 0 (0 s)

15,167

Capital Escalation 1

Battleship

10x Sleepless Warden

Remote Repair

400

1,305 m/s

255 km

55 km 145 m/s

29 DPS,Volley,Interval 288 (5 s)

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

134,933