Difference between revisions of "Template:NPCTableHead/doc"
From EVE University Wiki
(Updated documentation) |
(Formatting improvements for documentation) |
||
Line 1: | Line 1: | ||
− | + | This template is used to create NPC table header for the pages describing combat complexes. | |
− | + | == Dependencies == | |
− | + | * Uses {{t|NPCTableRow}} to generate rows. | |
− | + | * Uses {{t|Complex}} to acquire proper CSS. | |
− | + | == Syntax == | |
− | + | <code>{{t|Complex|Name of the complex}}<br> | |
− | + | {{t|NPCTableHead|Table header}}<br> | |
− | + | {{t|NPCTableRow|Parameters - see NPCTableRow documentation}}<br> | |
− | + | |}</code> | |
− | + | ||
− | + | === Parameters === | |
− | + | ;Name of complex | |
− | + | :This is the title of the NPC group, e.g. <code>Wave 1</code>, <code>Initial defenders</code>, <code>Commander wave</code>, etc. | |
− | + | ||
− | + | == Sample output == | |
− | + | <code><nowiki>{{Complex|Serpentis Lookout}}</nowiki><br> | |
+ | <nowiki>{{NPCTableHead|Wave #34}}</nowiki><br> | ||
+ | <nowiki>{{NPCTableRow|Frigate|100|Coreli Agent|point=yes|ewar={{icon|damp|24}}{{icon|web|24}}|cargo={{icon|shiny cargo|24|Drops Gist X-Type 100MN Microwarpdrive}}}}</nowiki><br> | ||
+ | <nowiki>|}</nowiki></code> | ||
+ | :gives... | ||
{{Complex|Serpentis Lookout}}{{NPCTableHead|Wave #34}}{{NPCTableRow|Frigate|100|Coreli Agent|point=yes|ewar={{icon|damp|24}}{{icon|web|24}}|cargo={{icon|shiny cargo|24|Drops Gist X-Type 100MN Microwarpdrive}}}}|} | {{Complex|Serpentis Lookout}}{{NPCTableHead|Wave #34}}{{NPCTableRow|Frigate|100|Coreli Agent|point=yes|ewar={{icon|damp|24}}{{icon|web|24}}|cargo={{icon|shiny cargo|24|Drops Gist X-Type 100MN Microwarpdrive}}}}|} | ||
− | |||
− | |||
<includeonly>[[Category:Template|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly> | <includeonly>[[Category:Template|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly> | ||
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Revision as of 13:28, 19 November 2014
This template is used to create NPC table header for the pages describing combat complexes.
Dependencies
- Uses {{NPCTableRow}} to generate rows.
- Uses {{Complex}} to acquire proper CSS.
Syntax
{{Complex|<Name of the complex>}}
{{NPCTableHead|<Table header>}}
{{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
{{Complex|Serpentis Lookout}}
{{NPCTableHead|Wave #34}}
{{NPCTableRow|Frigate|100|Coreli Agent|point=yes|ewar={{icon|damp|24}}{{icon|web|24}}|cargo={{icon|shiny cargo|24|Drops Gist X-Type 100MN Microwarpdrive}}}}
|}
- gives...
Site name ? |
---|
Wave #34
WD | EWAR | L | ||
---|---|---|---|---|
100 x Frigate Coreli Agent |