Difference between revisions of "Template:h2"

From WikiCorporates
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
{{#switch:{{{1}}}
 
{{#switch:{{{1}}}
−
|01 = <h2 style="padding-left:2px; border:1px solid #e39c79; background-color:#f5deb3; background:linear-gradient(90deg, #f5deb3, #fff);">{{{2}}}</h2>
+
|01 = <h2 style="padding-left:2px; border:1px solid #e39c79; border-width:1px 0 1px 0; background-color:#f5deb3; background:linear-gradient(90deg, #f5deb3, #fff);">{{{2}}}</h2>
 
|02 = <h2 style="padding-left:2px; border:1px solid #f5deb3; background-color:#fffcf1; background:linear-gradient(90deg, #fffcf1, #fff);">{{{2}}}</h2>
 
|02 = <h2 style="padding-left:2px; border:1px solid #f5deb3; background-color:#fffcf1; background:linear-gradient(90deg, #fffcf1, #fff);">{{{2}}}</h2>
 
|03 = <h2 style="padding-left:2px; border:1px solid #a3bfb1; background-color:#cef2e0; background:linear-gradient(90deg, #cef2e0, #fff);">{{{2}}}</h2>
 
|03 = <h2 style="padding-left:2px; border:1px solid #a3bfb1; background-color:#cef2e0; background:linear-gradient(90deg, #cef2e0, #fff);">{{{2}}}</h2>

Revision as of 19:42, 13 March 2018

Template:h2 - something is very wrong here.

[edit] Documentation


Usage

This is a small template for making pretty <h2> headings.

Note: a drawback, which may or may not bother you, is that these headings will not provide [edit] links beside them.

To use, merely select the number of the colour combo you like, and then:

{{h2|07|This is a Beautiful Heading}}

Possible Colour Combos

This is a Beautiful Heading 01

This is a Beautiful Heading 02

This is a Beautiful Heading 03

This is a Beautiful Heading 04

This is a Beautiful Heading 05

This is a Beautiful Heading 06

This is a Beautiful Heading 07

This is a Beautiful Heading 08

This is a Beautiful Heading 09

This is a Beautiful Heading 10

This is a Beautiful Heading 11

This is a Beautiful Heading 12

This is a Beautiful Heading 13