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
Hirmuolio Pine (talk | contribs)
Where it gets CSS
Hirmuolio Pine (talk | contribs)
More about CSS
Line 5: Line 5:
* Uses {{t|NPCTableSeparator}} for separating parts of table with title.
* Uses {{t|NPCTableSeparator}} for separating parts of table with title.
== Syntax ==
== Syntax ==
<code>{{t|CMBSite|Name of the complex}}<br>
<code>{{t|CMBSite|Name of the complex}} OR {{t|NPCTableCSS}} (either one once)<br>
{{t|NPCTableHead|Table header}}<br>
{{t|NPCTableHead|Table header}}<br>
{{t|NPCTableRow|Parameters - see NPCTableRow documentation}}<br>
{{t|NPCTableRow|Parameters - see NPCTableRow documentation}}<br>
Line 17: Line 17:


== Sample output ==
== Sample output ==
<code><nowiki>{{CMBSite|Serpentis Lookout}}</nowiki><br>
<code><nowiki>{{NPCTableCSS}}</nowiki><br>
<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>
Line 24: Line 24:
<nowiki>|}</nowiki></code>
<nowiki>|}</nowiki></code>
:gives...
:gives...
{{CMBSite|Serpentis Lookout}}
{{NPCTableCSS}}
{{NPCTableHead|Wave #34}}
{{NPCTableHead|Wave #34}}
{{NPCTableRow|Frigate|100|Coreli Agent|point=yes|ewar={{icon|damp|24}}{{icon|web|24}}|cargo=Drops Gist X-Type 100MN Microwarpdrive}}
{{NPCTableRow|Frigate|100|Coreli Agent|point=yes|ewar={{icon|damp|24}}{{icon|web|24}}|cargo=Drops Gist X-Type 100MN Microwarpdrive}}
Line 33: Line 33:
<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>
==Creating NPC table without {{t|CMBSite}}==
If you wish to create a NPC table without using the {{t|Complex}} template you need to include the required CSS code at the beginning of the page. The CSS can be found in the beginning of {{t|Complex}} starting from "<code><nowiki>{{#css:</nowiki></code>" and ending at "<code><nowiki>}}</nowiki></code>"