Difference between revisions of "Template:NPCTableRow/doc"

From EVE University Wiki
Jump to: navigation, search
(Undo revision 94951 by Lenai chelien (talk))
(Adding {{NPCTableSeparator}} to templates group)
Line 1: Line 1:
This template is used to create NPC table rows for the pages describing combat sites.  
+
This template is used to create NPC table rows for the pages describing combat sites.
 
== Dependencies ==
 
== Dependencies ==
 
* Uses {{t|Complex}} to acquire proper CSS.
 
* Uses {{t|Complex}} to acquire proper CSS.
* Needs {{t|NPCTableHead}} and {{t|NPCTableFoot}} to generate the table header and footer.
+
* Uses {{t|NPCTableHead}} to generate table header.
 +
* Uses {{t|NPCTableSeparator}} for separating parts of table with title.
 +
* Uses {{t|NPCTableFoot}} to finish table.
 
== Syntax ==
 
== Syntax ==
 
<code>{{t|Complex|Name of the complex}}<br>
 
<code>{{t|Complex|Name of the complex}}<br>
{{t|NPCTableHead}}<br>
+
{{t|NPCTableHead|Table title}}<br>
{{t|NPCTableRow|Ship size|Ship count|Ship names|4=point=yes|5=ewar=EWar|6=cargo=Loot|7=trigger=Trigger}}<br>
+
{{t|NPCTableRow|Ship size|Ship count|Ship names|4=point=yes|5=ewar=EWar|6=cargo=Loot|7=trigger=Trigger|8=note=Notes}}<br>
 +
{{t|NPCTableSeparator|Separator text}}<br>
 +
{{t|NPCTableRow|Ship size|Ship count|Ship names|4=point=yes|5=ewar=EWar|6=cargo=Loot|7=trigger=Trigger|8=note=Notes}}<br>
 
{{t|NPCTableFoot}}</code>
 
{{t|NPCTableFoot}}</code>
 
=== Parameters ===
 
=== Parameters ===
Line 70: Line 74:
 
<nowiki>{{NPCTableRow|Frigate|10|Coreli Agent/Pursuer/Mangler/...|point=yes|ewar=Damp|ewar2=Web|note=These ships have high damage but short range.}}</nowiki><br>
 
<nowiki>{{NPCTableRow|Frigate|10|Coreli Agent/Pursuer/Mangler/...|point=yes|ewar=Damp|ewar2=Web|note=These ships have high damage but short range.}}</nowiki><br>
 
<nowiki>{{NPCTableRow|Elite Frigate|3-5|Coreli Agent|cargo=Drops Gist A- or B- type modules|trigger=Destroying this will unlock the acceleration gate}}}}</nowiki><br>
 
<nowiki>{{NPCTableRow|Elite Frigate|3-5|Coreli Agent|cargo=Drops Gist A- or B- type modules|trigger=Destroying this will unlock the acceleration gate}}}}</nowiki><br>
 +
<nowiki>{{NPCTableSeparator|After 25% on target structure}}</nowiki><br>
 +
<nowiki>{{NPCTableRow|Frigate|100|Coreli Agent|point=yes|ewar={{icon|damp|24}}{{icon|web|24}}|cargo=Drops Gist X-Type 100MN Microwarpdrive}}</nowiki><br>
 
<nowiki>{{NPCTableFoot}}</nowiki></code>
 
<nowiki>{{NPCTableFoot}}</nowiki></code>
 
:gives...
 
:gives...
Line 76: Line 82:
 
{{NPCTableRow|Frigate|10|Coreli Agent/Pursuer/Mangler/...|point=yes|ewar=Damp|ewar2=Web|note=These ships have high damage but short range.}}
 
{{NPCTableRow|Frigate|10|Coreli Agent/Pursuer/Mangler/...|point=yes|ewar=Damp|ewar2=Web|note=These ships have high damage but short range.}}
 
{{NPCTableRow|Elite Frigate|3-5|Coreli Agent|cargo=Drops Gist A- or B- type modules|trigger=Destroying this will unlock the acceleration gate}}
 
{{NPCTableRow|Elite Frigate|3-5|Coreli Agent|cargo=Drops Gist A- or B- type modules|trigger=Destroying this will unlock the acceleration gate}}
 +
{{NPCTableSeparator|After 25% on target structure}}
 +
{{NPCTableRow|Frigate|100|Coreli Agent|point=yes|ewar={{icon|damp|24}}{{icon|web|24}}|cargo=Drops Gist X-Type 100MN Microwarpdrive}}
 
{{NPCTableFoot}}
 
{{NPCTableFoot}}
 
