More actions
Removed {{Complex}} dependency as CSS was moved in-place |
Undo revision 94950 by Lenai chelien (talk) |
||
| Line 2: | Line 2: | ||
== Dependencies == | == Dependencies == | ||
* Uses {{t|NPCTableRow}} to generate rows. | * Uses {{t|NPCTableRow}} to generate rows. | ||
* Uses {{t| | * Uses {{t|Complex}} to acquire proper CSS. | ||
== Syntax == | == Syntax == | ||
<code>{{t|NPCTableHead|Table header}}<br> | <code>{{t|Complex|Name of the complex}}<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 13: | Line 14: | ||
== Sample output == | == Sample output == | ||
<code><nowiki>{{NPCTableHead|Wave #34}}</nowiki><br> | <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=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}} | {{Complex|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}} | ||
{{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 21:23, 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 {{Complex}} to acquire proper CSS.
Syntax
{{Complex|<Name of the complex>}}
{{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
{{Complex|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}}
{{NPCTableFoot}}
- gives...
| Site name ? |
|---|
Wave #34
Template:NPCTableFoot| WD | EWAR | L | ||
|---|---|---|---|---|
| |
100 x Frigate Coreli Agent | |
|
|