Template:SubHeading: Difference between revisions

Jump to navigation Jump to search
some clarification in documentation.
(subheading for templating. Basically, use this to make it appear under sections in the TOC, if you're so inclined.)
 
(some clarification in documentation.)
Line 1: Line 1:
<includeonly>{{br|{{{3|}}}}}<h3 style="border-bottom: none; font-size:large; font-weight:bold;">{{{1|}}}</h3><hr style="background:{{color|{{{2}}}}}; height:2px"></includeonly><noinclude>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]].
<includeonly>{{br|{{{3|}}}}}<h3 style="border-bottom: none; font-size:large; font-weight:bold;">{{{1|}}}</h3><hr style="background:{{color|{{{2}}}}}; height:2px"></includeonly><noinclude>This template creates a sub heading style that uses a thin colored line specified by the user. It is an alternative to [[Template:Section]], [[Template:Heading]] and [[Template:Header]].


===Note about colors===
===Note about colors===
Line 15: Line 15:
You can also add a <br clear=all> before the heading so that a thumbnail or sidebar will be displayed completely above it by adding "clear" to the end :
You can also add a <br clear=all> before the heading so that a thumbnail or sidebar will be displayed completely above it by adding "clear" to the end :


<pre>{{Heading|Name of Heading|Color|clear}}</pre>
<pre>{{SubHeading|Name of Heading|Color|clear}}</pre>


[[File:Trip.jpg|thumb|[[Template:Header|Hi, again!]]]]
[[File:Trip.jpg|thumb|[[Template:Header|Hi, again!]]]]
7,850

edits

Navigation menu