Difference between revisions of "Template:NPCTableHead/doc"

From EVE University Wiki
Jump to: navigation, search
(Removed footer template. Added how to use without CMBSite template.)
(Where it gets CSS)
Line 1: Line 1:
 
This template is used to create NPC table header for the pages describing combat complexes.
 
This template is used to create NPC table header for the pages describing combat complexes.
 
== Dependencies ==
 
== Dependencies ==
* Uses {{t|CMBSite}} to acquire proper CSS.
+
* Uses {{t|NPCTableCSS}} to acquire proper CSS. This template is transcluded through {{t|CMBSite}} so that template works for CSS too.
 
* 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.

Revision as of 21:24, 24 July 2017

This template is used to create NPC table header for the pages describing combat complexes.

Dependencies

  • Uses {{NPCTableCSS}} to acquire proper CSS. This template is transcluded through {{CMBSite}} so that template works for CSS too.
  • Uses {{NPCTableRow}} to generate rows.
  • Uses {{NPCTableSeparator}} for separating parts of table with title.

Syntax

{{CMBSite|<Name of the complex>}}
{{NPCTableHead|<Table header>}}
{{NPCTableRow|<Parameters - see NPCTableRow documentation>}}
{{NPCTableSeparator|<Parameters - see NPCTableSeparator documentation>}}
{{NPCTableRow|<Parameters - see NPCTableRow documentation>}}
|}

Parameters

Name of complex
This is the title of the NPC group, e.g. Wave 1, Initial defenders, Commander wave, etc.

Sample output

{{CMBSite|Serpentis Lookout}}
{{NPCTableHead|Wave #34}}
{{NPCTableRow|Frigate|100|Coreli Agent|point=yes|ewar={{icon|damp|24}}{{icon|web|24}}|cargo=Drops Gist X-Type 100MN Microwarpdrive}}
{{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}}
|}

gives...
Site Details
Serpentis Lookout
Type Unrated Complex
Rating Unrated
Found in High
Max ship size Battlecruiser
Pirate faction Serpentis
Damage to deal Kinetic damage Kin
Thermal damage Th
Damage to
Resist
55% Kinetic damage Kin
45% Thermal damage Th
Sig. Strength 10% in High Sec
Wave #34
WD EWAR L


Frigate 100 x Frigate Coreli Agent Warp Disruptor Icon remote sensor dampening.pngIcon stasis webifier i.png Drops Gist X-Type 100MN Microwarpdrive
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

Creating NPC table without {{CMBSite}}

If you wish to create a NPC table without using the {{Complex}} template you need to include the required CSS code at the beginning of the page. The CSS can be found in the beginning of {{Complex}} starting from "{{#css:" and ending at "}}"