Difference between revisions of "Template:NPCTableRow"

From EVE University Wiki
Jump to: navigation, search
(Stops note icon from being flashy)
 
(37 intermediate revisions by 8 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
| class=icon | {{#switch: {{{1}}}
 
| class=icon | {{#switch: {{{1}}}
  | Drone ={{icon|drone|16|Drone}}
+
<!-- HOSTILE SHIPS/TURRETS -->
  | Frigate ={{icon|frigate|16|Frigate}}
+
  | Drone = [[File:Icon red drone.png|16 px|Drone]]
  | Commander Frigate ={{icon|frigate|16|Commander Frigate}}
+
  | Frigate = [[File:Icon red frigate.png|16 px|Frigate]]
  | Elite Frigate ={{icon|frigate|16|Elite Frigate}}
+
| Mining Frigate = [[File:Icon red mining frigate.png|16 px|Mining Frigate]]
  | Overseer Frigate ={{icon|frigate|16|Overseer Frigate}}
+
  | Commander Frigate = [[File:Icon red frigate.png|16 px|Commander Frigate]]
  | Destroyer ={{icon|destroyer|16|Destroyer}}
+
  | Elite Frigate = [[File:Icon red frigate.png|16 px|Elite Frigate]]
  | Commander Destroyer ={{icon|destroyer|16|Commander Destroyer}}
+
  | Overseer Frigate = [[File:Icon red frigate.png|16 px|Overseer Frigate]]
  | Cruiser ={{icon|cruiser|16|Cruiser}}
+
  | Destroyer = [[File:Icon red destroyer.png|16 px|Destroyer]]
  | Elite Cruiser ={{icon|cruiser|16|Elite Cruiser}}
+
| Elite Destroyer = [[File:Icon red destroyer.png|16 px|Elite Destroyer]]
  | Storyline Mission Cruiser ={{icon|cruiser|16|Storyline Mission Cruiser}}
+
  | Commander Destroyer = [[File:Icon red destroyer.png|16 px|Commander Destroyer]]
  | Commander Cruiser ={{icon|cruiser|16|Commander Cruiser}}
+
  | Cruiser = [[File:Icon red cruiser.png|16 px|Cruiser]]
  | Overseer Cruiser ={{icon|cruiser|16|Overseer Cruiser}}
+
| Elite Cruiser = [[File:Icon red cruiser.png|16 px|Elite Cruiser]]
  | Battlecruiser ={{icon|battlecruiser|16|Battlecruiser}}
+
| Storyline Mission Cruiser =[[File:Icon red cruiser.png|16 px|Storyline Mission Cruiser]]
  | Overseer Battlecruiser ={{icon|battlecruiser|16|Overseer Battlecruiser}}
+
| Commander Cruiser = [[File:Icon red cruiser.png|16 px|Commander Cruiser]]
  | Commander Battlecruiser ={{icon|battlecruiser|16|Commander Battlecruiser}}
+
| Overseer Cruiser = [[File:Icon red cruiser.png|16 px|Overseer Cruiser]]
  | Battleship ={{icon|battleship|16|Battleship}}
+
| Battlecruiser = [[File:Icon red battlecruiser.png|16 px|Battlecruiser]]
  | Elite Battleship ={{icon|battleship|16|Elite Battleship}}
+
  | Elite Battlecruiser = [[File:Icon red battlecruiser.png|16 px|Elite Battlecruiser]]
  | Commander Battleship ={{icon|battleship|16|Commander Battleship}}
+
| Overseer Battlecruiser = [[File:Icon red battlecruiser.png|16 px|Overseer Battlecruiser]]
  | Overseer Battleship ={{icon|battleship|16|Overseer Battleship}}
+
| Commander Battlecruiser = [[File:Icon red battlecruiser.png|16 px|Commander Battlecruiser]]
  | Sentry ={{icon|sentry|16|Sentry}}
+
| Battleship = [[File:Icon red battleship.png|16 px|Battleship]]
  | Carrier ={{icon|carrier|16|Carrier}}
+
| Elite Battleship = [[File:Icon red battleship.png|16 px|Elite Battleship]]
  | Capital ={{icon|red capital|16|Capital}}
+
| Commander Battleship = [[File:Icon red battleship.png|16 px|Commander Battleship]]
  | Industrial ={{icon|industrial|16|Industrial}}
+
| Overseer Battleship = [[File:Icon red battleship.png|16 px|Overseer Battleship]]
  | Fighter ={{icon|fighter target|16|Fighter}}
+
| Officer Battleship = [[File:Icon red battleship.png|16 px|Officer Battleship]]
  | Supercapital ={{icon|supercapital|16|supercapital}}
+
| 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]]
 
}}
 
}}
| {{{2}}} x {{co|#9ef37c|{{{1}}} }} {{{3}}}{{#if:{{{note|}}}|{{icon|tag agent|9|{{{note}}} }}</span> |}} {{#if:{{{trigger|}}}|{{icon|x|14|{{{trigger}}}}}|}}
+
| {{#if: {{{2}}} | {{{2}}} x |}} {{#switch: {{{1}}}
| class=icon | {{#ifeq: {{{point}}} | yes | {{icon|point|24|Warp disruptor or scrambler}} }}
+
<!-- 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}}}  
 
| class=icon | {{#ifeq: {{{ewar|}}} | | | {{#switch: {{{ewar}}}  
                                             | ECM ={{icon|ecm|24|Jamming}}
+
                                             | ECM =[[File:Icon target max.png|24px|Target Jammer]]
                                             | TD ={{icon|td|24|Tracking disruption}}
+
                                             | 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|Sensor dampening}}
+
                                             | Damp =[[File:Icon remote sensor dampening.png|24px|Remote Sensor Dampener]]
                                             | TP ={{icon|tp|24|Target painting}}
+
                                             | TP =[[File:Icon target painter i.png|24px|Target Painter]]
                                             | Neut ={{icon|neut|24|Neuting}}
+
                                             | 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}}}  
 
                                             | {{{ewar}}} }} }} {{#ifeq: {{{ewar2|}}} | | | {{#switch: {{{ewar2}}}  
                                             | ECM ={{icon|ecm|24|Jamming}}
+
                                             | ECM =[[File:Icon target max.png|24px|Target Jammer]]
                                             | TD ={{icon|td|24|Tracking disruption}}
+
                                             | 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|Sensor dampening}}
