Template:SubHeading

From 118Wiki
Revision as of 05:36, 20 February 2015 by Ceciri (talk | contribs) (subheading for templating. Basically, use this to make it appear under sections in the TOC, if you're so inclined.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template creates a heading style that uses a thin colored line specified by the user. It is an alternative to Template:Section and Template:Header.

Note about colors

This template translates the standard color names for the divisions to the colors we use on the wiki. Thus Red, Gold, Blue, Teal, Violet, Black, Silver, and Green are not necessarily the same as their true html color name. Any other html color name or HEX code will be shown as entered. To get around the preset color names above, use the raw HEX code (for instance, use #FF0000 to get this red rather than using "Red" to get this red. Consult this table for reference.

Example

{{SubHeading|Name of Heading|Blue}}

Name of Heading




Clearing a Section

You can also add a
before the heading so that a thumbnail or sidebar will be displayed completely above it by adding "clear" to the end :

{{Heading|Name of Heading|Color|clear}}

Before



After