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

Template:NPCTableSeparator: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 1: Line 1:
<noinclude>{| class="wikitable NPC mw-collapsible"</noinclude>
<noinclude>{| class="wikitable NPC mw-collapsible"</noinclude>
|-
<includeonly>|-
! colspan=5 | {{#ifeq:{{{1|}}}|||{{{1}}}}}
! colspan=5 | {{#ifeq:{{{1|}}}|||{{{1}}}}}</includeonly>
<noinclude>|}{{Documentation}}[[Category:Template]]</noinclude>
<noinclude>|}{{Documentation}}[[Category:Template]]</noinclude>

Revision as of 23:58, 10 June 2016

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to create a header row in an NPCTable.
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.
{{NPCTableHead}}
Syntax
{{NPCTableSeparator|<content>}}
Parameters
content
Text in the row.
Sample
{{NPCTableHead|Initial defenders}}
{{NPCTableSeparator|Group A}}
|}
gives...
Initial defenders
WD EWAR L


Group A

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 create a header row in an NPCTable. This template is not visual editor friendly so it is best to use it in text editor mode.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
content1

The text in the header row

Example
Group 1
Linerequired
Visit Template:NPCTableSeparator/doc to edit this text! (How does this work?) (Refresh this text - why?)