Help:Transclusion: Difference between revisions
some built in mediawiki stuff hyperlinks to this like {{documentation}}, so adding |
remove em dashes |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
'''Transclusion''' is the core concept that powers '''templates''' in MediaWiki. It allows content from one page (usually a template) to appear dynamically on another page, without having to copy and paste it. Isn’t that cool? | |||
'''Transclusion''' is the core concept that powers '''templates''' in MediaWiki. It allows content from one page (usually a template) to appear dynamically on another | |||
== What is Transclusion? == | == What is Transclusion? == | ||
Line 45: | Line 43: | ||
</pre> | </pre> | ||
But be | But be careful, this can create unexpected side effects if used outside of documentation or meta pages. | ||
== Nesting Templates (Templates Using Other Templates) == | == Nesting Templates (Templates Using Other Templates) == |