Difference between revisions of "Template:NPCTableHead/doc"
From EVE University Wiki
(→Sample output: update template cargo parameter) |
(Removed {{Complex}} dependency as CSS was moved in-place) |
||
Line 2: | Line 2: | ||
== Dependencies == | == Dependencies == | ||
* Uses {{t|NPCTableRow}} to generate rows. | * Uses {{t|NPCTableRow}} to generate rows. | ||
− | * Uses {{t| | + | * Uses {{t|NPCTableFoot}} to close opened table. {{t|NPCTableFoot}} is equal to <code><nowiki>|}</nowiki></code> |
== Syntax == | == Syntax == | ||
− | <code> | + | <code>{{t|NPCTableHead|Table header}}<br> |
− | {{t|NPCTableHead|Table header}}<br> | ||
{{t|NPCTableRow|Parameters - see NPCTableRow documentation}}<br> | {{t|NPCTableRow|Parameters - see NPCTableRow documentation}}<br> | ||
{{t|NPCTableFoot}}</code> | {{t|NPCTableFoot}}</code> | ||
Line 14: | Line 13: | ||
== Sample output == | == Sample output == | ||
− | <code> | + | <code><nowiki>{{NPCTableHead|Wave #34}}</nowiki><br> |
− | <nowiki>{{NPCTableHead|Wave #34}}</nowiki><br> | ||
<nowiki>{{NPCTableRow|Frigate|100|Coreli Agent|point=yes|ewar={{icon|damp|24}}{{icon|web|24}}|cargo=Drops Gist X-Type 100MN Microwarpdrive}}</nowiki><br> | <nowiki>{{NPCTableRow|Frigate|100|Coreli Agent|point=yes|ewar={{icon|damp|24}}{{icon|web|24}}|cargo=Drops Gist X-Type 100MN Microwarpdrive}}</nowiki><br> | ||
<nowiki>{{NPCTableFoot}}</nowiki></code> | <nowiki>{{NPCTableFoot}}</nowiki></code> | ||
:gives... | :gives... | ||
− | + | {{NPCTableHead|Wave #34}} | |
+ | {{NPCTableRow|Frigate|100|Coreli Agent|point=yes|ewar={{icon|damp|24}}{{icon|web|24}}|cargo=Drops Gist X-Type 100MN Microwarpdrive}} | ||
{{NPCTableFoot}} | {{NPCTableFoot}} | ||
<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 20:55, 11 May 2016
This template is used to create NPC table header for the pages describing combat complexes.
Dependencies
- Uses {{NPCTableRow}} to generate rows.
- Uses {{NPCTableFoot}} to close opened table. {{NPCTableFoot}} is equal to
|}
Syntax
{{NPCTableHead|<Table header>}}
{{NPCTableRow|<Parameters - see NPCTableRow documentation>}}
{{NPCTableFoot}}
Parameters
- Name of complex
- This is the title of the NPC group, e.g.
Wave 1
,Initial defenders
,Commander wave
, etc.
Sample output
{{NPCTableHead|Wave #34}}
{{NPCTableRow|Frigate|100|Coreli Agent|point=yes|ewar={{icon|damp|24}}{{icon|web|24}}|cargo=Drops Gist X-Type 100MN Microwarpdrive}}
{{NPCTableFoot}}
- gives...
Wave #34
Template:NPCTableFootWD | EWAR | L
| ||
---|---|---|---|---|
100 x Frigate Coreli Agent |