Difference between revisions of "Template"
m |
|||
Line 10: | Line 10: | ||
* Add the link <nowiki>[[/TemplateName]]</nowiki> (where "TemplateName" is the name of your template) to 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. | * 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: |
− | + | __NOTOC__ __NOEDITSECTION__ | |
− | |||
− | |||
− | __NOTOC__ |
Revision as of 23:11, 5 September 2006
Tip of the day
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: