Template:OBX source: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (Template:XO source moved to Template:OBX source: settling for OBX prefix)
m (cosmetics)
Line 1: Line 1:
{{OBX boilerplate params
{{OBX boilerplate params
| logo = {{{2|GIT}}} <!-- whatever wiki text is appropriate (including images) -->
| border-color = #6cbe42
| 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) -->
| border-width = 1 <!-- the border width in px -->
}}<includeonly>[[Category:XO source|{{PAGENAME}}]]</includeonly><noinclude>{{-}}
| logo-background = #6cbe42
| logo-size = 14 <!-- the font size in pt -->
| logo-color = black <!-- the font color -->
| info-background = #8ad962
| info-size = 8 <!-- the font size in pt -->
| info-color = black <!-- the font color -->
| logo = {{{2|GIT}}} <!-- whatever wiki text is appropriate (including images) -->
| 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 } -->
}}<includeonly>[[Category:XO source|{{PAGENAME}}]]</includeonly><noinclude>{{-}}[[Category:OBX templates]]


== Usage ==
== Usage ==
Line 17: Line 8:
Categorizes the including page into the [[:Category:XO sources]].
Categorizes the including page into the [[:Category:XO sources]].


{| border=1 cellspacing=0 cellpadding=5
{|
|-
|-
! Result !! Stand alone !! {{tl|olpcboxmacro}} code
! Result !! Stand alone !! {{tl|olpcboxmacro}} code
|-
|-
| {{OBX source|wiki-url-to-source|type}}
| {{OBX source|{{{wiki-url-to-source}}}|{{{type}}}}}
| style="font-size:80%;" | <tt><nowiki>{{OBX source|wiki-url-to-source|type}}</nowiki></tt>
| style="font-size:80%; font-style:fixed; " | <nowiki>{{OBX source|wiki-url-to-source|type}}</nowiki>
| 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>
|}
|}


== Samples ==


[[Category:OBX templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 04:41, 6 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|