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

Template:NPCTableCSS/doc: Difference between revisions

Template page
m Add dependency.
m Format.
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
; Description
; Description
: This template gives NPC tables the CSS they need to look right. It should be included <em>once</em> on all pages that use {{tl|NPCTableHead}}.
: This template gives NPC tables the CSS they need to look right. It should be included <em>once</em> on all pages that use {{Tl|NPCTableHead}}, {{Tl|Expected NPC}} or {{Tl|Loot table}}.
: This template is included in {{Tl|CMBSiteInfo}} and {{Tl|CMBSiteBox}}(deprecated) so that articles that use one of these templates do not need {{Tl|NPCTableCSS}} anymore.
: This template is included in {{Tl|CMBSiteInfo}} and {{Tl|CMBSiteBox}}(deprecated) so that articles that use one of these templates do not need {{Tl|NPCTableCSS}} anymore.


Line 9: Line 9:
:: {{T|NPCTableSeparator}}
:: {{T|NPCTableSeparator}}
:: {{T|Expected NPC}}
:: {{T|Expected NPC}}
:: {{T|Loot table}}
:; Included in
:; Included in
:: {{T|CMBSiteInfo}}
:: {{T|CMBSiteInfo}}
Line 15: Line 16:
; Syntax
; Syntax
: {{T|NPCTableCSS}}
: {{T|NPCTableCSS}}
; Template data
: This is the [[mediawikiwiki:Help:TemplateData|TemplateData]] documentation for this template used by [[mediawikiwiki:VisualEditor|VisualEditor]] and other tools.
:: <templatedata>
{
"params": {},
"description": "This template contains the CSS code for the NPCTable set, \"Expected NPC\" and \"Loot table\" templates. The template has no parameters. It should be placed once at a page whit one or more of the templates on it. The template is included in the CMBSiteInfo and CMBSiteBox templates so it is not needed on pages with one of those templates."
}
</templatedata>


<includeonly>[[Category:Formatting templates]]</includeonly>
<includeonly>[[Category:Formatting templates]]</includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 10:32, 28 October 2025

Description
This template gives NPC tables the CSS they need to look right. It should be included once on all pages that use {{NPCTableHead}}, {{Expected NPC}} or {{Loot table}}.
This template is included in {{CMBSiteInfo}} and {{CMBSiteBox}}(deprecated) so that articles that use one of these templates do not need {{NPCTableCSS}} anymore.
Dependencies
Used by
{{NPCTableHead}}
{{NPCTableRow}}
{{NPCTableSeparator}}
{{Expected NPC}}
{{Loot table}}
Included in
{{CMBSiteInfo}}
{{CMBSiteBox}} deprecated.
Syntax
{{NPCTableCSS}}
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools.

This template contains the CSS code for the NPCTable set, "Expected NPC" and "Loot table" templates. The template has no parameters. It should be placed once at a page whit one or more of the templates on it. The template is included in the CMBSiteInfo and CMBSiteBox templates so it is not needed on pages with one of those templates.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified