Difference between revisions of "Template:NPCTableHead"
From EVE University Wiki
m |
m |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly> |
− | + | <div style="margin-left: 0.5em; font-weight: bold;">{{#ifeq:{{{1|}}}|||{{{1}}}}}</div> | |
+ | {| class="wikitable NPC mw-collapsible" | ||
|- class="head" | |- class="head" | ||
− | ! class="head-first" colspan=2 | | + | ! class="head-first" colspan=2 | |
! <span style="cursor:help;" title="Warp disruption (point)">WD</span> | ! <span style="cursor:help;" title="Warp disruption (point)">WD</span> | ||
! <span style="cursor:help;" title="Electronic warfare">EWAR</span> | ! <span style="cursor:help;" title="Electronic warfare">EWAR</span> | ||
! <span style="cursor:help;" title="Notable loot or salvage">L</span> | ! <span style="cursor:help;" title="Notable loot or salvage">L</span> | ||
<noinclude>|}</noinclude></includeonly><noinclude> | <noinclude>|}</noinclude></includeonly><noinclude> | ||
− | {{Documentation}} | + | {{Documentation}} |
− | |||
</noinclude> | </noinclude> |
Latest revision as of 13:05, 15 March 2021
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- This template is used to start an NPCTable. It needs to be paired with the standard wiki parser code to end the table |}. It needs to be used once for every NPCTable on a page.
- Dependencies
-
- Requires
- {{NPCTableCSS}} is required only once per page where there's at least one NPCTable. It is included into {{CMBSiteInfo}} and {{CMBSite}}(deprecated), so when one of those is used there is no need to add it separately.
- Paired with
- |} to close the table, or include |end=true}} as the last parameter of the last {{NPCTableRow}}.
- Sub templates
- {{NPCTableRow}} one or more for each NPCTable.
- {{NPCTableSeparator}} zero or more for each NPCTable.
- Syntax
- {{NPCTableHead|<caption>}}
- Parameters
-
- caption
- Caption of the table. May be omitted.
- Sample
{{NPCTableHead|Initial defenders}}
|}
- gives...
Initial defenders
WD | EWAR | L
|
---|
Note: #222222 is used for the background color of the NPCTable headers. But because the background color of the documentation section of a template is also #222222 it can not be seen on a template page.
- See also