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
Hirmuolio Pine (talk | contribs)
Created page with " This template gives NPC tables the CSS they need to look right. It should be included once on all pages that use {{tl|NPCTableHead}}. {{tl|CMBSiteBox}} includes the CSS too..."
 
m Format.
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
; 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}}, {{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 gives NPC tables the CSS they need to look right. It should be included once on all pages that use {{tl|NPCTableHead}}.  
; Dependencies
:; Used by
:: {{T|NPCTableHead}}
:: {{T|NPCTableRow}}
:: {{T|NPCTableSeparator}}
:: {{T|Expected NPC}}
:: {{T|Loot table}}
:; Included in
:: {{T|CMBSiteInfo}}
:: {{T|CMBSiteBox}} deprecated.


{{tl|CMBSiteBox}} includes the CSS too so pages that use that do not need this template.
; Syntax
: {{T|NPCTableCSS}}


<includeonly>[[Category:Template]]</includeonly>
; 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>
<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