Difference between revisions of "User:Boundbylife/template:npcwh"
Boundbylife (talk | contribs) (init commit) |
Boundbylife (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <!--THIS IS TESTING CSS, AND SHOULD BE REPLACED BY A MODIFIED {{NPCTableCSS}} FOR DEPLOYMENT --> | ||
+ | <includeonly> | ||
+ | |- | ||
+ | | class=icon | {{#switch: {{{1}}} | ||
+ | <!-- HOSTILE SHIPS/TURRETS --> | ||
+ | | Drone = [[File:Icon red drone.png|16 px|Drone]] | ||
+ | | Frigate = [[File:Icon red frigate.png|16 px|Frigate]] | ||
+ | | Mining Frigate = [[File:Icon red mining frigate.png|16 px|Mining Frigate]] | ||
+ | | Commander Frigate = [[File:Icon red frigate.png|16 px|Commander Frigate]] | ||
+ | | Elite Frigate = [[File:Icon red frigate.png|16 px|Elite Frigate]] | ||
+ | | Overseer Frigate = [[File:Icon red frigate.png|16 px|Overseer Frigate]] | ||
+ | | Destroyer = [[File:Icon red destroyer.png|16 px|Destroyer]] | ||
+ | | Elite Destroyer = [[File:Icon red destroyer.png|16 px|Elite Destroyer]] | ||
+ | | Commander Destroyer = [[File:Icon red destroyer.png|16 px|Commander Destroyer]] | ||
+ | | Cruiser = [[File:Icon red cruiser.png|16 px|Cruiser]] | ||
+ | | Elite Cruiser = [[File:Icon red cruiser.png|16 px|Elite Cruiser]] | ||
+ | | Storyline Mission Cruiser =[[File:Icon red cruiser.png|16 px|Storyline Mission Cruiser]] | ||
+ | | Commander Cruiser = [[File:Icon red cruiser.png|16 px|Commander Cruiser]] | ||
+ | | Overseer Cruiser = [[File:Icon red cruiser.png|16 px|Overseer Cruiser]] | ||
+ | | Battlecruiser = [[File:Icon red battlecruiser.png|16 px|Battlecruiser]] | ||
+ | | Elite Battlecruiser = [[File:Icon red battlecruiser.png|16 px|Elite Battlecruiser]] | ||
+ | | Overseer Battlecruiser = [[File:Icon red battlecruiser.png|16 px|Overseer Battlecruiser]] | ||
+ | | Commander Battlecruiser = [[File:Icon red battlecruiser.png|16 px|Commander Battlecruiser]] | ||
+ | | Battleship = [[File:Icon red battleship.png|16 px|Battleship]] | ||
+ | | Elite Battleship = [[File:Icon red battleship.png|16 px|Elite Battleship]] | ||
+ | | Commander Battleship = [[File:Icon red battleship.png|16 px|Commander Battleship]] | ||
+ | | Overseer Battleship = [[File:Icon red battleship.png|16 px|Overseer Battleship]] | ||
+ | | Officer Battleship = [[File:Icon red battleship.png|16 px|Officer Battleship]] | ||
+ | | Sentry = [[File:Icon red tower.png|16 px|Sentry]] | ||
+ | | Barge= [[File:Icon red mining barge.png|16 px|Barge]] | ||
+ | | Hauler | ||
+ | | Industrial = [[File:Icon red industrial.png|16 px|Hauler]] | ||
+ | | Freighter= [[File:Icon red industrial capital.png|16 px|Freighter]] | ||
+ | | Fighter = [[File:Icon red fighter.png|16 px|Fighter]] | ||
+ | | Carrier = [[File:Icon red carrier.png|16 px|Carrier]] | ||
+ | | Supercarrier = [[File:Icon red supercarrier.png|16 px|Supercarrier]] | ||
+ | | Dreadnought= [[File:Icon red dreadnought.png|16 px|Dreadnought]] | ||
+ | | Titan = [[File:Icon red titan.png|16 px|Titan]] | ||
+ | <!-- Neutral SHIPS/TURRETS --> | ||
+ | | Neutral Drone = [[File:icon bracket drone.png|16px|Drone]] | ||
+ | | Neutral Frigate = [[File:icon white frigate.png|16px|Frigate]] | ||
+ | | Neutral Mining Frigate = [[File:icon_white_mining_frigate.png|16px|mining frigate]] | ||
+ | | Neutral Commander Frigate = [[File:icon white frigate.png|16px|Commander Frigate]] | ||
+ | | Neutral Elite Frigate = [[File:icon white frigate.png|16px|Elite Frigate]] | ||
+ | | Neutral Overseer Frigate = [[File:icon white frigate.png|16px|Overseer Frigate]] | ||
+ | | Neutral Destroyer = [[File:icon white destroyer.png|16px|Destroyer]] | ||
+ | | Neutral Elite Destroyer = [[File:icon white destroyer.png|16px|Elite Destroyer]] | ||
+ | | Neutral Commander Destroyer = [[File:icon white destroyer.png|16px|Commander Destroyer]] | ||
+ | | Neutral Cruiser = [[File:icon white cruiser.png|16px|Cruiser]] | ||
+ | | Neutral Elite Cruiser = [[File:icon white cruiser.png|16px|Elite Cruiser]] | ||
+ | | Neutral Storyline Mission Cruiser = [[File:icon white cruiser.png|16px|Storyline Mission Cruiser]] | ||
+ | | Neutral Commander Cruiser = [[File:icon white cruiser.png|16px|Commander Cruiser]] | ||
+ | | Neutral Overseer Cruiser = [[File:icon white cruiser.png|16px|Overseer Cruiser]] | ||
+ | | Neutral Battlecruiser = [[File:icon white battlecruiser.png|16px|Battlecruiser]] | ||
+ | | Neutral Elite Battlecruiser = [[File:icon white battlecruiser.png|16px|Elite Battlecruiser]] | ||
+ | | Neutral Overseer Battlecruiser = [[File:icon white battlecruiser.png|16px|Overseer Battlecruiser]] | ||
+ | | Neutral Commander Battlecruiser = [[File:icon white battlecruiser.png|16px|Commander Battlecruiser]] | ||
+ | | Neutral Battleship = [[File:icon white battleship.png|16px|Battleship]] | ||
+ | | Neutral Elite Battleship = [[File:icon white battleship.png|16px|Elite Battleship]] | ||
+ | | Neutral Commander Battleship = [[File:icon white battleship.png|16px|Commander Battleship]] | ||
+ | | Neutral Overseer Battleship = [[File:icon white battleship.png|16px|Overseer Battleship]] | ||
+ | | Neutral Officer Battleship = [[File:icon white battleship.png|16px|Officer Battleship]] | ||
+ | | Neutral Sentry = [[File:icon bracket tower.png|16px|Sentry]] | ||
+ | | Neutral Carrier = [[File:icon white carrier.png|16px|Carrier]] | ||
+ | | Neutral Supercarrier = [[File:icon white supercarrier.png|16px|Capital]] | ||
+ | | Neutral Barge= [[File:icon white mining barge.png|16px|Industrial]] | ||
+ | | Neutral Hauler | ||
+ | | Neutral Industrial = [[File:icon white industrial.png|16px|Hauler]] | ||
+ | | Neutral Freighter= [[File:Icon white industrial capital.png|16px|Freighter]] | ||
+ | | Neutral Fighter = [[File:icon bracket fighter.png|16px|Fighter]] | ||
+ | | Neutral Titan = [[File:icon white titan.png|16px|supercapital]] | ||
+ | <!-- Friendly SHIPS/TURRETS --> | ||
+ | | Friendly Drone = [[File:icon blue drone.png|16px|Drone]] | ||
+ | | Friendly Frigate = [[File:icon blue frigate.png|16px|Frigate]] | ||
+ | | Friendly Mining Frigate = [[File:icon blue mining frigate.png|16px|mining frigate]] | ||
+ | | Friendly Commander Frigate = [[File:icon blue frigate.png|16px|Commander Frigate]] | ||
+ | | Friendly Elite Frigate = [[File:icon blue frigate.png|16px|Elite Frigate]] | ||
+ | | Friendly Overseer Frigate = [[File:icon blue frigate.png|16px|Overseer Frigate]] | ||
+ | | Friendly Destroyer = [[File:icon blue destroyer.png|16px|Destroyer]] | ||
+ | | Friendly Elite Destroyer = [[File:icon blue destroyer.png|16px|Elite Destroyer]] | ||
+ | | Friendly Commander Destroyer = [[File:icon blue destroyer.png|16px|16|Commander Destroyer]] | ||
+ | | Friendly Cruiser = [[File:icon blue cruiser.png|16px|Cruiser]] | ||
+ | | Friendly Elite Cruiser = [[File:icon blue cruiser.png|16px|Elite Cruiser]] | ||
+ | | Friendly Storyline Mission Cruiser = [[File:icon blue cruiser.png|16px|Storyline Mission Cruiser]] | ||
+ | | Friendly Commander Cruiser = [[File:icon blue cruiser.png|16px|Commander Cruiser]] | ||
+ | | Friendly Overseer Cruiser = [[File:icon blue cruiser.png|16px|Overseer Cruiser]] | ||
+ | | Friendly Battlecruiser = [[File:icon blue battlecruiser.png|16px|Battlecruiser]] | ||
+ | | Friendly Elite Battlecruiser = [[File:icon blue battlecruiser.png|16px|Battlecruiser]] | ||
+ | | Friendly Overseer Battlecruiser = [[File:icon blue battlecruiser.png|16px|Overseer Battlecruiser]] | ||
+ | | Friendly Commander Battlecruiser = [[File:icon blue battlecruiser.png|16px|Commander Battlecruiser]] | ||
+ | | Friendly Battleship = [[File:icon blue battleship.png|16px|Battleship]] | ||
+ | | Friendly Elite Battleship = [[File:icon blue battleship.png|16px|Elite Battleship]] | ||
+ | | Friendly Commander Battleship = [[File:icon blue battleship.png|16px|Commander Battleship]] | ||
+ | | Friendly Overseer Battleship = [[File:icon blue battleship.png|16px|Overseer Battleship]] | ||
+ | | Friendly Officer Battleship = [[File:icon blue battleship.png|16px|Officer Battleship]] | ||
+ | | Friendly Sentry = [[File:icon blue tower.png|16px|Sentry]] | ||
+ | | Friendly Carrier = [[File:icon blue carrier.png|16px|Carrier]] | ||
+ | | Friendly Supercarrier = [[File:icon blue supercarrier.png|16px|Super Carrier]] | ||
+ | | Friendly Barge= [[File:icon blue mining_barge.png|16px|Mining Barge]] | ||
+ | | Friendly Hauler | ||
+ | | Friendly Industrial = [[File:icon blue industrial.png|16px|Hauler]] | ||
+ | | Friendly Freighter= [[File:blue industrial capital.png|16px|Freighter]] | ||
+ | | Friendly Fighter = [[File:icon blue fighter.png|16px|Fighter]] | ||
+ | | Friendly Titan = [[File:icon blue titan.png|16px|supercapital]] | ||
+ | <!-- STRUCTURES --> | ||
+ | | Accl Gate = [[File:Icon bracket accelerationgate.png|16px|Acceleration Gate]]<!-- Don't use this one--> | ||
+ | | Acceleration Gate = [[File:Icon bracket accelerationgate.png|16px|Acceleration Gate]] | ||
+ | | Station = [[File:Icon bracket station.png|16px|Station]] | ||
+ | | Structure = [[File:Icon bracket structure.png|16px|Structure]] | ||
+ | | Wormhole = [[File:Icon_bracket_wormhole.png|16px|Wormhole]] | ||
+ | | Stargate = [[File:Icon bracket stargate.png|16px|Stargate]] | ||
+ | | Tower = [[File:Icon bracket tower.png|16px|Tower]] | ||
+ | | Asteroid = [[File:Icon bracket asteroid.png|16px|Asteroid]] | ||
+ | | Asteroid Field = [[File:Icon bracket asteroidfield.png|16px|Asteroid Field]] | ||
+ | | Container = [[File:Icon bracket container.png|16px|Container]] | ||
+ | | Red Container = [[File:Icon bracket container red.png|16px|Container]] | ||
+ | | Beacon = [[File:Icon bracket beacon.png|16px|Beacon]] | ||
+ | | Billboard = [[File:Icon bracket billboard.png|16px|Billboard]] | ||
+ | | Force Field = [[File:Icon bracket forcefield.png|16px|Force Field]] | ||
+ | | Gas Cloud = [[File:Gas cloud.png|16px|Gas Cloud]] | ||
+ | | Hackable = [[File:Icon bracket hackable.png|16px|Hackable Structure]] | ||
+ | | Agent= [[File:Icon bracket agent.png|16px|Agent in space]] | ||
+ | | Hangar Array = [[File:Icon_PersonalHangarArray.png]] | ||
+ | }} | ||
+ | | {{#if: {{{2}}} | {{{2}}} x |}} {{#switch: {{{1}}} | ||
+ | <!-- Things that are on this list don't get green text. No green text for structures.--> | ||
+ | | Accl Gate = | ||
+ | | Acceleration Gate = | ||
+ | | Station = | ||
+ | | Structure = | ||
+ | | Wormhole = | ||
+ | | Stargate = | ||
+ | | Tower = | ||
+ | | Asteroid = | ||
+ | | Asteroid Field = | ||
+ | | Container = | ||
+ | | Red Container = | ||
+ | | Beacon = | ||
+ | | Billboard = | ||
+ | | Force Field = | ||
+ | | Gas Cloud = | ||
+ | | Hackable = | ||
+ | | Agent = | ||
+ | | Hangar Array = | ||
+ | | Industrial2= {{co|#9ef37c|Industrial }} | ||
+ | | {{co|#9ef37c|{{{1}}} }} | ||
+ | }} {{{3}}} {{#if:{{{note|}}}| [[File:Small Info.png|16px|{{{note}}}]]|}} {{#if:{{{trigger|}}}|[[File:Icon large red x.png|14px|{{{trigger}}}]]|}} | ||
+ | | class=icon | {{#switch: {{{point}}} | ||
+ | |yes=[[File:Icon warp disruptor i.png|24px|Warp Disruptor]] | ||
+ | |point=[[File:Icon warp disruptor i.png|24px|Warp Disruptor]] | ||
+ | |scram=[[File:Icon warp scrambler i.png|24px|Warp Scrambler]] }} | ||
+ | | class=icon | {{#ifeq: {{{ewar|}}} | | | {{#switch: {{{ewar}}} | ||
+ | | ECM =[[File:Icon target max.png|24px|Target Jammer]] | ||
+ | | TD =[[File:Icon track disruptor 64.png|24px|Tracking Disruptor]] | ||
+ | | Web =[[File:Icon stasis webifier i.png|24px|Stasis Webifier]] | ||
+ | | Damp =[[File:Icon remote sensor dampening.png|24px|Remote Sensor Dampener]] | ||
+ | | TP =[[File:Icon target painter i.png|24px|Target Painter]] | ||
+ | | Neut =[[File:Icon energy neutralizer i.png|24px|Energy Neutralizer]] | ||
+ | | GD =[[File:Icon missile guidance computer i.png|24px|Guidance Disruptor]] | ||
+ | | {{{ewar}}} }} }} {{#ifeq: {{{ewar2|}}} | | | {{#switch: {{{ewar2}}} | ||
+ | | ECM =[[File:Icon target max.png|24px|Target Jammer]] | ||
+ | | TD =[[File:Icon track disruptor 64.png|24px|Tracking Disruptor]] | ||
+ | | Web =[[File:Icon stasis webifier i.png|24px|Stasis Webifier]] | ||
+ | | Damp =[[File:Icon remote sensor dampening.png|24px|Remote Sensor Dampener]] | ||
+ | | TP =[[File:Icon target painter i.png|24px|Target Painter]] | ||
+ | | Neut =[[File:Icon energy neutralizer i.png|24px|Energy Neutralizer]] | ||
+ | | GD =[[File:Icon missile guidance computer i.png|24px|Guidance Disruptor]] | ||
+ | | {{{ewar2}}} }} }} {{#ifeq: {{{ewar3|}}} | | | {{#switch: {{{ewar3}}} | ||
+ | | ECM =[[File:Icon target max.png|24px|Target Jammer]] | ||
+ | | TD =[[File:Icon track disruptor 64.png|24px|Tracking Disruptor]] | ||
+ | | Web =[[File:Icon stasis webifier i.png|24px|Stasis Webifier]] | ||
+ | | Damp =[[File:Icon remote sensor dampening.png|24px|Remote Sensor Dampener]] | ||
+ | | TP =[[File:Icon target painter i.png|24px|Target Painter]] | ||
+ | | Neut =[[File:Icon energy neutralizer i.png|24px|Energy Neutralizer]] | ||
+ | | GD =[[File:Icon missile guidance computer i.png|24px|Guidance Disruptor]] | ||
+ | | {{{ewar3}}} }} }} | ||
+ | | class=icon | {{#if: {{{cargo|}}} | [[File:Icon container small green.png|24px|{{{cargo}}}]] }}{{#if: {{{drop|}}} | [[File:Icon container small.png|24px|{{{drop}}}]] |}} | ||
+ | |-<!-- | ||
+ | -->{{#if: {{{end|}}}{{!}}} }} | ||
+ | </includeonly> | ||
+ | <!-- END TESTING CSS --> | ||
+ | |||
+ | |||
{{#switch: {{{1|}}} | {{#switch: {{{1|}}} | ||
| Start | start = | | Start | start = | ||
Line 6: | Line 189: | ||
<th nowrap data-sort-type="number">Sleeper Ship Name</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">Effect(s)</th> | ||
− | <th nowrap data-sort-type="number">Sig</th> | + | <th nowrap data-sort-type="number" class="toggle-column">Sig</th> |
<th nowrap data-sort-type="number">Speed</th> | <th nowrap data-sort-type="number">Speed</th> | ||
<th nowrap data-sort-type="number">Attack</th> | <th nowrap data-sort-type="number">Attack</th> |
Latest revision as of 18:03, 17 April 2024
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
name | data | more data |
---|---|---|
cats | 273 | 53 |
dogs | 65 | 8,492 |
mice | 1,649 | 548 |
|- | class=icon | | {{{2}}} x start {{{3}}} | class=icon | | class=icon | | class=icon | |-
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 |