Template:Transclude: Difference between revisions
No edit summary |
enable alternate heading |
||
| Line 1: | Line 1: | ||
<div style="border:1px solid orange; margin:0px; padding-left:6px; padding-right:6px; background-color:lightyellow;"> | <div style="border:1px solid orange; margin:0px; padding-left:6px; padding-right:6px; background-color:lightyellow;">{{#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>|}}{{{note|<small>'''Note:''' The contents of this section have been transcluded from [[{{{1}}}|another page]]:</small><br>}}}{{#if: {{{heading|}}}|{{{heading}}}|<div style="clear:both"></div><h1>[[{{{1}}}]]</h1> }}<div style="clear:both"></div>{{:{{{1}}}}}</div><includeonly>[[Category:Page with transclusion]]</includeonly><noinclude> | ||
< | |||
{{#if: {{{ | |||
[[Category:Template]] | [[Category:Template]] | ||
| Line 9: | Line 7: | ||
The template takes two optional parameters | The template takes two optional parameters | ||
# '''note''' | # '''note''' | ||
#* Can be any text, which will be displayed before the transclusion in place of the default: '''Note:''' The contents of this section have been transcluded from | #* Can be any text, which will be displayed before the transclusion in place of the default: <nowiki><small>'''Note:''' The contents of this section have been transcluded from [[{{{1}}}|another page]]:</small><br> </nowiki> | ||
# '''heading''' | |||
#* any non-whitespace text, used with the <nowiki>{{#if:</nowiki> parser function to replace the default page title heading with another block of introductory text, or none (<nowiki><nowiki></nowiki></nowiki>). Default: (empty string). | |||
# '''olpc''' | # '''olpc''' | ||
#* any non-whitespace text, used with <nowiki>{{#if:</nowiki> parser function to bring in the OLPC Wiki image ahead of the transclusion. Default: (empty string). | #* any non-whitespace text, used with the <nowiki>{{#if:</nowiki> parser function to bring in the OLPC Wiki image ahead of the transclusion. Default: (empty string). | ||
Example syntax: | Example syntax: | ||
Revision as of 19:35, 14 November 2009
[[{{{1}}}]]
{{:{{{1}}}}}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 two optional parameters
- note
- Can be any text, which will be displayed before the transclusion in place of the default: <small>'''Note:''' The contents of this section have been transcluded from [[{{{1}}}|another page]]:</small><br>
- heading
- any non-whitespace text, used with the {{#if: parser function to replace the default page title heading with another block of introductory text, or none (<nowiki></nowiki>). Default: (empty string).
- olpc
- any non-whitespace text, used with the {{#if: parser function to bring in the OLPC Wiki image ahead of the transclusion. Default: (empty string).
Example syntax:
{{Transclude|the transcluded wiki page|note=optional introductory text|olpc=1}}
The example wiki text below produces this transclusion:
{{Transclude|olpc:Community Jabber Servers|olpc=1}}
Note: The contents of this section have been transcluded from another page:olpc:Community Jabber Servers
What is a Jabber Server
A (specially configured) jabber server is used to allow multiple XOs/Sugar instances to connect and collaborate remotely. Imagine that a school in Peru and a school in Canada wanted to collaborate via their XOs. The mesh network doesn't stretch that far, but the two schools could use a Jabber server to communicate.
The non-sugarlabs.org servers might serve specific geographic regions or other groups.
To set up your own community or private server, see: Run your own jabber server.
Community Server Directory
If you want to publicize your server, please list it below. In "community", specify who should use this server - be as specific as possible. Please add a sysadmin contact email address so we can bug you when it's down...
| server name | community | comments | sysadmin contact | |
|---|---|---|---|---|
| jabber.sugarlabs.org | developers, testers, latest Sugar version users | a development installation undergoing changes | jabber AT sugarlabs DOT org systems@lists.sugarlabs.org http://wiki.sugarlabs.org/go/Service/jabber | |
| orcalab.net | Open to all | Various transports, located in Germany | xmpp@blackonion.org | |
| potter-pod.no-ip.biz | Richmond, VA. (any) | |||
| xmppcomm.com | Open to All | Ukrainian server. Supports jabber domain hosting | JID: jadm@xmppcomm.com, E-mail: jadm@xmppcomm.com | |
| im.it-native.de | Open to All | German Server. MUC and Webinterface aviable. | JID: Arsimael@im.it-native.de | |
| is-a-furry.org | Open to All | MUC and Multilingual Webinterface available. | JID: Arsimael@is-a-furry.org |
Connecting to a community jabber server
In Sugar, click on the centre icon, then My Settings, Network, and change the Server.