Wikipedia:Tip of the day/May 23, 2006

From Wikipedia, the free encyclopedia
Transclusion caveat

When you transclude a page (that is, automate the display of a page's content on another page), all its tags (like {{TOCRight}}) go with it, which will be implemented on the host page. Just add the following code if you want to add a right-aligned TOC to a page, but don't want it to be displayed on "derivative" pages:

<noinclude> {{TOCright}} </noinclude>

Read more: Template

Prior tip - Next tip