+
                                             | Damp =[[File:Icon remote sensor dampening.png|24px|Remote Sensor Dampener]]
                                             | TP ={{icon|tp|24|Target painting}}
+
                                             | TP =[[File:Icon target painter i.png|24px|Target Painter]]
                                             | Neut ={{icon|neut|24|Neuting}}
+
                                             | Neut =[[File:Icon energy neutralizer i.png|24px|Energy Neutralizer]]
                                             | {{{ewar2}}} }} }} {{#ifeq: {{{ewar3|}}} | | | {{#switch: {{{ewar3}}}  
+
                                            | GD =[[File:Icon missile guidance computer i.png|24px|Guidance Disruptor]]
                                             | ECM ={{icon|ecm|24|Jamming}}
+
                                             | {{{ewar2}}} }} }} {{#ifeq: {{{ewar3|}}} | | | {{#switch: {{{ewar3}}}
                                             | TD ={{icon|td|24|Tracking disruption}}
+
                                             | ECM =[[File:Icon target max.png|24px|Target Jammer]]
                                             | Web ={{icon|web|24|Stasis webifier}}
+
                                             | TD =[[File:Icon track disruptor 64.png|24px|Tracking Disruptor]]
                                             | Damp ={{icon|damp|24|Sensor dampening}}
+
                                             | Web =[[File:Icon stasis webifier i.png|24px|Stasis Webifier]]
                                             | TP ={{icon|tp|24|Target painting}}
+
                                             | Damp =[[File:Icon remote sensor dampening.png|24px|Remote Sensor Dampener]]
                                             | Neut ={{icon|neut|24|Neuting}}
+
                                             | 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}}} }} }}
 
                                             | {{{ewar3}}} }} }}
| class=icon | {{#if: {{{cargo|}}} | {{icon|shiny cargo|24| {{{cargo}}} }} |}}
+
| class=icon | {{#if: {{{cargo|}}} | [[File:Icon container small green.png|24px|{{{cargo}}}]] }}{{#if: {{{drop|}}} | [[File:Icon container small.png|24px|{{{drop}}}]] |}}
|-
+
|-<!--
 +
-->{{#if: {{{end|}}}{{!}}} }}
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
 
{{Documentation}}  
 
{{Documentation}}  
[[Category:Template]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 20:17, 6 June 2023


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


Mining Barge 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?)