Difference between revisions of "Template:NPCTableHead/doc"

From EVE University Wiki
Jump to: navigation, search
(→‎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>

Revision as of 20:55, 11 May 2016

This template is used to create NPC table header for the pages describing combat complexes.

Dependencies

Syntax

{{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

{{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...
Wave #34
Template:NPCTableFoot
WD EWAR L


Frigate 100 x Frigate Coreli Agent Warp Disruptor Icon remote sensor dampening.pngIcon stasis webifier i.png Drops Gist X-Type 100MN Microwarpdrive