Help:Transclusion/How Transclusion Works: Difference between revisions

Content deleted Content added
No edit summary
Attempts to fix unclear description, alter navbar to point to extant page, rm unneeded tags causing extra whitespace
Line 1:
{{navbar|Wikipedia:Transclusion/How transclusionTransclusion worksWorks|plain=1}}
 
To '''transclude''' any '''source''' page (within a single MediaWiki project, such as en:Wikipedia), include the following code in the '''target''' page:
Line 13:
For example, you might decide to place a welcome message on every newcomer's talk page.
 
Transclusion creates a "live" link between the template page and the target page(s) upon which the messagetemplate's contents should appear. When the template is edited, allthe rendering of that template on the target pages areis editedupdated too.<!-- Thisas is incorrectwell. --> For example, you create a (template) page in Wikipedia with your home mailing address and then includetransclude that template not only on your page, but all your friends' pages, too. Later, after moving to a new house, you then update your address template and the ''new'' address will automatically appear on all your friends' pages.
 
<noinclude>
</noinclude>