Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 22:45, 11 May 2016 by Lenai Chelien (talk | contribs) (Due to CMBSite template, default title is set to be empty)
Ships WD EWAR L
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
Ships 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
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools.

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. Additional the template NPCTableCSS is required once on the page unless the template CMBSiteInfo or CMBSiteBox (deprecated) is used on the page. Those have the NPCTableCSS build in. This template is not visual editor friendly so it is best to use it in text editor mode.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Caption1

Caption of the table. May be omitted.

Example
Initial forces
Lineoptional
Visit Template:NPCTableHead/doc to edit this text! (How does this work?) (Refresh this text - why?)