Difference between revisions of "Template:Mainpage H2/doc"

From The Lion King Wiki
Jump to: navigation, search
(Created page with "{{doc/start}} 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. === Ex...")
 
 
Line 4: Line 4:
 
== Usage ==
 
== Usage ==
  
This template has one required parameter.
+
This template has one required parameter and a second optional parameter.
  
 
=== Examples ===
 
=== Examples ===
 
<pre>{{Mainpage H2|This is a Heading}}</pre>
 
<pre>{{Mainpage H2|This is a Heading}}</pre>
 
Will Output:{{Mainpage H2|This is a Heading}}
 
Will Output:{{Mainpage H2|This is a Heading}}
 +
 +
<pre>{{Mainpage H2|This is a Heading|Cub Nala Clipart.png}}</pre>
 +
Will Output:{{Mainpage H2|This is a Heading|Cub Nala Clipart.png}}
  
 
{{doc/end}}
 
{{doc/end}}

Latest revision as of 10:48, 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

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.