FANDOM


Template documentation (for the template shown above, sometimes hidden or invisible)

This template transcludes a section of another page and displays it in the current one.

Usage

{{transcludesection|article=name of article|section=name of section}}

Parameters

Icon required
article
Name of page which contains the sections you would like to transclude.
Icon required
section
Name of section in the source page which should be transcluded. You need to mark the section in the source article by inserting:
  • <section begin="name goes here" /> at its beginning and
  • <section end="name goes here" /> at its end

Then you need to set this template's section parameter to name goes here (in this example).

If you mark multiple sections in this fashion with the same name, all of them will be transcluded when using this template. This way you can transclude discontinuous sections.
Icon optional
options
Various options for the template output.

Available options:

  • except: Inverts the transclusion, i.e. instead of transcluding the marked section(s) of the source article, the whole source article except the marked section(s) is transcluded.
  • nointro: Removes transclusion intro ("Main article: ...").

Technical

  • Extensions used: Labeled Section Transclusion, VariablesExtension
  • This template defines a variable which can be accessed from transcluded content: transcludedFrom (the origin page). In addition, the variable transcludeType is interpreted and can be set by other templates.
Documentation transcluded from Template:Transcludesection/doc.
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+