Difference between revisions of "Template:NPCTableRow"

From EVE University Wiki
Jump to: navigation, search
m (typo)
(Moved structures and EWAR icons out of {{icon}} into direct image links)
Line 97: Line 97:
 
  | Friendly Titan ={{icon|blue titan|16|supercapital}}
 
  | Friendly Titan ={{icon|blue titan|16|supercapital}}
 
<!-- STRUCTURES -->
 
<!-- STRUCTURES -->
  | Accl Gate = {{icon|br acceleration gate|16|Acceleration Gate}} <!-- Don't use this one-->
+
  | Accl Gate = [[File:Icon bracet accelerationgate.png|16px|Acceleration Gate]]<!-- Don't use this one-->
  | Acceleration Gate = {{icon|br acceleration gate|16|Acceleration Gate}}
+
  | Acceleration Gate = [[File:Icon bracet accelerationgate.png|16px|Acceleration Gate]]
  | Station = {{icon|br station|16|Station}}
+
  | Station = [[File:Icon bracet station.png|16px|Station]]
  | Structure = {{icon|br structure|16|Structure}}
+
  | Structure = [[File:Icon bracet structure.png|16px|Structure]]
 
  | Wormhole = {{icon|br wormhole|16|Wormhole}}
 
  | Wormhole = {{icon|br wormhole|16|Wormhole}}
 
  | Stargate = {{icon|br stargate|16|Stargate}}
 
  | Stargate = {{icon|br stargate|16|Stargate}}
  | Tower = {{icon|br tower|16|Tower}}
+
  | Tower = [[File:Icon bracet tower.png|16px|Tower]]
  | Asteroid = {{icon|br asteroid|16|Asteroid}}
+
  | Asteroid = [[File:Icon bracet asteroid.png|16px|Asteroid]]
  | Asteroid Field = {{icon|br asteroid field|16|Asteroid Field}}
+
  | Asteroid Field = [[File:Icon bracet asteroidfield.png|16px|Asteroid Field]]
  | Container = {{icon|br container|16|Container}}
+
  | Container = [[File:Icon bracet container.png|16px|Container]]
  | Red Container = {{icon|br red container|16|Container}}
+
  | Red Container = [[File:Icon bracet container red.png|16px|Container]]
  | Beacon = {{icon|br beacon|16|Beacon}}
+
  | Beacon = [[File:Icon bracet beacon.png|16px|Beacon]]
 
  | Billboard = {{icon|br billboard|16|Billboard}}
 
  | Billboard = {{icon|br billboard|16|Billboard}}
 
  | Force Field = {{icon|br force field|16|Force Field}}
 
  | Force Field = {{icon|br force field|16|Force Field}}
  | Gas Cloud = {{icon|br gas cloud|16|Gas Cloud}}
+
  | Gas Cloud = [[File:Gas cloud.png|16px|Gas Cloud]]
  | Hackable = {{icon|br hackable|16|Hackable Structure}}
+
  | Hackable = [[File:Icon bracet hackable.png|16px|Structure]]
  | Agent= {{icon|br agent|16|Agent in space}}
+
  | Agent= [[File:Icon bracet agent.png|16px|Agent in space]]
 
}}
 
}}
 
| {{#if: {{{2}}} | {{{2}}} x |}} {{#switch: {{{1}}}
 
| {{#if: {{{2}}} | {{{2}}} x |}} {{#switch: {{{1}}}
Line 136: Line 136:
 
  | Industrial2= {{co|#9ef37c|Industrial }}
 
  | Industrial2= {{co|#9ef37c|Industrial }}
 
  | {{co|#9ef37c|{{{1}}} }}
 
  | {{co|#9ef37c|{{{1}}} }}
}} {{{3}}} {{#if:{{{note|}}}| {{icon|small info|16| {{{note}}} }}|}} {{#if:{{{trigger|}}}|{{icon|x|14|{{{trigger}}}}}|}}
+
}} {{{3}}} {{#if:{{{note|}}}| [[File:Small Info.png|15px|{{{note}}}]]|}} {{#if:{{{trigger|}}}|[[File:Icon large red x.png|14px|{{{trigger}}}]]|}}
 
| class=icon | {{#switch: {{{point}}}
 
| class=icon | {{#switch: {{{point}}}
     |yes={{icon|point|24|Warp Disruptor}}
+
     |yes=[[File:Icon warp disruptor i.png|24px|Warp Disruptor]]
     |point={{icon|point|24|Warp Disruptor}}
+
     |point=[[File:Icon warp disruptor i.png|24px|Warp Disruptor]]
     |scram={{icon|warp scrambler|24|Warp Scrambler}} }}
+
     |scram=[[File:Icon warp scrambler i.png|24px|Warp Scrambler]] }}
 
| class=icon | {{#ifeq: {{{ewar|}}} | | | {{#switch: {{{ewar}}}  
 
| class=icon | {{#ifeq: {{{ewar|}}} | | | {{#switch: {{{ewar}}}  
                                             | ECM ={{icon|ecm|24|Target Jammer}}
+
                                             | ECM =[[File:Icon target max.png|24px|Target Jammer]]
                                             | TD ={{icon|td|24|Tracking Disruptor}}
+
                                             | TD =[[File:Icon track disruptor 64.png|24px|Tracking Disruptor]]
                                             | Web ={{icon|web|24|Stasis Webifier}}
+
                                             | Web =[[File:Icon stasis webifier i.png|24px|Stasis Webifier]]
                                             | Damp ={{icon|damp|24|Remote Sensor Dampener}}
+
                                             | Damp =[[File:Icon remote sensor dampening.png|24px|Remote Sensor Dampener]]
                                             | TP ={{icon|tp|24|Target Painter}}
+
                                             | TP =[[File:Icon target painter i.png|24px|Target Painter]]
                                             | Neut ={{icon|neut|24|Energy Neutralizer}}
+
                                             | Neut =[[File:Icon energy neutralizer i.png|24px|Energy Neutralizer]]
 
                                             | {{{ewar}}} }} }} {{#ifeq: {{{ewar2|}}} | | | {{#switch: {{{ewar2}}}  
 
                                             | {{{ewar}}} }} }} {{#ifeq: {{{ewar2|}}} | | | {{#switch: {{{ewar2}}}  
                                             | ECM ={{icon|ecm|24|Target Jammer}}
+
                                             | ECM =[[File:Icon target max.png|24px|Target Jammer]]
                                             | TD ={{icon|td|24|Tracking Disruptor}}
+
                                             | TD =[[File:Icon track disruptor 64.png|24px|Tracking Disruptor]]
                                             | Web ={{icon|web|24|Stasis Webifier}}
+
                                             | Web =[[File:Icon stasis webifier i.png|24px|Stasis Webifier]]
                                             | Damp ={{icon|damp|24|Remote Sensor Dampener}}
+
                                             | Damp =[[File:Icon remote sensor dampening.png|24px|Remote Sensor Dampener]]
                                             | TP ={{icon|tp|24|Target Painter}}
+
                                             | TP =[[File:Icon target painter i.png|24px|Target Painter]]
                                             | Neut ={{icon|neut|24|Energy Neutralizer}}
+
                                             | Neut =[[File:Icon energy neutralizer i.png|24px|Energy Neutralizer]]
 
                                             | {{{ewar2}}} }} }} {{#ifeq: {{{ewar3|}}} | | | {{#switch: {{{ewar3}}}
 
                                             | {{{ewar2}}} }} }} {{#ifeq: {{{ewar3|}}} | | | {{#switch: {{{ewar3}}}
                                             | ECM ={{icon|ecm|24|Target Jammer}}
+
                                             | ECM =[[File:Icon target max.png|24px|Target Jammer]]
                                             | TD ={{icon|td|24|Tracking Disruptor}}
+
                                             | TD =[[File:Icon track disruptor 64.png|24px|Tracking Disruptor]]
                                             | Web ={{icon|web|24|Stasis Webifier}}
+
                                             | Web =[[File:Icon stasis webifier i.png|24px|Stasis Webifier]]
                                             | Damp ={{icon|damp|24|Remote Sensor Dampener}}
+
                                             | Damp =[[File:Icon remote sensor dampening.png|24px|Remote Sensor Dampener]]
                                             | TP ={{icon|tp|24|Target Painter}}
+
                                             | TP =[[File:Icon target painter i.png|24px|Target Painter]]
                                             | Neut ={{icon|neut|24|Energy Neutralizer}}
+
                                             | Neut =[[File:Icon energy neutralizer i.png|24px|Energy Neutralizer]]
 
                                             | {{{ewar3}}} }} }}
 
                                             | {{{ewar3}}} }} }}
| class=icon | {{#if: {{{cargo|}}} | {{icon|shiny cargo|24| {{{cargo}}} }} }}{{#if: {{{drop|}}} | {{icon|small container|24| {{{drop}}} }} |}}
+
| class=icon | {{#if: {{{cargo|}}} | [[File:Icon container small green.png|24px|{{{cargo}}}]] }}{{#if: {{{drop|}}} | [[File:Icon container small.png|24px|{{{drop}}}]] |}}
 
|-
 
|-
 
</includeonly>
 
</includeonly>

Revision as of 16:00, 4 July 2019


Template documentation (for the above template, sometimes hidden or invisible)
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.
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= yes or point= point. If an NPC uses a Warp Scrambler (shuts off MWD and stops MJD) you can specify point= scram.
ewar
ewar2
ewar3 
Type of electronic warfare used by an NPC. Displayed as an icon
EWAR codes
Type Code Icon
ECM/Jamming ECM Jamming
Tracking disruption TD Tracking disruption
Guidance disruption GD Guidance disruption
Sensor dampening Damp Sensor dampening
Target painting TP Target painting
Stasis webifier Web Stasis webifier
Energy neutralization ("neut") Neut Neuting
drop 
If an NPC leaves behind notable loot (e.g. T1 ammo, a trade good), note it here. A dull icon Icon container small.png 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 Icon container small green.png 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...
Initial defenders
WD EWAR L


Industrial 1 x Friendly Barge Digger lots of stuff
Cruiser 1 x Cruiser Warship Important info Mission complete Warp Disruptor Stasis Webifier Tracking Disruptor Expensive stuff


See also
Visit Template:NPCTableRow/doc to edit this text! (How does this work?) (Refresh this text - why?)