Difference between revisions of "User:Evon R'al/Sandbox template/doc"

From EVE University Wiki
Jump to: navigation, search
m (Coding and testing.)
(Changed "ship class" to "ship type" to make language more uniform; checked grammar; change "the NPC" to "an NPC"; added a few explanations)
Line 1: Line 1:
 
; Description
 
; Description
: This template is used to create a content row in an NPCTable.
+
: This template is used to create a content row in NPCTable.
  
 
; Dependencies:
 
; Dependencies:
 
:; Requires
 
:; Requires
:: {{T|NPCTableCSS}} once on the page one or more NPCTables are used on.
+
:: {{T|NPCTableCSS}} is required only once per page where there's at least one NPCTable.
 
:: {{T|NPCTableHead}}
 
:: {{T|NPCTableHead}}
  
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, count and name are anonymous (positional) parameters and must be ordered as written.
::; 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 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.
 
{| class= "wikitable collapsible collapsed" style="text-align: center;"
 
{| class= "wikitable collapsible collapsed" style="text-align: center;"
 
|+ Ships
 
|+ Ships
Line 109: Line 109:
 
|}
 
|}
  
:; 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 NPCs of that type. This is often a range, so feel free to use number ranges (e.g. <code>10-12</code>).
:; 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>).
+
:; name : The NPC's name. Consolidate ships of the same type 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 [[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>.
+
:; point : If an NPC has a [[Warp Disruptor]], set to <code>point= yes</code> or <code>point= point</code>. If an 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 an NPC. Displayed as an icon
 
{| class="wikitable"
 
{| class="wikitable"
 
|+ EWAR codes
 
|+ EWAR codes
Line 134: Line 134:
 
| Energy neutralization ("neut") || Neut ||[[image:icon_energy_neutralizer_i.png|24px|link=|Neuting]]
 
| Energy neutralization ("neut") || Neut ||[[image:icon_energy_neutralizer_i.png|24px|link=|Neuting]]
 
|}
 
|}
:; drop
+
:; drop : If an NPC leaves behind notable loot (e.g. T1 ammo, a trade good), note it here. A dull icon [[File:Icon container small.png|24px]] will be created.
:; 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 an NPC leaves behind valuable loot (e.g. faction modules, tech 2 salvage), note it here. A shiny icon [[File:Icon container small green.png|24px]] will be created.
:; 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 an NPC causes an action (acceleration gates get unlocked, a new wave of enemies spawn, etc), 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...).
+
:; note : Use to describe important information about an NPC (for instance, an NPC deals extremely high damage, is able to self-repair themselves quickly, ...).
  
  

Revision as of 15:01, 1 June 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.
{{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 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/...).
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 (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= bla, bla, bla|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 bla, bla, bla Mission complete Warp Disruptor Stasis Webifier Tracking Disruptor Expensive stuff


See also