Help:TransclusionEdit This Page

From FamilySearch Wiki

Help-content.png This help article will guide you as you edit in the Wiki. See Contributor Help for more help articles.

Transclusion is the inclusion of the content of a document into another document by reference. In the Wikipedian context, it is the use of the Wikipedia:Template messages|template functionality of MediaWiki to include the same content in multiple documents without having to edit those documents separately. Template transclusion is the common way to use template messages, and is implemented by using a template tag, with this form:

{{template name}}

One may want to use a template, but for one reason or another may not want to use transclusion. The automatic one-time copying of a template's code/text to the location of a template tag is called Template substitution or subclusion (substitution + transclusion). To subclude a template's code/text, the template tag is modified from the standard transclusion tag to a substitution tag, simply by adding subst:, creating a tag with the form: {{subst:Template name}}.

Wikipedia has more about this subject: Wikipedia:Transclusion

See also

Help-content.png Questions?
Visit the Get Help to receive help with contributing to the Wiki.

  • This page was last modified on 2 October 2014, at 17:31.
  • This page has been accessed 1,584 times.