<includeonly>[[Category:Template|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
 
<includeonly>[[Category:Template|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 00:16, 11 June 2016

This template is used to create NPC table rows for the pages describing combat sites.

Dependencies

Syntax

{{Complex|<Name of the complex>}}
{{NPCTableHead|<Table title>}}
{{NPCTableRow|<Ship size>|<Ship count>|<point=yes>|<ewar=EWar>|<cargo=Loot>|<trigger=Trigger>|<note=Notes>}}
{{NPCTableSeparator|<Separator text>}}
{{NPCTableRow|<Ship size>|<Ship count>|<point=yes>|<ewar=EWar>|<cargo=Loot>|<trigger=Trigger>|<note=Notes>}}
{{NPCTableFoot}}

Parameters

Ship size
This sets the type and size of the NPC ship. Please use one of the following values:
  • Drone
  • Frigate
  • Commander Frigate
  • Elite Frigate
  • Overseer Frigate
  • Destroyer
  • Commander Destroyer
  • Cruiser
  • Elite Cruiser
  • Commander Cruiser
  • Storyline Mission Cruiser
  • Overseer Cruiser
  • Battlecruiser
  • Overseer Battlecruiser
  • Commander Battlecruiser
  • Battleship
  • Commander Battleship
  • Overseer Battleship
  • Capital
  • Industrial
  • Sentry
Ship count
The number of that class of NPC ship. Often this is variable, so feel free to use number ranges (e.g. 10-12) if necessary.
Ship names
The name(s) of the NPCs. It's recommended to consolidate ships of the same class into a single line (e.g. Coreli Patroller/Watchman). If there are a large number of different ship types, list the most common three or four types (e.g. Corelum Chief Defender/Guard/Protector/...).
point
If the NPC has a warp disruptor or warp scrambler, set the point=yes parameter (otherwise omit it).
ewar
If the NPC uses electronic warfare, describe it here. Use the {{icon}} template; use the mouseover text to describe the EWAR type, and (if available) additional details (e.g. maximum range of the EWAR). If NPCs use multiple types of EWAR, add them all. Some examples:
  • ECM: {{icon|ecm|24|Jamming}} Jamming
  • Tracking disruption: {{icon|td|24|Tracking disruption}} Tracking disruption
  • Sensor dampening: {{icon|damp|24|Sensor dampening (to 60 km)}} Sensor dampening (to 60 km)
  • Target painting: {{icon|tp|24|Target painting}} Target painting
  • Stasis webifier: {{icon|web|24|Stasis webifier}} Stasis webifier
  • Energy neutralization ("neut"): {{icon|neut|24|Neuting}} Neuting

If no additional information about ewar is needed more simple ewar = is enough. If a ship uses multiple ewar types you can specify second ewar type with ewar2 =

Examples:

  • ECM: ewar = ECM Jamming
  • Tracking disruption: ewar = TD Tracking disruption
  • Sensor dampening: ewar = Damp Sensor dampening
  • Target painting: ewar = TP Target painting
  • Stasis webifier: ewar = Web Stasis webifier
  • Energy neutralization ("neut"): ewar = Neut Neuting
cargo
If the NPC drops notable loot (e.g. faction modules, tech 2 salvage), note it here.
trigger
If destroying the NPC causes something to happen (unlock acceleration gate, trigger a new wave of enemies, etc), then use this parameter.
note
Use this parameter to add a footnote, which you can use to describe important information about the NPC (for instance, for very high dps NPCs, or high self-repair...).

Sample output

{{Complex|Serpentis Lookout}}
{{NPCTableHead}}
{{NPCTableRow|Frigate|10|Coreli Agent/Pursuer/Mangler/...|point=yes|ewar=Damp|ewar2=Web|note=These ships have high damage but short range.}}
{{NPCTableRow|Elite Frigate|3-5|Coreli Agent|cargo=Drops Gist A- or B- type modules|trigger=Destroying this will unlock the acceleration gate}}}}
{{NPCTableSeparator|After 25% on target structure}}
{{NPCTableRow|Frigate|100|Coreli Agent|point=yes|ewar={{icon|damp|24}}{{icon|web|24}}|cargo=Drops Gist X-Type 100MN Microwarpdrive}}
{{NPCTableFoot}}

gives...
Site Details
Site name ?
Template:NPCTableFoot
WD EWAR L


Frigate 10 x Frigate Coreli Agent/Pursuer/Mangler/... These ships have high damage but short range. Warp Disruptor Remote Sensor Dampener Stasis Webifier
Elite Frigate 3-5 x Elite Frigate Coreli Agent Destroying this will unlock the acceleration gate Drops Gist A- or B- type modules
After 25% on target structure
Frigate 100 x Frigate Coreli Agent Warp Disruptor Icon remote sensor dampening.pngIcon stasis webifier i.png Drops Gist X-Type 100MN Microwarpdrive