Line 1: |
Line 1: |
− | <div style="border:1px solid orange; margin:0px; padding-left:6px; padding-right:6px; background-color:lightyellow;"><div class="NavFrame {{{collapsed|}}}"><div class="NavHead">{{{note|<small>'''Note:''' The contents of this section have been transcluded from another page, [[{{{1}}}]]:</small>}}} </div><div class="NavContent">{{#if: {{{olpc|}}}|<span class="plainlinks" style="clear:left; float: left; margin: .5em 1.7em .5em 0; background: white;">[http://wiki.laptop.org/go/The_OLPC_Wiki http://wiki.laptop.org/skins/common/images/OLPC_wiki_logo.png]</span>|}}{{#if: {{{heading|}}}|{{{heading}}}|<div style="clear:both"></div><h1>[[{{{1}}}]]</h1>}}<div style="clear:both"></div>{{:{{{1}}}}}</div></div></div><includeonly>[[Category:Page with transclusion]]</includeonly><noinclude> | + | <div style="border:1px solid orange; margin:0px; padding-left:6px; padding-right:6px; background-color:lightyellow;"><div class="mw-collapsible {{{collapsed|}}}" data-collapsetext="hide ▲" data-expandtext="show ▼">{{{note|<small>'''Note:''' The contents of this section have been transcluded from another page, [[{{{1}}}]]:</small>}}} <div class="mw-collapsible-content">{{#if: {{{olpc|}}}|<span class="plainlinks" style="clear:left; float: left; margin: .5em 1.7em .5em 0; background: white;">[http://wiki.laptop.org/go/The_OLPC_Wiki http://wiki.laptop.org/skins/common/images/OLPC_wiki_logo.png]</span>|}}{{#if: {{{heading|}}}|{{{heading}}}|<div style="clear:both"></div><h1>[[{{{1}}}]]</h1>}}<div style="clear:both"></div>{{:{{{1}}}}}</div></div></div><includeonly>[[Category:Page with transclusion]]</includeonly><noinclude> |
| [[Category:Template]]__NOTOC__ | | [[Category:Template]]__NOTOC__ |
| | | |
Line 13: |
Line 13: |
| # '''collapsed''' | | # '''collapsed''' |
| #* Default: (empty string) - This shows the transcluded page. | | #* Default: (empty string) - This shows the transcluded page. |
− | #* Enter <code>collapsed=collapsed</code> to have the transcluded page collapsed on page load (if javascript is enabled). | + | #* Enter <code>collapsed=mw-collapsed</code> to have the transcluded page collapsed on page load (if javascript is enabled). |
| # '''note''' | | # '''note''' |
| #* Default: <nowiki><small>'''Note:''' The contents of this section have been transcluded from another page, [[{{{1}}}]]:</small></nowiki> | | #* Default: <nowiki><small>'''Note:''' The contents of this section have been transcluded from another page, [[{{{1}}}]]:</small></nowiki> |
Line 28: |
Line 28: |
| Example syntax: | | Example syntax: |
| <pre> | | <pre> |
− | {{Transclude|the transcluded wiki page|note=|heading=optional introductory text|collapsed=collapsed}} | + | {{Transclude|the transcluded wiki page|note=|heading=optional introductory text|collapsed=mw-collapsed}} |
| </pre> | | </pre> |
| | | |
Line 35: |
Line 35: |
| {{Transclude|olpc:Community Jabber Servers|olpc=1}} | | {{Transclude|olpc:Community Jabber Servers|olpc=1}} |
| | | |
− | See http://wiki-devel.sugarlabs.org/go/Template:Transclude for the appearance of this page with interwiki transclusion enabled.
| + | ==Limitation== |
| + | * If the template is entered after a formatted indent such as *, #, :, the surrounding division frame will not capture the actual transclusion. |
| </noinclude> | | </noinclude> |