More actions
m Coding and testing. |
m Coding and testing. |
||
| Line 10: | Line 10: | ||
: {{T|NPCTableRow|type|count|name|point= point|5=ewar= ewar|6=ewar2= ewar|7=ewar3= ewar|8=cargo= cargo|9=drop= drop|10=trigger= trigger|11=note= notes}} | : {{T|NPCTableRow|type|count|name|point= point|5=ewar= ewar|6=ewar2= ewar|7=ewar3= ewar|8=cargo= cargo|9=drop= drop|10=trigger= trigger|11=note= notes}} | ||
:; Parameters | :; Parameters | ||
:: type, count and name are anonymous(positional) parameters and must be used in the order given. | |||
::; type : sets the [[NPC naming conventions|type and size]] of the NPC ship or structure. Is displayed as the ships bracket icon and class. A prefix can be added to control the brackets color. See the tables for valid options. | ::; type : sets the [[NPC naming conventions|type and size]] of the NPC ship or structure. Is displayed as the ships bracket icon and class. A prefix can be added to control the brackets color. See the tables for valid options. | ||
{| class= "wikitable collapsible collapsed" style="text-align: center;" | {| class= "wikitable collapsible collapsed" style="text-align: center;" | ||
| Line 109: | Line 110: | ||
:; count : The number of that class/type of NPC. Often this is variable, so feel free to use number ranges (e.g. <code>10-12</code>) if necessary. | :; count : The number of that class/type of NPC. Often this is variable, so feel free to use number ranges (e.g. <code>10-12</code>) if necessary. | ||
:; name : 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 | :; name : The name(s) of the NPCs. It's recommended to consolidate ships of the same class into a single line (e.g. <code>Coreli Watchman/Patroller</code>). If there are a large number of different ship types, list the most common three or four types followed by an ellipsis (e.g. <code>Corelum Chief Guard/Defender/Protector/...</code>). | ||
:; point : If the NPC has a | :; point : If the NPC has a [[Warp Disruptor]], set to <code>point= yes</code> or <code>point= point</code>. If the NPC uses a [[Warp Scrambler]] (shuts off [[MWD]] and stops [[MJD]]) you can specify <code>point= scram</code>. | ||
:; ewar | :; ewar | ||
:; ewar2 | :; ewar2 | ||
:; ewar3 : Type of [[electronic warfare]] used by the NPC. Displayed as icon | :; ewar3 : Type of [[electronic warfare]] used by the NPC. Displayed as icon | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ EWAR codes | |+ EWAR codes | ||
|- | |- | ||
! Type !! Code !! Icon | ! Type !! Code !! Icon | ||
| Line 136: | Line 137: | ||
:; cargo : If the NPC drops notable loot (e.g. faction modules, tech 2 salvage), note it here. drop gives a non shiny icon [[File:Icon container small.png|24px]] and cargo gives a shiny icon [[File:Icon container small green.png|24px]] | :; cargo : If the NPC drops notable loot (e.g. faction modules, tech 2 salvage), note it here. drop gives a non shiny icon [[File:Icon container small.png|24px]] and cargo gives a shiny icon [[File:Icon container small green.png|24px]] | ||
:; trigger : If destroying the NPC causes something to happen (unlock acceleration gate, trigger a new wave of enemies, etc), then use this parameter. | :; 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 | :; note : Use this parameter to add a note, which you can use to describe important information about the NPC (for instance, for very high dps NPCs, or high self-repair...). | ||
| Line 142: | Line 143: | ||
{{NPCTableCSS}} | {{NPCTableCSS}} | ||
: <code><nowiki>{{NPCTableHead|Initial defenders}}</nowiki></code> | : <code><nowiki>{{NPCTableHead|Initial defenders}}</nowiki></code> | ||
: <code><nowiki>{{NPCTableRow|Barge| |}}</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= bla, bla, bla|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|Barge| |}} | {{NPCTableRow|Friendly Barge|1|Digger|drop= lots of stuff}} | ||
{{NPCTableRow|Cruiser|1|Warship|point= yes|ewar= Web|ewar2= TD|note= bla, bla, bla|trigger= Mission complete|cargo= Expensive stuff}} | |||
|} | |} | ||
| Line 152: | Line 155: | ||
; See also | ; See also | ||
* [[UniWiki:Mission formatting guidelines|Mission formatting guidelines]] | * [[UniWiki:Mission formatting guidelines|Mission formatting guidelines]] | ||
* {{T|NPCTableSeparator}} | |||
<includeonly>[[Category:Formatting templates]]<!-- Any categories for the template itself --></includeonly> | <includeonly>[[Category:Formatting templates]]<!-- Any categories for the template itself --></includeonly> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> | ||
Revision as of 17:17, 27 May 2023
- Description
- This template is used to create a content row in an NPCTable.
- Dependencies
-
- Requires
- {{NPCTableCSS}} once on the page one or more NPCTables are used on.
- {{NPCTableHead}}
- Syntax
- {{NPCTableRow|<type>|<count>|<name>|<ewar= ewar>|<ewar2= ewar>|<ewar3= ewar>|<cargo= cargo>|<drop= drop>|<trigger= trigger>|<note= notes>}}
- Parameters
- type, count and name are anonymous(positional) parameters and must be used in the order given.
- type
- sets the type and size of the NPC ship or structure. Is displayed as the ships bracket icon and class. 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 that class/type of NPC. Often this is variable, so feel free to use number ranges (e.g.
10-12) if necessary. - name
- The name(s) of the NPCs. It's recommended to consolidate ships of the same class 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/...). - point
- If the NPC has a Warp Disruptor, set to
point= yesorpoint= point. If the NPC uses a Warp Scrambler (shuts off MWD and stops MJD) you can specifypoint= scram. - ewar
- ewar2
- ewar3
- Type of electronic warfare used by the NPC. Displayed as 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
- cargo
- If the NPC drops notable loot (e.g. faction modules, tech 2 salvage), note it here. drop gives a non shiny icon
and cargo gives a shiny icon 
- 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 note, which you can use to describe important information about the NPC (for instance, for very high dps NPCs, or high self-repair...).
- Sample
{{NPCTableHead|Initial defenders}}{{NPCTableRow|Friendly Barge|1|Digger|drop= lots of stuff}}{{NPCTableRow|Cruiser|1|Warship|point= yes|eawr= Web|ewar2= TD|note= bla, bla, bla|trigger= Mission complete|cargo= Expensive stuff}}|}- gives...
Initial defenders
| WD | EWAR | L
| ||
|---|---|---|---|---|
| |
1 x Friendly Barge Digger | |
||
| |
1 x Cruiser Warship |
|
|
|
- See also