Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

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

From EVE University Wiki
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/Watchman</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 Defender/Guard/Protector/...</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>).
:; point : If the NPC has a warp disruptor or warp scrambler, set the <code>point= yes</code> parameter (otherwise omit it). If the NPC uses warp scrambler (shuts off MWD and stops MJD) you can specify <code>point= scram</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>.
:; 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 footnote, which you can use to describe important information about the NPC (for instance, for very high dps NPCs, or high self-repair...).
:; 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>