More actions
Undo revision 94950 by Lenai chelien (talk) |
Adding {{NPCTableSeparator}} to templates group |
||
| 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|Complex}} to acquire proper CSS. | |||
* Uses {{t|NPCTableRow}} to generate rows. | * Uses {{t|NPCTableRow}} to generate rows. | ||
* Uses {{t| | * Uses {{t|NPCTableSeparator}} for separating parts of table with title. | ||
* Uses {{t|NPCTableFoot}} to finish table. | |||
== Syntax == | == Syntax == | ||
<code>{{t|Complex|Name of the complex}}<br> | <code>{{t|Complex|Name of the complex}}<br> | ||
{{t|NPCTableHead|Table header}}<br> | {{t|NPCTableHead|Table header}}<br> | ||
{{t|NPCTableRow|Parameters - see NPCTableRow documentation}}<br> | |||
{{t|NPCTableSeparator|Parameters - see NPCTableSeparator documentation}}<br> | |||
{{t|NPCTableRow|Parameters - see NPCTableRow documentation}}<br> | {{t|NPCTableRow|Parameters - see NPCTableRow documentation}}<br> | ||
{{t|NPCTableFoot}}</code> | {{t|NPCTableFoot}}</code> | ||
| Line 16: | Line 20: | ||
<code><nowiki>{{Complex|Serpentis Lookout}}</nowiki><br> | <code><nowiki>{{Complex|Serpentis Lookout}}</nowiki><br> | ||
<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>{{NPCTableSeparator|After 25% on target structure}}</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... | ||
{{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}} | {{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}} | |||
{{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}} | |||
{{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 00:08, 11 June 2016
This template is used to create NPC table header for the pages describing combat complexes.
Dependencies
- Uses {{Complex}} to acquire proper CSS.
- Uses {{NPCTableRow}} to generate rows.
- Uses {{NPCTableSeparator}} for separating parts of table with title.
- Uses {{NPCTableFoot}} to finish table.
Syntax
{{Complex|<Name of the complex>}}
{{NPCTableHead|<Table header>}}
{{NPCTableRow|<Parameters - see NPCTableRow documentation>}}
{{NPCTableSeparator|<Parameters - see NPCTableSeparator documentation>}}
{{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}}
{{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}}
{{NPCTableFoot}}
- gives...
| Site name ? |
|---|
| WD | EWAR | L
| ||
|---|---|---|---|---|
| |
100 x Frigate Coreli Agent | |
|
|
| After 25% on target structure | ||||
| |
100 x Frigate Coreli Agent | |
|
|