Template:OBX source: Difference between revisions
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 |
||
⚫ | |||
| border-color = #6cbe42 |
|||
⚫ | |||
| border-width = 1 <!-- the border width in px --> |
|||
⚫ | |||
| 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 --> |
|||
⚫ | |||
⚫ | |||
| float = left <!-- if the box should float on the { left | right } --> |
|||
⚫ | |||
== 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%;" | |
| 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 | ||
---|---|---|---|---|
|
{{OBX source|wiki-url-to-source|type}} | |source{{!}}wiki-url-to-source{{!}}type| |