Template:Title: Difference between revisions

From Pl@ntUse
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
===Exemple ===
===Exemple ===


<nowiki><pre>{{Title|color = pink |text = The Title}}</nowiki></pre> gives :<br> {{Title|color = pink |text = The Title}}
<pre><nowiki>{{Title|color = pink |text = The Title}}</nowiki></pre> gives :<br> {{Title|color = pink |text = The Title}}
<nowiki><pre>{{Title|color = green |text = The Title |small=yes}}</nowiki></pre> gives :<br> {{Title|color = green |text = The Title |small=yes}}
<pre><nowiki>{{Title|color = green |text = The Title |small=yes}}</nowiki></pre> gives :<br> {{Title|color = green |text = The Title |small=yes}}
[[category:Template]]
[[category:Template]]


</noinclude>
</noinclude>

Revision as of 09:32, 6 July 2011

Documentation

This model yields a section title similar to the wikipedia 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.

Exemple

{{Title|color = pink |text = The Title}}

gives :

The Title

{{Title|color = green |text = The Title |small=yes}}

gives :

The Title