More actions
Added Guidance Disruptor ewar icon |
Add code to suppress display of the parameter name when no "name" is given. |
||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<tr> | |||
<!-- | <td class=icon> {{#switch: {{{1}}} | ||
<!-- Hostile SHIPS/TURRETS --> | |||
| Drone = [[File:Icon red drone.png|16 px|Drone]] | |||
| Frigate | |||
| Commander Frigate | |||
| Elite Frigate | |||
| Overseer Frigate = [[File:Icon red frigate.png|16 px|{{{1}}}]] | |||
| Mining Frigate = [[File:Icon red mining frigate.png|16 px|Mining Frigate]] | |||
| Destroyer | |||
| Commander Destroyer | |||
| Elite Destroyer = [[File:Icon red destroyer.png|16 px|{{{1}}}]] | |||
| Cruiser | |||
| Commander Cruiser | |||
| Elite Cruiser | |||
| Overseer Cruiser | |||
| Storyline Mission Cruiser =[[File:Icon red cruiser.png|16 px|{{{1}}}]] | |||
| Battlecruiser | |||
| Commander Battlecruiser | |||
| Elite Battlecruiser | |||
| Overseer Battlecruiser = [[File:Icon red battlecruiser.png|16 px|{{{1}}}]] | |||
| Battleship | |||
| Commander Battleship | |||
| Elite Battleship | |||
| Overseer Battleship | |||
| Officer Battleship = [[File:Icon red battleship.png|16 px|{{{1}}}]] | |||
| 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 SHIPS/TURRETS --> | ||
| Neutral Drone = [[File:icon bracket drone.png|16px|Drone]] | |||
| Neutral Frigate = [[File:icon white frigate.png|16px|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 Mining Frigate = [[File:icon_white_mining_frigate.png|16px|mining 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 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 --> | <!-- STRUCTURES --> | ||
| Accl Gate <!-- Don't use this one - deprecated --> | |||
| 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]] | |||
}} | }} | ||
</td> | |||
<td> {{#if: {{{2}}} | {{{2}}} x }} {{#switch: {{{1}}} | |||
<!-- Things that are on this list don't get green text. No green text for structures.--> | <!-- 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|var(--color-content-added)|{{{1}}} }} | |||
}} {{{3}}} {{#if:{{{note|}}}| [[File:Small Info.png|16px|{{{note}}}]]|}} {{#if:{{{trigger|}}}|[[File:Icon large red x.png| | }} {{#if: {{{3|}}} | {{{3}}} }} {{#if:{{{note|}}}| [[File:Small Info.png|16px|{{{note}}}]]|}} {{#if:{{{trigger|}}}|[[File:Icon large red x.png|16px|{{{trigger}}}]]|}} | ||
</td> | |||
|yes | |||
|point=[[File:Icon warp disruptor i.png|24px|Warp Disruptor]] | <td class=icon> {{#switch: {{{point}}} | ||
|scram=[[File:Icon warp scrambler i.png|24px|Warp Scrambler]] }} | | yes | ||
| point = [[File:Icon warp disruptor i.png|24px|Warp Disruptor]] | |||
| scram = [[File:Icon warp scrambler i.png|24px|Warp Scrambler]] | |||
}} | |||
</td> | |||
<td class=icon> {{#if: {{{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}}} | |||
}} | |||
}} {{#if: {{{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}}} | |||
| | }} | ||
}} {{#if: {{{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}}} | |||
}} | |||
}} | |||
</td> | |||
<td class=icon> {{#if: {{{cargo|}}} | [[File:Icon container small green.png|24px|{{{cargo}}}]] }} {{#if: {{{drop|}}} | [[File:Icon container small.png|24px|{{{drop}}}]]}} | |||
</td> | |||
</tr><!-- | |||
-->{{#if: {{{end|}}}{{!}}} }} | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 13:38, 24 June 2025
- Description
- This template is used to create a content row in NPCTable.
- Dependencies
-
- Requires
- {{NPCTableCSS}} is required only once per page where there's at least one NPCTable. It is included into {{CMBSiteInfo}} and {{CMBSite}}(deprecated), so when one of those is used there is no need to add it separately.
- {{NPCTableHead}}
- Syntax
- {{NPCTableRow|<type>|<count>|<name>|<point= point>|<ewar= ewar>|<ewar2= ewar>|<ewar3= ewar>|<drop= drop>|<cargo= cargo>|<trigger= trigger>|<note= notes>}}
- Parameters
- type, count and name are anonymous (positional) parameters and must be ordered as written.
- type
- sets the type and size of an NPC ship or structure. It is displayed as the ships bracket icon and type. A prefix can be added to control the brackets color. See the tables for valid options.
| Code | Icon |
|---|---|
| Acceleration Gate | |
| Agent | |
| Asteroid | |
| Asteroid Field | |
| Beacon | |
| Billboard | |
| Container | |
| Red Container | |
| Force Field | |
| Gas Cloud | |
| Hackable | |
| Hangar Array | |
| Station | |
| Stargate | |
| Structure | |
| Tower | |
| Wormhole |
- count
- The number of NPCs of that type. This is often a range, so feel free to use number ranges (e.g.
10-12). - name
- The NPC's name. Consolidate ships of the same type into a single line (e.g.
Coreli Watchman/Patroller). If there are a large number of different ship types, list the most common three or four types followed by an ellipsis (e.g.Corelum Chief Guard/Defender/Protector/...). It is however perfectly fine to use a separate row to make it clear which ship type is using EWAR or triggers an action. - point
- If an NPC has a Warp Disruptor, set to
point= yesorpoint= point. If an NPC uses a Warp Scrambler (shuts off MWD and stops MJD) you can specifypoint= scram. - ewar
- ewar2
- ewar3
- Type of electronic warfare used by an NPC. Displayed as an icon
| Type | Code | Icon |
|---|---|---|
| ECM/Jamming | ECM | |
| Tracking disruption | TD | |
| Guidance disruption | GD | |
| Sensor dampening | Damp | |
| Target painting | TP | |
| Stasis webifier | Web | |
| Energy neutralization ("neut") | Neut |
- drop
- If an NPC leaves behind notable loot (e.g. T1 ammo, a trade good), note it here. A dull icon
will be created. - cargo
- If an NPC leaves behind valuable loot (worth over 1M ISK e.g. faction modules, tech 2 salvage), note it here. A shiny icon
will be created. - trigger
- If destroying an NPC causes an action (acceleration gates get unlocked, a new wave of enemies spawn, etc), use this parameter.
- note
- Use to describe important information about an NPC (for instance, an NPC deals extremely high damage, is able to self-repair themselves quickly, ...).
- Sample
{{NPCTableHead|Initial defenders}}{{NPCTableRow|Friendly Barge|1|Digger|drop= lots of stuff}}{{NPCTableRow|Cruiser|1|Warship|point= yes|eawr= Web|ewar2= TD|note= Important info|trigger= Mission complete|cargo= Expensive stuff}}|}- gives...
| WD | EWAR | L
| ||
|---|---|---|---|---|
| |
1 x Friendly Barge Digger | |
||
| |
1 x Cruiser Warship |
|
|
|
- See also
- Template data
- This is the TemplateData documentation for this template used by VisualEditor and other tools.
This template is used to create a content row in NPCTable. This template is not visual editor friendly so it is best to use it in text editor mode.
Template parameters[Edit template data]
Parameter Description Type Status type 1Sets the type and size of an NPC ship or structure. It is displayed as the ships bracket icon and type. A prefix can be added to control the brackets color. See the tables on the template page for valid options.
- Example
- Frigate
Line required count 2The number of NPCs of that type (e.g. 3). This is often a range, so feel free to use number ranges (e.g. 10-12). If the number is unknow a ? may be used
- Example
- 4
Unknown required name 3The NPC's name. Consolidate ships of the same type into a single line (e.g. Coreli Watchman/Patroller). If there are a large number of different ship types, list the most common three or four types followed by an ellipsis (e.g. Corelum Chief Guard/Defender/Protector/...). It is however perfectly fine to use a separate row to make it clear which ship type is using EWAR or triggers an action.
- Example
- Arch Gistii Hijacker/Outlaw
String required note noteUse to describe important information about an NPC (for instance, an NPC deals extremely high damage, is able to self-repair themselves quickly, ...).
String optional trigger triggerIf destroying an NPC causes an action (acceleration gates get unlocked, a new wave of enemies spawn, etc), use this parameter.
- Example
- Triggers reinforcements
String optional point pointIf an NPC has a Warp Disruptor, set to point= yes or point= point. If an NPC uses a Warp Scrambler (shuts off MWD and stops MJD) you can specify point= scram.
- Suggested values
yespointscram
Line optional ewar ewarType of electronic warfare used by an NPC. Displayed as an icon
- Suggested values
DampECMGDNeutTDTPWeb- Example
- Web
Line optional ewar2 ewar2See ewar
- Suggested values
DampECMGDNeutTDTPWeb
Line optional ewar3 ewar3See ewar
- Suggested values
DampECMGDNeutTDTPWeb
Line optional cargo cargoIf an NPC leaves behind notable loot (e.g. T1 ammo, a trade good)
Unknown optional drop dropIf an NPC leaves behind valuable loot (worth over 1M ISK e.g. faction modules, tech 2 salvage
Unknown optional