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

Template:NPCTableRow/doc: Difference between revisions

Template page
Removed {{Complex}} dependency as CSS was moved in-place
Undo revision 94951 by Lenai chelien (talk)
Line 1: Line 1:
This template is used to create NPC table rows for the pages describing combat sites.  
This template is used to create NPC table rows for the pages describing combat sites.  
== Dependencies ==
== Dependencies ==
* Uses {{t|Complex}} to acquire proper CSS.
* Needs {{t|NPCTableHead}} and {{t|NPCTableFoot}} to generate the table header and footer.
* Needs {{t|NPCTableHead}} and {{t|NPCTableFoot}} to generate the table header and footer.
== Syntax ==
== Syntax ==
<code>{{t|NPCTableHead}}<br>
<code>{{t|Complex|Name of the complex}}<br>
{{t|NPCTableHead}}<br>
{{t|NPCTableRow|Ship size|Ship count|Ship names|4=point=yes|5=ewar=EWar|6=cargo=Loot|7=trigger=Trigger}}<br>
{{t|NPCTableRow|Ship size|Ship count|Ship names|4=point=yes|5=ewar=EWar|6=cargo=Loot|7=trigger=Trigger}}<br>
{{t|NPCTableFoot}}</code>
{{t|NPCTableFoot}}</code>
Line 64: Line 66:
:Use this parameter to add a footnote, which you can use to describe important information about the NPC (for instance, for very high dps NPCs, or high self-repair...).  
:Use this parameter to add a footnote, which you can use to describe important information about the NPC (for instance, for very high dps NPCs, or high self-repair...).  
== Sample output ==
== Sample output ==
<code><nowiki>{{NPCTableHead}}</nowiki><br>
<code><nowiki>{{Complex|Serpentis Lookout}}</nowiki><br>
<nowiki>{{NPCTableHead}}</nowiki><br>
<nowiki>{{NPCTableRow|Frigate|10|Coreli Agent/Pursuer/Mangler/...|point=yes|ewar=Damp|ewar2=Web|note=These ships have high damage but short range.}}</nowiki><br>
<nowiki>{{NPCTableRow|Frigate|10|Coreli Agent/Pursuer/Mangler/...|point=yes|ewar=Damp|ewar2=Web|note=These ships have high damage but short range.}}</nowiki><br>
<nowiki>{{NPCTableRow|Elite Frigate|3-5|Coreli Agent|cargo=Drops Gist A- or B- type modules|trigger=Destroying this will unlock the acceleration gate}}}}</nowiki><br>
<nowiki>{{NPCTableRow|Elite Frigate|3-5|Coreli Agent|cargo=Drops Gist A- or B- type modules|trigger=Destroying this will unlock the acceleration gate}}}}</nowiki><br>
<nowiki>{{NPCTableFoot}}</nowiki></code>
<nowiki>{{NPCTableFoot}}</nowiki></code>
:gives...
:gives...
{{Complex|Serpentis Lookout}}
{{NPCTableHead}}
{{NPCTableHead}}
{{NPCTableRow|Frigate|10|Coreli Agent/Pursuer/Mangler/...|point=yes|ewar=Damp|ewar2=Web|note=These ships have high damage but short range.}}
{{NPCTableRow|Frigate|10|Coreli Agent/Pursuer/Mangler/...|point=yes|ewar=Damp|ewar2=Web|note=These ships have high damage but short range.}}