More actions
Tag: Undo |
Removing color references so the skin can manage color Tag: Manual revert |
||
| Line 3: | Line 3: | ||
table.complex {font-size: 0.9em; line-height: 1.1em; padding-bottom: 0;} | table.complex {font-size: 0.9em; line-height: 1.1em; padding-bottom: 0;} | ||
table.complex caption {padding: 0.25em; text-align:left; } | table.complex caption {padding: 0.25em; text-align:left; } | ||
table.complex tr th { | table.complex tr th {padding: 0.35em;} | ||
table.complex tr td {padding: 0.25em; } | table.complex tr td {padding: 0.25em; } | ||
table.complex tr td.icon {text-align: center; padding: 0; } | table.complex tr td.icon {text-align: center; padding: 0; } | ||
| Line 12: | Line 12: | ||
.wikitable.NPC .head th p {display: none; } | .wikitable.NPC .head th p {display: none; } | ||
.wikitable.NPC caption {text-align:left; margin-left: 0.5em; } | .wikitable.NPC caption {text-align:left; margin-left: 0.5em; } | ||
.wikitable.NPC th { | .wikitable.NPC th {padding: 0.5em 0.5em 0.4em; } | ||
.wikitable.NPC td {padding: 0.65em 0.5em 0.5em; line-height: 1; } | .wikitable.NPC td {padding: 0.65em 0.5em 0.5em; line-height: 1; } | ||
.wikitable.NPC td.icon {padding: 0.1em; text-align: center; width: 24px; white-space: nowrap; } | .wikitable.NPC td.icon {padding: 0.1em; text-align: center; width: 24px; white-space: nowrap; } | ||
Revision as of 03:06, 15 May 2025
Template documentation (for the above template, sometimes hidden or invisible)
- 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[Edit template data]
Parameter Description Type Status No parameters specified