More actions
Merged NPCTableHead, NPCTableRow and NPCTableSeparator documentations |
mNo edit summary |
||
| Line 2: | Line 2: | ||
== Dependencies == | == Dependencies == | ||
* Uses {{t|NPCTableCSS}} to acquire proper CSS. This template is transcluded through {{t|CMBSite}} so pages that use that template do not need to include anything else. | * Uses {{t|NPCTableCSS}} to acquire proper CSS. This template is transcluded through {{t|CMBSite}} so pages that use that template do not need to include anything else. | ||
* Uses {{t|NPCTableHead}} to generate the header for NPC table. | |||
* Uses {{t|NPCTableRow}} to generate rows. | * Uses {{t|NPCTableRow}} to generate rows. | ||
* 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}} OR {{t|NPCTableCSS}} (either one once)<br> | <code>{{t|CMBSite|Name of the complex}} OR {{t|NPCTableCSS}} (either one once somewhere in the article)<br> | ||
{{t|NPCTableHead|Table header}}<br> | {{t|NPCTableHead|Table header}}<br> | ||
{{t|NPCTableRow|Ship size|Ship count|Ship names|4=point=yes|5=ewar=Ewar|6=cargo=Loot|7=trigger=Trigger|8=note=Notes}}<br> | {{t|NPCTableRow|Ship size|Ship count|Ship names|4=point=yes|5=ewar=Ewar|6=cargo=Loot|7=trigger=Trigger|8=note=Notes}}<br> | ||