Difference between revisions of "Template:Title"
From PlantUse English
MarcBrugman (Talk | contribs) |
MarcBrugman (Talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly><div style="text-align:left; position:relative; top:2px; margin:2px 0 8px 0;">{{#if:{{{small|}}}|[[Image:{{{color|Blue}}}-bg rounded cropped.svg|link=|alt=]]|[[Image:{{{color|Blue}}}-bg rounded.svg|link=|alt=]]}}{{#if:{{{image|}}}|<div style="position:absolute; left:5px; top:-6px;">[[File:{{{image|}}}|38px|link=|alt=]]</div>}}<div style="position:absolute; left:40px; top:1px;"><h2 style="font-weight:bold; border-bottom:none; font-size:130%; padding:.15em .4em;">{{{text}}}</h2></div></div></includeonly><noinclude>__NOTOC__ | <includeonly><div style="text-align:left; position:relative; top:2px; margin:2px 0 8px 0;">{{#if:{{{small|}}}|[[Image:{{{color|Blue}}}-bg rounded cropped.svg|link=|alt=]]|[[Image:{{{color|Blue}}}-bg rounded.svg|link=|alt=]]}}{{#if:{{{image|}}}|<div style="position:absolute; left:5px; top:-6px;">[[File:{{{image|}}}|38px|link=|alt=]]</div>}}<div style="position:absolute; left:40px; top:1px;"><h2 style="font-weight:bold; border-bottom:none; font-size:130%; padding:.15em .4em;">{{{text}}}</h2></div></div></includeonly><noinclude>__NOTOC__ | ||
== Documentation == | == Documentation == | ||
− | + | This model yields a section title similar to the [[http://en.wikipedia.org/ Main Page]].<br> | |
− | + | Original page: http://fr.wikipedia.org/w/index.php?title=Mod% C3% A8le: Titre_section & action = edit dated 5.9.2011 at 10:33 (am) modified by us to meet a our needs. | |
=== Parameters === | === Parameters === |
Revision as of 16:12, 11 May 2011
Documentation
This model yields a section title similar to the [Main Page].
Original page: http://fr.wikipedia.org/w/index.php?title=Mod% C3% A8le: Titre_section & action = edit dated 5.9.2011 at 10:33 (am) modified by us to meet a our needs.
Parameters
- text defines the text to show
- color defines the background color (not all colors are available))
- image adds an icon on the left
- It is possible to get a smaller colored band by using
|small=yes
.