Template:OBX source

From OLPC
Revision as of 22:28, 12 September 2007 by Xavi (talk | contribs) (testing some color status)
Jump to navigation Jump to search
GIT sources in dev.laptop.org


 real
 | logo-background = {{ #switch: {{{status|}}} | abandoned=#d84b18 | #default=#6cbe42 }}
 | info-background = {{ #switch: {{{status|}}} | abandoned=#f96735 | #default=#8ad962 }}
 
 test
 | logo-background = {{ #switch: {{{status|}}} | abandoned=#6cbe42 | #default=#d84b18 }}
 | info-background = {{ #switch: {{{status|}}} | abandoned=#8ad962 | #default=#f96735 }}

Usage

Categorizes the including page into the Category:XO sources.

Result Stand alone {{olpcboxmacro}} code
{{{type}}} sources in {{{wiki-url-to-source}}}
{{OBX source|wiki-url-to-source|type}} |source{{!}}wiki-url-to-source{{!}}type|
{{{type}}} sources in {{{wiki-url-to-source}}}
{{OBX source|wiki-url-to-source|type|status=abandoned}} |source{{!}}wiki-url-to-source{{!}}type{{!}}status=abandoned|