The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Bharatpedia:Transclusion explains how one page's content appears inside another.

The mechanism

Writing {{Example}} on a page transcludes the page Template:Example: its current content is displayed as part of your page. Edit the template, and every page using it updates. That is how infoboxes, navigation boxes and citation formats stay consistent across thousands of articles.

Sections of pages

A section of an ordinary page can also be transcluded, and templates can include or exclude parts of themselves with <includeonly> and <noinclude> tags: documentation sits in noinclude so it shows on the template page but never inside articles.

The alternative

Substitution copies the content permanently instead. Use transclusion for anything that should stay in step across pages.

See also