Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:NPCTableHead/doc: Difference between revisions

Template page
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|Complex}} to acquire proper CSS.
* Uses {{t|NPCTableFoot}} to close opened table. {{t|NPCTableFoot}} is equal to <code><nowiki>|}</nowiki></code>
== Syntax ==
== Syntax ==
<code>{{t|Complex|Name of the complex}}<br>
<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><nowiki>{{Complex|Serpentis Lookout}}</nowiki><br>
<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...
{{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}}
{{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>