Today we will dive in and learn all the ins and outs of transclusions, which at first might seem tricky, but will quickly prove to be a super valuable tool.

Transclusions[edit | edit source]

Legend
  • transcluded = The template to indicate the article from which the section was transcluded, and that it was transcluded
  • transcludesection = The template to summon the transcluded text
  • section begin""/end"" = The template for selecting transcluded text
  • Article A = Article from which the section was transcluded
  • Article B = Article to which the section was transcluded
  • Section = You can name it whatever you want
  • options= = Additional instructions
    • nointro = Hides the "Main Article" header

Transcluded text (on Article A)
<section begin="Section" />
<section end="Section" />
Transclusion (on Article B)
{{transcluded|Article A}}
{{transcludesection|Article A|Section|options=nointro}}

Example 1[edit | edit source]


We will now transclude this sample text from the article J.E. Sawyer's Fallout Role-Playing Game
'''''J.E. Sawyer's Fallout Role-Playing Game''''' is an unlicensed ''Fallout'' tabletop role-playing game created by [[Joshua Sawyer]].
First, we start by going to that page and adding (or obtaining) the section flags
<section begin="transclusion" />
'''''J.E. Sawyer's Fallout Role-Playing Game''''' is an unlicensed ''Fallout'' tabletop role-playing game created by [[Joshua Sawyer]].
<section end="transclusion" />
Now we will transclude the text by inserting our template in the spot we want this to show up
{{transcluded|J.E. Sawyer's Fallout Role-Playing Game}}
{{transcludesection|J.E. Sawyer's Fallout Role-Playing Game|transclusion|options=nointro}}
Here is our result

J.E. Sawyer's Fallout Role-Playing Game is an unlicensed Fallout tabletop role-playing game created by Joshua Sawyer and originally published on his personal wiki in 2004, following the cancellation of Van Buren and his departure from the failing Black Isle Studios.


Example 2[edit | edit source]


By omitted the "transcluded" template, you can hide the fact that the text was transcluded
{{transcludesection|J.E. Sawyer's Fallout Role-Playing Game|transclusion|options=nointro}}
Which will appear as

J.E. Sawyer's Fallout Role-Playing Game is an unlicensed Fallout tabletop role-playing game created by Joshua Sawyer and originally published on his personal wiki in 2004, following the cancellation of Van Buren and his departure from the failing Black Isle Studios.


Example 3[edit | edit source]


Alternatively, you can also remove the "|options=nointro", which will toggle on a line about where this text is sourced
{{transcludesection|J.E. Sawyer's Fallout Role-Playing Game|transclusion}}
Which will appear as

J.E. Sawyer's Fallout Role-Playing Game is an unlicensed Fallout tabletop role-playing game created by Joshua Sawyer and originally published on his personal wiki in 2004, following the cancellation of Van Buren and his departure from the failing Black Isle Studios.


Application[edit | edit source]

Provided the transclusion contains the wiki formatting, you can transclude everything from

  • Tables
  • Infoboxes
  • Text
  • Entire pages
  • Images
  • Videos
  • Tabbers
  • To You-Name-It

Bugs[edit | edit source]

  • You cannot transclude text onto the same page
  • You cannot transclude hidden text ( <!-- --> )
  • You cannot transclude individual tabber tabs ( |-|= ), or information between
    • But you can transclude the entire tabber ( <tabber> </tabber> )

Quiz 15 (Transclusions)[edit | edit source]

Now we will go to the quiz, so you can show off your knowledge of all the things we learned!

Quiz time!
Quiz
Slot Blank.png All lessons Slot Blank.png


Community content is available under CC-BY-SA unless otherwise noted.