Help:Transclusion/How Transclusion Works: Difference between revisions

Content deleted Content added
c/e
Reverted 1 edit by 2600:387:15:3931:0:0:0:7 (talk): Unexplained deletion, left the sentence incomplete
 
(3 intermediate revisions by 3 users not shown)
Line 1:
To transclude content from a ''source'' page (within a single MediaWiki project, (such as English Wikipedia) onto a ''target'' page, use <code><nowiki>{{SOURCEPAGE}}</nowiki></code> in the ''target'' page's code.
 
Any time the codeWhenever <code><nowiki>{{SOURCEPAGE}}</nowiki></code> is included on a target page, Wikipediathe WikiMedia software placesretrieves and embedes the entire content of <code><nowiki>SOURCEPAGE</nowiki></code> into(i.e., {{Fake link|Template:SOURCEPAGE}}) at that spot___location on the target page.
 
=== '''Example''' ===
Consider an example, complemented by the illustration below, with target pages '''A''', '''P''', and '''Q''', and source page '''B'''.