More actions
Added "Elite Battlecruiser" to icon options. |
Added structures to options, as well as "destructible" note (taken from Template:StructureTableRow) |
||
| Line 2: | Line 2: | ||
|- | |- | ||
| class=icon | {{#switch: {{{1}}} | | class=icon | {{#switch: {{{1}}} | ||
<!-- HOSTILE SHIPS/TURRETS --> | |||
| Drone ={{icon|drone|16|Drone}} | | Drone ={{icon|drone|16|Drone}} | ||
| Frigate ={{icon|frigate|16|Frigate}} | | Frigate ={{icon|frigate|16|Frigate}} | ||
| Line 29: | Line 30: | ||
| Fighter ={{icon|fighter target|16|Fighter}} | | Fighter ={{icon|fighter target|16|Fighter}} | ||
| Supercapital ={{icon|supercapital|16|supercapital}} | | Supercapital ={{icon|supercapital|16|supercapital}} | ||
<!-- STRUCTURES --> | |||
| Accl Gate = {{icon|br acceleration gate|16|Acceleration Gate}} | |||
| Station = {{icon|br station|16|Station}} | |||
| Structure = {{icon|br structure|16|Structure}} | |||
| Wormhole = {{icon|br wormhole|16|Wormhole}} | |||
| Stargate = {{icon|br stargate|16|Stargate}} | |||
| Tower = {{icon|br tower|16|Tower}} | |||
| Asteroid = {{icon|br asteroid|16|Asteroid}} | |||
| Asteroid Field = {{icon|br asteroid field|16|Asteroid Field}} | |||
| Container = {{icon|br container|16|Container}} | |||
| Red Container = {{icon|br red container|16|Container}} | |||
| Beacon = {{icon|br beacon|16|Beacon}} | |||
| Billboard = {{icon|br billboard|16|Billboard}} | |||
| Force Field = {{icon|br force field|16|Force Field}} | |||
| Gas Cloud = {{icon|br gas cloud|16|Gas Cloud}} | |||
| Hackable = {{icon|br hackable|16|Hackable Structure}} | |||
}} | }} | ||
| {{{2}}} x {{co|#9ef37c|{{{1}}} }} {{{3}}}{{#if:{{{note|}}}| {{icon|tag agent|9|{{{note}}} }}|}} {{#if:{{{trigger|}}}|{{icon|x|14|{{{trigger}}}}}|}} | | {{{2}}} x {{co|#9ef37c|{{{1}}} }} {{{3}}}{{#if:{{{note|}}}| {{icon|tag agent|9|{{{note}}} }}|}} {{#if:{{{trigger|}}}|{{icon|x|14|{{{trigger}}}}}|}} {{#if: {{{destructible|}}} | {{icon|ex damage|18|Destructible}}|}} | ||
| class=icon | {{#ifeq: {{{point}}} | yes | {{icon|point|24|Warp Disruptor}} }} | | class=icon | {{#ifeq: {{{point}}} | yes | {{icon|point|24|Warp Disruptor}} }} | ||
| class=icon | {{#ifeq: {{{ewar|}}} | | | {{#switch: {{{ewar}}} | | class=icon | {{#ifeq: {{{ewar|}}} | | | {{#switch: {{{ewar}}} | ||
Revision as of 19:18, 30 January 2018
- 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