Transclusion

From Freephile Wiki
Revision as of 12:40, 31 October 2008 by Freephile (talk | contribs) (New page: == Executive Summary == Transclusion in MediaWiki is the same as an 'include' in PHP programming, or an entity in XML, or a remote server image in an HTML page. If you have a long page, y...)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Executive Summary[edit | edit source]

Transclusion in MediaWiki is the same as an 'include' in PHP programming, or an entity in XML, or a remote server image in an HTML page.

If you have a long page, you may want to break up the topic into sub-topics and then transclude the smaller articles into the super article.

Definition[edit | edit source]

Syntax[edit | edit source]

Tranclusion syntax is the same as Templates syntax (i.e. double curly braces: {{:Article Name}} Note: since templates have their own 'template' namespace while regular articles are in the default namespace and thus use a preceding colon

See Also[edit | edit source]

The wikipedia manual of style talks about how to deal with wp:Wikipedia:Article size The wp:Wikipedia:Summary style article goes into more detail and there are related articles in the style guide also.