Help:Transclusion/How Transclusion Works: Difference between revisions

Content deleted Content added
subst
No edit summary
Line 7:
Whenever the target page '''A''' with this code is rendered, the engine will include ''in that place'' not the code itself, but the entire content of the source page '''B''', SOMEPAGE. The top row shows what the target page renders as, while the bottom row shows the code. Note: foo will not be highlighted nor boxed on the target page.
 
<div style="border: 1px hidden; margin: 0.5em; padding: 0.5em;">[[File:Transclusion-multiple-foo.svg]]</div>
[[File:Transclusion-multiple-foo.svg]]
</div>
 
For example, you might decide to place a welcome message on every newcomer's talk page.