Template:OBX source: Difference between revisions

From OLPC
Jump to navigation Jump to search
(test for specifying the source location)
 
m (fixing to standard)
Line 1: Line 1:
{{OBX boilerplate params
{{XO box2
| border-color = #6cbe42
| border-color = #6cbe42
| border-width = 1 <!-- the border width in px -->
| border-width = 1 <!-- the border width in px -->
Line 11: Line 11:
| info = The [[:Category:XO source{{!}}sources]] can be found in {{{1|[http://dev.laptop.org/ dev.laptop.org]}}} <!-- whatever wiki text is appropriate (images not recommended) -->
| info = The [[:Category:XO source{{!}}sources]] can be found in {{{1|[http://dev.laptop.org/ dev.laptop.org]}}} <!-- whatever wiki text is appropriate (images not recommended) -->
| float = left <!-- if the box should float on the { left | right } -->
| float = left <!-- if the box should float on the { left | right } -->
}}<includeonly>[[Category:XO source|{{PAGENAME}}]]</includeonly><noinclude>{{-}}[[Category:XO templates]]
}}<includeonly>[[Category:XO source|{{PAGENAME}}]]</includeonly><noinclude>{{-}}[[Category:OBX templates]]


== Usage ==
== Usage ==
Line 19: Line 19:
{|
{|
|-
|-
! Result !! Stand alone !! [[Template:Babel-XO|Babel-XO]]
! Result !! Stand alone !! {{tl|olpcboxmacro}} code
|-
|-
| {{XO source|wiki-url-to-source|type}}
| {{OBX source|wiki-url-to-source|type}}
| style="font-size:80%;" | <tt><nowiki>{{XO source|wiki-url-to-source|type}}</nowiki></tt>
| style="font-size:80%;" | <tt><nowiki>{{OBX source|wiki-url-to-source|type}}</nowiki></tt>
| style="font-size:80%;" | <tt><nowiki>|source{{!}}wiki-url-to-source{{!}}type|</nowiki></tt>
| style="font-size:80%;" | <tt><nowiki>|source{{!}}wiki-url-to-source{{!}}type|</nowiki></tt>
|}
|}

Revision as of 20:08, 5 July 2007

GIT The sources can be found in dev.laptop.org


Usage

Categorizes the including page into the Category:XO sources.

Result Stand alone {{olpcboxmacro}} code
type The sources can be found in wiki-url-to-source
{{OBX source|wiki-url-to-source|type}} |source{{!}}wiki-url-to-source{{!}}type|

Samples