Difference between revisions of "Template:NPCTableHead/doc"
(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| | + | * 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...
Serpentis Lookout | |
Type | Unrated Complex |
Rating | Unrated |
Found in | High |
Max ship size | Battlecruiser |
Pirate faction | Serpentis |
Damage to deal | Kin Th |
Damage to Resist |
55% Kin 45% Th |
Sig. Strength | 10% in High Sec |
WD | EWAR | L
| ||
---|---|---|---|---|
100 x Frigate Coreli Agent | ||||
After 25% on target structure | ||||
100 x Frigate Coreli Agent |
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 "}}
"