Difference between revisions of "Template:Mainpage H2"
From The Lion King Wiki
| Line 1: | Line 1: | ||
| − | <includeonly><h2 style="background:#b61f1f; 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> | + | <includeonly><h2 style="background:#b61f1f; border:none; margin:0; padding:5px; font:normal 18px 'Trebuchet MS', Trebuchet, Tahoma, Verdana, sans-serif; color:#fff; text-align:center;">{{{1}}}{{#if: {{{2|}}} | [[Image:{{{2}}}|right|48px|link=]]}}</h2></includeonly><noinclude> |
{{/doc}} | {{/doc}} | ||
[[Category:Formatting templates|F]]</noinclude> | [[Category:Formatting templates|F]]</noinclude> | ||
Revision as of 10:47, 3 April 2011
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
The above documentation is transcluded from Template:Mainpage H2/doc. (edit | history)