Difference between revisions of "Template:Npcwh"

From EVE University Wiki
Jump to: navigation, search
m (Missed a few things.)
(Do not categorize Pages using (non-maintenance) Templates)
 
(43 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{{#switch: {{{1|}}}  
 
{{#switch: {{{1|}}}  
| Start =  
+
| Start | start =
 
<table class="wikitable sortable">
 
<table class="wikitable sortable">
<tr>
+
<tr style="background-color:#222222;">
<th nowrap style="background-color:#222222;" data-sort-type="number"> </th>
+
<th nowrap data-sort-type="number"> </th>
<th nowrap style="background-color:#222222;" data-sort-type="number">Sleeper Ship Name</th>
+
<th nowrap data-sort-type="number">Sleeper Ship Name</th>
<th nowrap style="background-color:#222222;" data-sort-type="number">Effect(s)</th>
+
<th nowrap data-sort-type="number">Effect(s)</th>
<th nowrap style="background-color:#222222;" data-sort-type="number">Sig</th>
+
<th nowrap data-sort-type="number">Sig</th>
<th nowrap style="background-color:#222222;" data-sort-type="number">Res</th>
+
<th nowrap data-sort-type="number">Speed</th>
<th nowrap style="background-color:#222222;" data-sort-type="number">Speed</th>
+
<th nowrap data-sort-type="number">Attack</th>
<th nowrap style="background-color:#222222;" data-sort-type="number">Attack</th>
+
<th nowrap data-sort-type="number">Orbit</th>
<th nowrap style="background-color:#222222;" data-sort-type="number">Orbit</th>
+
<th nowrap data-sort-type="number">DPS/Volley</th>
<th nowrap style="background-color:#222222;" data-sort-type="number">Optimal</th>
+
<th nowrap data-sort-type="number">DPS/Volley</th>
<th nowrap style="background-color:#222222;" data-sort-type="number">Falloff</th>
+
<th nowrap data-sort-type="number">EHP</th>
<th nowrap style="background-color:#222222;" data-sort-type="number">Armor HP</th>
 
<th nowrap style="background-color:#222222;" data-sort-type="number">Armor Resists</th>
 
<th nowrap style="background-color:#222222;" data-sort-type="number">Hull HP</th>
 
<th nowrap style="background-color:#222222;" data-sort-type="number">Turret DPS<br>(EM/Therm)</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;">{{
+
| Start2 | start2 =
 +
<table class="wikitable">
 +
| Awakened Defender | ad | adef = <tr>
 +
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 +
[[image:icon_red_cruiser.png|16px|link=|Cruiser]]
 +
</td>
 +
<td nowrap style="vertical-align:text-top;text-align:left;">
 +
{{#if: {{{2|}}} | {{{2}}} }} Awakened Defender {{#if: {{{3|}}} | {{{3}}} }}
 +
</td>
 +
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 +
 +
</td>
 +
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 +
[[image:Icon_ship_sig.png|18px|link=]] 150
 +
</td>
 +
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 +
[[image:Icon_velocity.png|18px|link=]] 1,480 m/s
 +
</td>
 +
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 +
[[image:Icon_target_range.png|18px|link=]] 45 km
 +
</td>
 +
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 +
15 km [[image:icon_orbit.png|18px|link=]] 185 m/s
 +
</td>
 +
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 +
28 [[image:icon_turret.png|18px|link=|DPS,Volley,Interval]] 140 (5 s)
 +
</td>
 +
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 +
28 [[image:icon_torpedoes.png|18px|link=|DPS,Volley,Interval]] 420 (15 s)
 +
</td>
 +
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 +
[[image:icon_hull.png|18px|link=]] 26,833
 +
</td>
 +
</tr>
 +
| Awakened Escort | ae | aesc = <tr>
 +
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 +
[[image:icon_red_cruiser.png|16px|link=|Cruiser]]
 +
</td>
 +
<td nowrap style="vertical-align:text-top;text-align:left;">
 +
{{#if: {{{2|}}} | {{{2}}} }} Awakened Escort {{#if: {{{3|}}} | {{{3}}} }}
 +
</td>
 +
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 +
 +
</td>
 +
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 +
[[image:Icon_ship_sig.png|18px|link=]] 150
 +
</td>
 +
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 +
[[image:Icon_velocity.png|18px|link=]] 980 m/s
 +
</td>
 +
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 +
[[image:Icon_target_range.png|18px|link=]] 68 km
 +
</td>
 +
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 +
45 km [[image:icon_orbit.png|18px|link=]] 140 m/s
 +
</td>
 +
<td nowrap style="vertical-align:text-top;text-align:center;padding:0px 5px;">
 +
44 [[image:icon_turret.png|18px|link=|DPS,Volley,Interval]] 220 (5 s)
 +
</
 
}}
 
}}
<noinclude>This is a very simple conditional template test.
+
<noinclude>
 
+
{{documentation}}
 
 
To use this template, simply use the following syntax:
 
* <nowiki>{{npcwh|Start}} - This begins the table and adds headers.</nowiki>
 
* <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 headers by calling {{npcwh|Wave}}
 
* <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 Upholder|n=3x|t=}} - Here we again specify the name of the Sleeper, the number, and we leave the trigger blank.</nowiki>
 
* <nowiki>{{npcwh|Emergent Keeper|n=4x|t=}} - Same as above.</nowiki>
 
* <nowiki>{{npcwh|End}} - This tells the table to stop.</nowiki>
 
 
 
You can also shorten the names like so:
 
* <nowiki>{{npcwh|swar|n=2x|t={{trigger}}}}</nowiki>
 
* <nowiki>{{npcwh|suph|n=3x|t=}}</nowiki>
 
* <nowiki>{{npcwh|skee|n=4x|t=}}</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).
 
 
 
==Example Usage==
 
{{npcwh|Start}}
 
{{npcwh|Wave|w=Wave|n=1}}
 
{{npcwh|swar|n=2x|t={{trigger}}}}
 
{{npcwh|suph|n=3x|t=}}
 
{{npcwh|ekee|n=4x|t=}}
 
{{npcwh|akee|n=16x|t=}}
 
{{npcwh|argo|n=2x|t=}}
 
{{npcwh|Wave|w=Capital Escalation|n=1}}
 
{{npcwh|swar|n=10x|t=}}
 
{{npcwh|End}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 16:10, 9 October 2022


Template documentation (for the above template, sometimes hidden or invisible)

This is a 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.

Shortened Syntax

You can use short names for convenience:

  • {{npcwh|swar|2x|{{trigger}}}}
  • {{npcwh|suph|3x}}
  • {{npcwh|skee|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").

No Headers

Alternatively you can start a table with no headers:

  • {{npcwh|start2}}

Example Usage

Headers

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

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

58 DPS,Volley,Interval 288 (5 s)

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

Icon hull.png 134,933

Battleship

3x 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

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

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

Icon hull.png 56,400

frigate

4x 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

8 DPS,Volley,Interval 36 (5 s)

16 DPS,Volley,Interval 136 (9 s)

Icon hull.png 4,400

Cruiser

16x Awakened Keeper

Stasis WebifierWarp DisruptorEnergy 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

36 DPS,Volley,Interval 180 (5 s)

18 DPS,Volley,Interval 270 (15 s)

Icon hull.png 19,250

Sentry Tower

2x Wakeful Sentry Tower

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

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

0 DPS,Volley,Interval 0 (0 s)

Icon hull.png 15,167

Capital Escalation 1

Battleship

10x 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

58 DPS,Volley,Interval 288 (5 s)

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

Icon hull.png 134,933


No Headers

Battleship

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

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

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

Icon hull.png 56,400

Visit Template:Npcwh/doc to edit this text! (How does this work?) (Refresh this text - why?)