Difference between revisions of "Template:NPCTableHead/doc"
(→Sample output: sample to use ewar=Damp instead of usign icon template) |
(Merged NPCTableHead, NPCTableRow and NPCTableSeparator documentations) |
||
Line 1: | Line 1: | ||
− | This template is used to create NPC table | + | This template is used to create NPC table for the pages describing combat complexes. |
== Dependencies == | == Dependencies == | ||
− | * Uses {{t|NPCTableCSS}} to acquire proper CSS. This template is transcluded through {{t|CMBSite}} so that template | + | * Uses {{t|NPCTableCSS}} to acquire proper CSS. This template is transcluded through {{t|CMBSite}} so pages that use that template do not need to include anything else. |
* Uses {{t|NPCTableRow}} to generate rows. | * Uses {{t|NPCTableRow}} to generate rows. | ||
* Uses {{t|NPCTableSeparator}} for separating parts of table with title. | * Uses {{t|NPCTableSeparator}} for separating parts of table with title. | ||
Line 7: | Line 7: | ||
<code>{{t|CMBSite|Name of the complex}} OR {{t|NPCTableCSS}} (either one once)<br> | <code>{{t|CMBSite|Name of the complex}} OR {{t|NPCTableCSS}} (either one once)<br> | ||
{{t|NPCTableHead|Table header}}<br> | {{t|NPCTableHead|Table header}}<br> | ||
− | {{t|NPCTableRow| | + | {{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| | + | {{t|NPCTableSeparator|Separator title}}<br> |
− | {{t|NPCTableRow| | + | {{t|NPCTableRow|Ship size|Ship count|Ship names|4=point=yes/no|5=ewar=Ewar|6=cargo=Loot|7=trigger=Trigger|8=note=Notes}}<br> |
|}</code> | |}</code> | ||
− | === | + | === NPCTableHead parameters=== |
− | ; | + | <code>{{t|NPCTableHead|Table header}}</code> |
+ | ;Table header | ||
:This is the title of the NPC group, e.g. <code>Wave 1</code>, <code>Initial defenders</code>, <code>Commander wave</code>, etc. | :This is the title of the NPC group, e.g. <code>Wave 1</code>, <code>Initial defenders</code>, <code>Commander wave</code>, etc. | ||
+ | |||
+ | === NPCTableRow parameters=== | ||
+ | |||
+ | <code>{{t|NPCTableRow|Ship size|Ship count|Ship names|4=point=yes/no|5=ewar=Ewar|6=cargo=Loot|7=trigger=Trigger|8=note=Notes}}</code> | ||
+ | |||
+ | ;Ship size | ||
+ | :This sets the [[NPC Naming Convention|type and size]] of the NPC ship. Please use one of the following values: | ||
+ | :* Drone | ||
+ | :* Fighter | ||
+ | :* 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 | ||
+ | :* Elite Battleship | ||
+ | :* Commander Battleship | ||
+ | :* Overseer Battleship | ||
+ | :* Capital | ||
+ | :* Industrial | ||
+ | :* Sentry | ||
+ | :* Carrier | ||
+ | :* Supercapital | ||
+ | |||
+ | ;Ship count | ||
+ | :The number of that class of NPC ship. Often this is variable, so feel free to use number ranges (e.g. <code>10-12</code>) 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. <code>Coreli Patroller/Watchman</code>). If there are a large number of different ship types, list the most common three or four types (e.g. <code>Corelum Chief Defender/Guard/Protector/...</code>). | ||
+ | |||
+ | ;point | ||
+ | :If the NPC has a warp disruptor or warp scrambler, set the <code>point=yes</code> parameter (otherwise omit it). | ||
+ | |||
+ | ;ewar | ||
+ | :If the NPC uses [[EWAR Guide|electronic warfare]], describe it here. Use the <code>{{t|icon}}</code> 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: <code><nowiki>{{icon|ecm|24|Jamming}}</nowiki></code> {{icon|ecm|24|Jamming}} | ||
+ | :*Tracking disruption: <code><nowiki>{{icon|td|24|Tracking disruption}}</nowiki></code> {{icon|td|24|Tracking disruption}} | ||
+ | :*Sensor dampening: <code><nowiki>{{icon|damp|24|Sensor dampening (to 60 km)}}</nowiki></code> {{icon|damp|24|Sensor dampening (to 60 km)}} | ||
+ | :*Target painting: <code><nowiki>{{icon|tp|24|Target painting}}</nowiki></code> {{icon|tp|24|Target painting}} | ||
+ | :*Stasis webifier: <code><nowiki>{{icon|web|24|Stasis webifier}}</nowiki></code> {{icon|web|24|Stasis webifier}} | ||
+ | :*Energy neutralization ("neut"): <code><nowiki>{{icon|neut|24|Neuting}}</nowiki></code> {{icon|neut|24|Neuting}} | ||
+ | If no additional information about ewar is needed more simple <code><nowiki>ewar = </nowiki></code> is enough. If a ship uses multiple ewar types you can specify second ewar type with <code><nowiki>ewar2 = </nowiki></code> | ||
+ | |||
+ | Examples: | ||
+ | :*ECM: <code><nowiki>ewar = ECM</nowiki></code> {{icon|ecm|24|Jamming}} | ||
+ | :*Tracking disruption: <code><nowiki>ewar = TD</nowiki></code> {{icon|td|24|Tracking disruption}} | ||
+ | :*Sensor dampening: <code><nowiki>ewar = Damp</nowiki></code> {{icon|damp|24|Sensor dampening}} | ||
+ | :*Target painting: <code><nowiki>ewar = TP</nowiki></code> {{icon|tp|24|Target painting}} | ||
+ | :*Stasis webifier: <code><nowiki>ewar = Web</nowiki></code> {{icon|web|24|Stasis webifier}} | ||
+ | :*Energy neutralization ("neut"): <code><nowiki>ewar = Neut</nowiki></code> {{icon|neut|24|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...). | ||
+ | |||
+ | === NPCTableSeparator parameters === | ||
+ | <code>{{t|NPCTableSeparator|Separator title}}</code> | ||
+ | |||
+ | ;Separator title | ||
+ | :This is the title which describes next NPC group when you don't want to create additional table e.g. <code>After 50% armor</code>, <code>On Commander aggression</code>, <code>Group near gate</code> etc. | ||
== Sample output == | == Sample output == | ||
Line 21: | Line 93: | ||
<nowiki>{{NPCTableRow|Frigate|100|Coreli Agent|point=yes|ewar=Damp|ewar2=Web|cargo=Drops Gist X-Type 100MN Microwarpdrive}}</nowiki><br> | <nowiki>{{NPCTableRow|Frigate|100|Coreli Agent|point=yes|ewar=Damp|ewar2=Web|cargo=Drops Gist X-Type 100MN Microwarpdrive}}</nowiki><br> | ||
<nowiki>{{NPCTableSeparator|After 25% on target structure}}</nowiki><br> | <nowiki>{{NPCTableSeparator|After 25% on target structure}}</nowiki><br> | ||
− | <nowiki>{{NPCTableRow| | + | <nowiki>{{NPCTableRow|Battleship|100|Centum Loyal Fiend|ewar=Neut||Trigger = Escalation trigger}}</nowiki><br> |
<nowiki>|}</nowiki></code> | <nowiki>|}</nowiki></code> | ||
:gives... | :gives... | ||
Line 28: | Line 100: | ||
{{NPCTableRow|Frigate|100|Coreli Agent|point=yes|ewar=Damp|ewar2=Web|cargo=Drops Gist X-Type 100MN Microwarpdrive}} | {{NPCTableRow|Frigate|100|Coreli Agent|point=yes|ewar=Damp|ewar2=Web|cargo=Drops Gist X-Type 100MN Microwarpdrive}} | ||
{{NPCTableSeparator|After 25% on target structure}} | {{NPCTableSeparator|After 25% on target structure}} | ||
− | {{NPCTableRow| | + | {{NPCTableRow|Battleship|100|Centum Loyal Fiend|ewar=Neut|trigger = Escalation trigger}} |
|} | |} | ||
<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 16:35, 26 July 2017
This template is used to create NPC table for the pages describing combat complexes.
Dependencies
- Uses {{NPCTableCSS}} to acquire proper CSS. This template is transcluded through {{CMBSite}} so pages that use that template do not need to include anything else.
- Uses {{NPCTableRow}} to generate rows.
- Uses {{NPCTableSeparator}} for separating parts of table with title.
Syntax
{{CMBSite|<Name of the complex>}} OR {{NPCTableCSS}} (either one once)
{{NPCTableHead|<Table header>}}
{{NPCTableRow|<Ship size>|<Ship count>|<point=yes>|<ewar=Ewar>|<cargo=Loot>|<trigger=Trigger>|<note=Notes>}}
{{NPCTableSeparator|<Separator title>}}
{{NPCTableRow|<Ship size>|<Ship count>|<point=yes/no>|<ewar=Ewar>|<cargo=Loot>|<trigger=Trigger>|<note=Notes>}}
|}
NPCTableHead parameters
{{NPCTableHead|<Table header>}}
- Table header
- This is the title of the NPC group, e.g.
Wave 1
,Initial defenders
,Commander wave
, etc.
NPCTableRow parameters
{{NPCTableRow|<Ship size>|<Ship count>|<point=yes/no>|<ewar=Ewar>|<cargo=Loot>|<trigger=Trigger>|<note=Notes>}}
- Ship size
- This sets the type and size of the NPC ship. Please use one of the following values:
- Drone
- Fighter
- 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
- Elite Battleship
- Commander Battleship
- Overseer Battleship
- Capital
- Industrial
- Sentry
- Carrier
- Supercapital
- 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}}
- Tracking disruption:
{{icon|td|24|Tracking disruption}}
- Sensor dampening:
{{icon|damp|24|Sensor dampening (to 60 km)}}
- Target painting:
{{icon|tp|24|Target painting}}
- Stasis webifier:
{{icon|web|24|Stasis webifier}}
- Energy neutralization ("neut"):
{{icon|neut|24|Neuting}}
- ECM:
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:
- 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...).
NPCTableSeparator parameters
{{NPCTableSeparator|<Separator title>}}
- Separator title
- This is the title which describes next NPC group when you don't want to create additional table e.g.
After 50% armor
,On Commander aggression
,Group near gate
etc.
Sample output
{{NPCTableCSS}}
{{NPCTableHead|Wave #34}}
{{NPCTableRow|Frigate|100|Coreli Agent|point=yes|ewar=Damp|ewar2=Web|cargo=Drops Gist X-Type 100MN Microwarpdrive}}
{{NPCTableSeparator|After 25% on target structure}}
{{NPCTableRow|Battleship|100|Centum Loyal Fiend|ewar=Neut||Trigger = Escalation trigger}}
|}
- gives...
WD | EWAR | L
| ||
---|---|---|---|---|
100 x Frigate Coreli Agent | ||||
After 25% on target structure | ||||
100 x Battleship Centum Loyal Fiend |