Help:TransclusionEdit This Page

From FamilySearch Wiki

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

Transclusion is generally 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}}

Occasionally 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

  • This page was last modified on 25 April 2011, at 01:03.
  • This page has been accessed 1,480 times.