Difference between revisions of "Template:CMBSite"

From EVE University Wiki
Jump to: navigation, search
(Setting .icon cell width to 24px (anyway it's going to overriden by content size, but if there is no content it can misbehave without this rule))
(Fixing sudden wrap issue for icons)
Line 43: Line 43:
 
.wikitable.NPC th {background-color: #222; padding: 0.5em 0.5em 0.4em; }
 
.wikitable.NPC th {background-color: #222; 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; }
+
.wikitable.NPC td.icon {padding: 0.1em; text-align: center; width: 24px; white-space: nowrap; }
.wikitable.NPC td.icon a {padding: 0 0.1em; }
+
.wikitable.NPC td.icon a {padding: 0 0.2em; }
 +
.wikitable.NPC td.icon a img {margin: -6px; }
 
.wikitable.NPC .mw-collapsible-toggle {position: absolute; left: 10px; }
 
.wikitable.NPC .mw-collapsible-toggle {position: absolute; left: 10px; }
 
}}
 
}}

Revision as of 16:11, 12 May 2016

Site Details
Type
Rating
Found in
Max ship size
Pirate faction
Damage to deal
Damage to
Resist
Sig. Strength
Template documentation (for the above template, sometimes hidden or invisible)
This template is deprecated and no longer in use.
Please visit Template:CMBSiteInfo for current info. User: Hirmuolio Pine (talk) 06:04, 30 June 2019 (CDT)
Description
This template is used for creating Combat sites headers. CMBSiteBox and TOC will be placed on right side of the page. This template will also include CSS for {{NPCTableHead}}
Syntax
Type {{CMBSite|<complex_name>}} at the beginning of combat site article.
See also
Sample output
{{CMBSite | Serpentis Hideout}}

gives...

Site Details
Serpentis Hideout
Type Unrated Complex
Rating Unrated
Found in High
Max ship size T2 Destroyer
Pirate faction Serpentis
Damage to deal Kinetic damage Kin
Thermal damage Th
Damage to
Resist
55% Kinetic damage Kin
45% Thermal damage Th
Sig. Strength 20% in High Sec
Visit Template:CMBSite/doc to edit this text! (How does this work?) (Refresh this text - why?)