Transclusion

From Atheism United
(Redirected from Transclude)
Jump to: navigation, search

A transclusion is like an 'inclusion', but without actually creating a copy of the thing being included.

You can transclude a wiki page very similar to how templates are used, by using double-braces ({{ and }}) instead of double-brackets ( [[ and ]]). However, you will also need to use a single colon ( : ) in front of the page name so that the wiki will transclude the wiki page instead of trying to invoke a template by the same name. For example, {{:Transclusion example}} transcludes the contents of the Transclusion example page, as shown here:


This is the content of the Transclusion example page. It is transcluded into the transclusion page.