Template:Transclude



The purpose of this template is to reveal those sections of pages that come from transcluded pages. Pages using this template will be included in the Category:Page with transclusion and will display the contents of the transcluded page in a lightyellow color as a reminder of its off-page source.

Usage
The template takes 1 required,
 * 1) wiki page title
 * 2) * Enter the local wiki page title (or interwiki prefix:remote title, if interwiki transclusion is allowed by the administrators).

and 4 optional parameters:
 * 1) collapsed
 * 2) * Default: (empty string) - This shows the transcluded page.
 * 3) * Enter  to have the transcluded page collapsed on page load (if javascript is enabled).
 * 4) note
 * 5) * Default: Note: The contents of this section have been transcluded from another page, :
 * 6) * You may enter any text, which will be displayed before the transclusion in place of the default.
 * 7) heading
 * 8) * Default: (empty string) - This shows the page title heading above the transclusion (by means of this wikicode,.
 * 9) * Entering any non-whitespace text will be used with the {{#if: parser function to replace the default page title heading with another block of introductory text.
 * 10) * To hide the page title header, enter.
 * 11) olpc
 * 12) * Default: (empty string) - no effect.
 * 13) * Entering any non-whitespace text will be used with the {{#if: parser function to bring in the OLPC Wiki logo image ahead of the transclusion.

Example syntax: {{Transclude|the transcluded wiki page|note=|heading=optional introductory text|collapsed=mw-collapsed}}

The example wiki text below produces this transclusion: {{Transclude|olpc:Community Jabber Servers|olpc=1}} {{Transclude|olpc:Community Jabber Servers|olpc=1}}

Limitation

 * If the template is entered after a formatted indent such as *, #, :, the surrounding division frame will not capture the actual transclusion.