Difference between revisions of "Template:Npcwh"

From EVE University Wiki
Jump to: navigation, search
(Moving the template to a more sane pagename.)
 
m
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 = <tr><td colspan="15" style="text-align:center;" nowrap><span style="font-size:1.25em;line-height:1.5em;font-weight:bold;">Wave {{{number}}}</span></td></tr>
 
| Wave = <tr><td colspan="15" style="text-align:center;" nowrap><span style="font-size:1.25em;line-height:1.5em;font-weight:bold;">Wave {{{number}}}</span></td></tr>
 
| CapEsc = <tr><td colspan="15" style="text-align:center;" nowrap><span style="font-size:1.25em;line-height:1.5em;font-weight:bold;">Capital Escalation {{{number}}}</span></td></tr>
 
| CapEsc = <tr><td colspan="15" style="text-align:center;" nowrap><span style="font-size:1.25em;line-height:1.5em;font-weight:bold;">Capital Escalation {{{number}}}</span></td></tr>

Revision as of 21:31, 24 June 2014

This is a very simple conditional template test.


To use this template, simply use the following syntax:

  • {{npcwh|Start}} - This begins the table and adds headers.
  • {{npcwh|Wave|number=1}} - This specifies a Wave header, whatever you put after number= goes into that header. In this case it will say Wave 1.
  • {{npcwh|Sleepless Warden|number=2x|trigger={{trigger}}}} - Here we specify the name of the Sleeper, the number of sleepers, and that it will trigger a new wave.
  • {{npcwh|Sleepless Upholder|number=3x|trigger=}} - Here we again specify the name of the Sleeper, the number, and we leave the trigger blank.
  • {{npcwh|Emergent Keeper|number=4x|trigger=}} - Same as above.
  • {{npcwh|End}} - This tells the table to stop.

You can also shorten the names like so:

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

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:Npcimg{{{n}}} Sleepless Warden,{{{t}}}Icon remote armor repair i.png4001401,305255,00055,000170,00085,00035,20070 / 70 / 70 / 701760029 / 29170 / 170
Template:Npcimg{{{n}}} Sleepless Upholder,{{{t}}}Vamp.png400140800225,00065,000150,00075,00016,80065 / 65 / 65 / 658400191 / 19130 / 30
Template:Npcimg{{{n}}} Emergent Keeper,{{{t}}}Vamp.pngIcon remote armor repair i.png351,0502,88015,0005,00010,0005,0001,76050 / 50 / 50 / 508804 / 48 / 8
Template:Npcimg{{{n}}} Awakened Keeper,{{{t}}}Icon stasis webifier i.pngIcon warp scrambler i.pngVamp.png1503602,115105,00030,00070,00035,0007,70050 / 50 / 50 / 50385018 / 189 / 9
Template:Npcimg{{{n}}} Argos,{{{t}}}5000250,0000250,00050,0007,00040 / 40 / 40 / 40350037 / 370 / 0