Difference between revisions of "Template:Npcwh"

From EVE University Wiki
Jump to: navigation, search
m (nowiki is annoying.)
({{{t}}} is conditional also.)
Line 19: Line 19:
 
<th nowrap style="background-color:#222222;" data-sort-type="number">Missile DPS<br>(Exp/Kin)</th>
 
<th nowrap style="background-color:#222222;" data-sort-type="number">Missile DPS<br>(Exp/Kin)</th>
 
</tr>
 
</tr>
| Awakened Defender | ad | adef = <tr><td nowrap style="vertical-align:text-top; text-align:center;">
+
| Awakened Defender | ad | adef = <tr><td nowrap style="vertical-align:text-top; text-align:center;">
 
| 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 = </table>

Revision as of 13:56, 25 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 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.
  • {{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.
  • {{npcwh|Sleepless Upholder|n=3x|t=}} - Here we again specify the name of the Sleeper, the number, and we leave the trigger blank.
  • {{npcwh|Emergent Keeper|n=4x|t=}} - Same as above.
  • {{npcwh|End}} - This tells the table to stop.

You can also shorten the names like so:

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

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).

Example Usage

Sleeper Ship Name Effect(s) Sig Res Speed Attack Orbit Optimal Falloff Armor HP Armor Resists Hull HP Turret DPS
(EM/Therm)
Missile DPS
(Exp/Kin)
Wave 1
Template:Npcimg2x Sleepless Warden TRIGGER for next waveIcon remote armor repair i.png4001401,305255,00055,000170,00085,00035,20070 / 70 / 70 / 701760029 / 29170 / 170
Template:Npcimg3x Sleepless Upholder Vamp.png400140800225,00065,000150,00075,00016,80065 / 65 / 65 / 658400191 / 19130 / 30
Template:Npcimg4x Emergent Keeper Vamp.pngIcon remote armor repair i.png351,0502,88015,0005,00010,0005,0001,76050 / 50 / 50 / 508804 / 48 / 8
Template:Npcimg16x Awakened Keeper Icon stasis webifier i.pngIcon warp scrambler i.pngVamp.png1503602,115105,00030,00070,00035,0007,70050 / 50 / 50 / 50385018 / 189 / 9
Template:Npcimg2x Argos 5000250,0000250,00050,0007,00040 / 40 / 40 / 40350037 / 370 / 0
Capital Escalation 1
Template:Npcimg10x Sleepless Warden Icon remote armor repair i.png4001401,305255,00055,000170,00085,00035,20070 / 70 / 70 / 701760029 / 29170 / 170