More actions
Dama arishe (talk | contribs) m →Syntax |
m Change background color to design-token. |
||
| (39 intermediate revisions by 8 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: var(--background-color-warning-subtle);"> | ||
<th nowrap data-sort-type="number"> </th> | |||
<th nowrap data-sort-type="number">Sleeper Ship Name</th> | |||
<th nowrap data-sort-type="number">Effect(s)</th> | |||
<th nowrap data-sort-type="number">Sig</th> | |||
<th nowrap | <th nowrap data-sort-type="number">Speed</th> | ||
<th nowrap | <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 | <th nowrap data-sort-type="number">EHP</th> | ||
<th nowrap | |||
<th nowrap | |||
<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 14:12, 13 June 2025
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 (e.g. "Sleepless" becomes "s") and adds the first three letters of the second word (e.g. "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 | ||||||||||||||
|
|
|
|
|
55 km |
58 |
340 |
|
|||||||
|
3x Sleepless Upholder |
|
|
|
|
65 km |
382 |
60 |
|
||||||
|
4x Emergent Keeper |
|
|
|
|
5 km |
8 |
16 |
|
||||||
|
|
16x Awakened Keeper |
|
|
|
|
30 km |
36 |
18 |
|
|||||
|
|
2x Wakeful Sentry Tower |
|
|
|
0 km |
74 |
0 |
|
||||||
| Capital Escalation 1 | ||||||||||||||
|
10x Sleepless Warden |
|
|
|
|
55 km |
58 |
340 |
|
||||||
No Headers
|
Sleepless Upholder |
|
|
|
|
65 km |
382 |
60 |
|