Difference between revisions of "Template:NPCTableHead/doc"

From EVE University Wiki
Jump to: navigation, search
(Updated documentation)
(Formatting improvements for documentation)
Line 1: Line 1:
;Description
+
This template is used to create NPC table header for the pages describing combat complexes.
:This template is used to create NPC table header.
+
== Dependencies ==
;Dependencies:
+
* Uses {{t|NPCTableRow}} to generate rows.
:* Uses {{t|NPCTableRow}} to generate rows.
+
* Uses {{t|Complex}} to acquire proper CSS.
:* Uses {{t|Complex}} to acquire proper CSS.
+
== 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|NPCTableRow|Ship size|Ship count|Ship names|4=point=yes|5=ewar=EWar|6=cargo=Loot}}<br>
+
|}</code>
:|}</code>
+
 
;Sample output
+
=== Parameters ===
:<code><nowiki>{{Complex|Serpentis Lookout}}</nowiki><br>
+
;Name of complex
:<nowiki>{{NPCTableHead|Wave #34}}</nowiki><br>
+
:This is the title of the NPC group, e.g. <code>Wave 1</code>, <code>Initial defenders</code>, <code>Commander wave</code>, etc.
:<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>
+
== Sample output ==
::gives...
+
<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}}}}|}
;See also:
 
:* [[Template:NPCTableRow]]
 
  
 
<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 13:28, 19 November 2014

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

Dependencies

Syntax

{{Complex|<Name of the complex>}}
{{NPCTableHead|<Table header>}}
{{NPCTableRow|<Parameters - see NPCTableRow documentation>}}
|}

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={{icon|shiny cargo|24|Drops Gist X-Type 100MN Microwarpdrive}}}}
|}

gives...
Site Details
Site name ?
Wave #34
WD EWAR L
Frigate 100 x Frigate Coreli Agent Warp Disruptor Icon remote sensor dampening.pngIcon stasis webifier i.png