Difference between revisions of "Template"
m |
|||
Line 1: | Line 1: | ||
+ | Get annoyed writing out the same piece of text on multiple pages? You can create your own template on a sub-page of your user page: | ||
+ | * Add the link <nowiki>[[/TemplateName]]</nowiki> (where "TemplateName" is the name of your template) to your user page. | ||
+ | * Add the text of your template to this new sub-page. | ||
+ | * To add the template to a page, you simply have to add this code: | ||
{| class="toccolours" cellpadding="12" style="border-color: #C0C0C0; float: right; width:23em; font-size: 90%" | {| class="toccolours" cellpadding="12" style="border-color: #C0C0C0; float: right; width:23em; font-size: 90%" | ||
|+ style="font-size: larger;"| | |+ style="font-size: larger;"| | ||
Line 4: | Line 8: | ||
!bgcolor="#C0C0C0" align="center" colspan="2" style="border-bottom:1px solid {{{couleur}}};font-size: larg;"| | !bgcolor="#C0C0C0" align="center" colspan="2" style="border-bottom:1px solid {{{couleur}}};font-size: larg;"| | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
__NOTOC__ __NOEDITSECTION__ | __NOTOC__ __NOEDITSECTION__ |
Revision as of 23:11, 5 September 2006
Get annoyed writing out the same piece of text on multiple pages? You can create your own template on a sub-page of your user page:
- Add the link [[/TemplateName]] (where "TemplateName" is the name of your template) to your user page.
- Add the text of your template to this new sub-page.
- To add the template to a page, you simply have to add this code: