Difference between revisions of "Template:NPCTableRow/doc"
From EVE University Wiki
m (Analyzed end= parameter, clarified what is valuable loot) |
m (Fix duplicate arguments in template call.) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
; Syntax | ; Syntax | ||
− | : {{T|NPCTableRow|type|count|name|point= point| | + | : {{T|NPCTableRow|type|count|name|5=point= point|6=ewar= ewar|7=ewar2= ewar|8=ewar3= ewar|9=drop= drop|10=cargo= cargo|11=trigger= trigger|12=note= notes|end= end}} |
:; Parameters | :; Parameters | ||
:: type, count and name are anonymous (positional) parameters and must be ordered as written. | :: type, count and name are anonymous (positional) parameters and must be ordered as written. | ||
Line 54: | Line 54: | ||
|- | |- | ||
| style="text-align: left;" | Commander Battlecruiser || [[image:icon_red_battlecruiser.png|16px|link=|Commander Battlecruiser]] || [[image:icon_white_battlecruiser.png|16px|link=|Commander Battlecruiser]] || [[image:icon_blue_battlecruiser.png|16px|link=|Commander Battlecruiser]] | | style="text-align: left;" | Commander Battlecruiser || [[image:icon_red_battlecruiser.png|16px|link=|Commander Battlecruiser]] || [[image:icon_white_battlecruiser.png|16px|link=|Commander Battlecruiser]] || [[image:icon_blue_battlecruiser.png|16px|link=|Commander Battlecruiser]] | ||
+ | |- | ||
+ | | style="text-align: left;" | Battleship || [[image:icon_red_battleship.png|16px|link=|Overseer Battleship]] || [[image:icon_white_battleship.png|16px|link=|Overseer Battleship]] || [[image:icon_blue_battleship.png|16px|link=|Overseer Battleship]] | ||
+ | |- | ||
+ | | style="text-align: left;" | Elite Battleship || [[image:icon_red_battleship.png|16px|link=|Overseer Battleship]] || [[image:icon_white_battleship.png|16px|link=|Overseer Battleship]] || [[image:icon_blue_battleship.png|16px|link=|Overseer Battleship]] | ||
|- | |- | ||
| style="text-align: left;" | Overseer Battleship || [[image:icon_red_battleship.png|16px|link=|Overseer Battleship]] || [[image:icon_white_battleship.png|16px|link=|Overseer Battleship]] || [[image:icon_blue_battleship.png|16px|link=|Overseer Battleship]] | | style="text-align: left;" | Overseer Battleship || [[image:icon_red_battleship.png|16px|link=|Overseer Battleship]] || [[image:icon_white_battleship.png|16px|link=|Overseer Battleship]] || [[image:icon_blue_battleship.png|16px|link=|Overseer Battleship]] | ||
Line 136: | Line 140: | ||
:; trigger : If destroying an NPC causes an action (acceleration gates get unlocked, a new wave of enemies spawn, etc), use this parameter. | :; 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, ...). | :; note : Use to describe important information about an NPC (for instance, an NPC deals extremely high damage, is able to self-repair themselves quickly, ...). | ||
− | :; end : Use to include the table closing tags after this row. Any parameter value will add the table closing tag. Only use it on the last row of a table. | + | <!--:; end : Use to include the table closing tags after this row. Any parameter value will add the table closing tag. Only use it on the last row of a table.--> |
; Sample | ; Sample | ||
Line 142: | Line 146: | ||
: <code><nowiki>{{NPCTableHead|Initial defenders}}</nowiki></code> | : <code><nowiki>{{NPCTableHead|Initial defenders}}</nowiki></code> | ||
: <code><nowiki>{{NPCTableRow|Friendly Barge|1|Digger|drop= lots of stuff}}</nowiki></code> | : <code><nowiki>{{NPCTableRow|Friendly Barge|1|Digger|drop= lots of stuff}}</nowiki></code> | ||
− | : <code><nowiki>{{NPCTableRow|Cruiser|1|Warship|point= yes|eawr= Web|ewar2= TD|note=Important info|trigger= Mission complete|cargo= Expensive stuff}}</nowiki></code> | + | : <code><nowiki>{{NPCTableRow|Cruiser|1|Warship|point= yes|eawr= Web|ewar2= TD|note= Important info|trigger= Mission complete|cargo= Expensive stuff}}</nowiki></code> |
: <code><nowiki>|}</nowiki></code> | : <code><nowiki>|}</nowiki></code> | ||
:: gives... | :: gives... | ||
{{NPCTableHead|Initial defenders}} | {{NPCTableHead|Initial defenders}} | ||
{{NPCTableRow|Friendly Barge|1|Digger|drop= lots of stuff}} | {{NPCTableRow|Friendly Barge|1|Digger|drop= lots of stuff}} | ||
− | {{NPCTableRow|Cruiser|1|Warship|point= yes|ewar= Web|ewar2= TD|note=Important info|trigger= Mission complete|cargo= Expensive stuff}} | + | {{NPCTableRow|Cruiser|1|Warship|point= yes|ewar= Web|ewar2= TD|note= Important info|trigger= Mission complete|cargo= Expensive stuff}} |
|} | |} | ||
Latest revision as of 11:24, 4 November 2023
- 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= yes
orpoint= 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...
Initial defenders
WD | EWAR | L
| ||
---|---|---|---|---|
1 x Friendly Barge Digger | ||||
1 x Cruiser Warship |
- See also