More actions
m Add note about background color. |
Add info to template date that this template is not visual editor friendly. |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
; Dependencies: | ; Dependencies: | ||
:; Requires | :; Requires | ||
:: {{T|NPCTableCSS}} once | :: {{T|NPCTableCSS}} is required only <em>once</em> per page where there's at least one NPCTable. It is included into {{T|CMBSiteInfo}} and {{T|CMBSite}}(deprecated), so when one of those is used there is no need to add it separately. | ||
:: {{T|NPCTableHead}} | :: {{T|NPCTableHead}} | ||
| Line 25: | Line 25: | ||
; See also | ; See also | ||
* [[UniWiki:Mission formatting guidelines|Mission formatting guidelines]] | * [[UniWiki:Mission formatting guidelines|Mission formatting guidelines]] | ||
; Template data | |||
: This is the [[mediawikiwiki:Help:TemplateData|TemplateData]] documentation for this template used by [[mediawikiwiki:VisualEditor|VisualEditor]] and other tools. | |||
:: <templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "content", | |||
"description": "The text in the header row", | |||
"example": "Group 1", | |||
"type": "line", | |||
"required": true | |||
} | |||
}, | |||
"description": "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." | |||
} | |||
</templatedata> | |||
<includeonly>[[Category:Formatting templates]]<!-- Any categories for the template itself --></includeonly> | <includeonly>[[Category:Formatting templates]]<!-- Any categories for the template itself --></includeonly> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> | ||