|
|
| Line 1: |
Line 1: |
| This template is used to create separator line in NPC table for the pages describing combat complexes.
| | #REDIRECT [[Template:NPCTableHead/doc]] |
| == Dependencies ==
| |
| * Uses {{t|Complex}} to acquire proper CSS.
| |
| * Uses {{t|NPCTableHead}} to generate table header.
| |
| * Uses {{t|NPCTableRow}} to generate rows.
| |
| == Syntax ==
| |
| <code>{{t|Complex|Name of the complex}}<br>
| |
| {{t|NPCTableHead|Table header}}<br>
| |
| {{t|NPCTableRow|Parameters - see NPCTableRow documentation}}<br>
| |
| {{t|NPCTableSeparator|Separator title}}<br>
| |
| {{t|NPCTableRow|Parameters - see NPCTableRow documentation}}<br>
| |
| |}</code>
| |
| | |
| === Parameters ===
| |
| ;Text for separator
| |
| :This is the title which describes next NPC group when you don't want to create additional table e.g. <code>After 50% armor</code>, <code>On Commander aggression</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=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>|}</nowiki></code>
| |
| :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}}
| |
| {{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}}
| |
| |}
| |
| | |
| <includeonly>[[Category:Template|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
| |
| <noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
| |