More actions
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> | ||