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
m Fixing other template usage
Updated documentation
Line 6: Line 6:
;Syntax
;Syntax
:<code>{{t|Complex|Name of the complex}}<br>
:<code>{{t|Complex|Name of the complex}}<br>
:{{t|NPCTableHead}}<br>
:{{t|NPCTableHead|Table header}}<br>
:{{t|NPCTableRow|Ship size|Ship count|Ship names|4=point=yes|5=ewar=EWar|6=cargo=Loot}}<br>
:{{t|NPCTableRow|Ship size|Ship count|Ship names|4=point=yes|5=ewar=EWar|6=cargo=Loot}}<br>
:|}</code>
:|}</code>
;Sample output
;Sample output
:<code><nowiki>{{Complex|Serpentis Lookout}}</nowiki><br>
:<code><nowiki>{{Complex|Serpentis Lookout}}</nowiki><br>
:<nowiki>{{NPCTableHead}}</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>{{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>
:<nowiki>|}</nowiki></code>
::gives...
::gives...
{{Complex|Serpentis Lookout}}{{NPCTableHead}}{{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:
;See also:
:* [[Template:NPCTableRow]]
:* [[Template:NPCTableRow]]

Revision as of 20:40, 12 November 2014

Description
This template is used to create NPC table header.
Dependencies
Syntax
{{Complex|<Name of the complex>}}
{{NPCTableHead|<Table header>}}
{{NPCTableRow|<Ship size>|<Ship count>|<point=yes>|<ewar=EWar>|<cargo=Loot>}}
|}
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
See also