Difference between revisions of "Template"

From No Subject - Encyclopedia of Psychoanalysis
Jump to: navigation, search
Line 1: Line 1:
 +
{| class="toccolours" cellpadding="12" style="float: right; width:23em; font-size: 90%"
 +
|+ style="font-size: larger;"|
 +
|-
 +
!bgcolor="#000000" align="center" colspan="2" style="font-size: larg;"|
 +
|}
 +
 
{| 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 10:
 
!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;"|
 
|}
 
|}
 +
 
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:
 
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 &quot;TemplateName&quot; is the name of your template) to your user page.
 
* Add the link <nowiki>[[/TemplateName]]</nowiki> (where &quot;TemplateName&quot; is the name of your template) to your user page.
 
* Add the text of your template to this new sub-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:  
 
* 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%"
+
 
|+ style="font-size: larger;"|
+
 
|-
 
!bgcolor="#C0C0C0" align="center" colspan="2" style="border-bottom:1px solid {{{couleur}}};font-size: larg;"|
 
|}
 
  
 
__NOTOC__ __NOEDITSECTION__
 
__NOTOC__ __NOEDITSECTION__

Revision as of 23:12, 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: