Difference between revisions of "Template:Mainpage H2"

From The Lion King Wiki
Jump to: navigation, search
(Created page with "<h2 style="background:#d33432; border:none; margin:0; padding:5px; font:normal 18px "Trebuchet MS", Trebuchet, Tahoma, Verdana, sans-serif; color:#fff; text-align:center;">{{{1}}...")
 
Line 1: Line 1:
<h2 style="background:#d33432; border:none; margin:0; padding:5px; font:normal 18px "Trebuchet MS", Trebuchet, Tahoma, Verdana, sans-serif; color:#fff; text-align:center;">{{{1}}}</h2>
+
<includeonly><h2 style="background:#d33432; border:none; margin:0; padding:5px; font:normal 18px "Trebuchet MS", Trebuchet, Tahoma, Verdana, sans-serif; color:#fff; text-align:center;">{{{1}}}</h2></includeonly><noinclude>
 +
{{/doc}}
 +
 
 +
[[Category:Formatting templates|F]]</noinclude>

Revision as of 10:07, 3 April 2011

Template-info.png Documentation

This template is for the colored second headings on the Main Page, but it can be used elsewhere.

Usage

This template has one required parameter and a second optional parameter.

Examples

{{Mainpage H2|This is a Heading}}
Will Output:

This is a Heading

{{Mainpage H2|This is a Heading|Cub Nala Clipart.png}}
Will Output:

This is a Heading
Cub Nala Clipart.png

The above documentation is transcluded from Template:Mainpage H2/doc. (edit | history)