Difference between revisions of "Template:Npcwh"
Dama arishe (talk | contribs) ({{{t}}} is conditional also.) |
(Do not categorize Pages using (non-maintenance) Templates) |
||
(36 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 data-sort-type="number"> </th> | |
− | <th nowrap | + | <th nowrap data-sort-type="number">Sleeper Ship Name</th> |
− | <th nowrap | + | <th nowrap data-sort-type="number">Effect(s)</th> |
− | <th nowrap | + | <th nowrap data-sort-type="number">Sig</th> |
− | <th nowrap | + | <th nowrap data-sort-type="number">Speed</th> |
− | + | <th nowrap data-sort-type="number">Attack</th> | |
− | <th nowrap | + | <th nowrap data-sort-type="number">Orbit</th> |
− | <th nowrap | + | <th nowrap data-sort-type="number">DPS/Volley</th> |
− | <th nowrap | + | <th nowrap data-sort-type="number">DPS/Volley</th> |
− | + | <th nowrap data-sort-type="number">EHP</th> | |
− | |||
− | |||
− | |||
− | <th nowrap | ||
− | <th nowrap | ||
</tr> | </tr> | ||
− | + | | 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> | + | <noinclude> |
− | + | {{documentation}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
</noinclude> | </noinclude> |
Latest revision as of 16:10, 9 October 2022
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 | ||||||||||||||
|
400 |
1,305 m/s |
255 km |
55 km 145 m/s |
58 288 (5 s) |
340 6,092 (18 s) |
134,933 |
|||||||
3x Sleepless Upholder |
|
400 |
800 m/s |
225 km |
65 km 100 m/s |
382 1,904 (5 s) |
60 1,052 (18 s) |
56,400 |
||||||
4x Emergent Keeper |
|
35 |
2,880 m/s |
15 km |
5 km 320 m/s |
8 36 (5 s) |
16 136 (9 s) |
4,400 |
||||||
|
16x Awakened Keeper |
|
150 |
2,115 m/s |
105 km |
30 km 235 m/s |
36 180 (5 s) |
18 270 (15 s) |
19,250 |
|||||
|
2x Wakeful Sentry Tower |
50 |
0 m/s |
250 km |
0 km 0 m/s |
74 1,092 (15 s) |
0 0 (0 s) |
15,167 |
||||||
Capital Escalation 1 | ||||||||||||||
10x Sleepless Warden |
|
400 |
1,305 m/s |
255 km |
55 km 145 m/s |
58 288 (5 s) |
340 6,092 (18 s) |
134,933 |
No Headers
Sleepless Upholder |
|
400 |
800 m/s |
225 km |
65 km 100 m/s |
382 1,904 (5 s) |
60 1,052 (18 s) |
56,400 |