Template:Activity

From OLPC
Revision as of 15:21, 24 November 2007 by Sj (talk | contribs) (sample img not svg, v.75 not uploaded.)
Jump to navigation Jump to search

Template for Activities Grid; one row in a table.
|- valign="top" |width= "5%"| [[Image:activity-{{{name}}}.svg|40px|{{{name}}} icon]] |width="40%"| [[{{{wikiname}}}]] : {{{description}}} ({{{comments}}}) |width="20%"| [[:Image:{{{name}}}-{{{version}}}.xo|v. {{{version}}}]]
{{{source}}} |width="35%"| Build: {{{build}}}
Mime types:{{{mime_types}}}
Internationalization: {{{i18n}}}



Usage

Icons should be uploaded as svg's (just as in the bundles) named activity-<name>.svg. New versions of the bundles should be uploaded as <name>-<versionnumber>.xo. wikiname is the longer version of name for readability.

{{Activity
 |name                  =  web
 |wikiname              =  Browse
 |description           =  A web browser
 |version               =  75  
 |source                =  [http://dev.laptop.org/git?p=web-activity]
 |build                 =  all
 |mime_type             =  .ogg .html
 |i18n                  =  .pot
 |comments              =  based on Firefox
 }}
web icon Browse : A web browser (based on Firefox) v. 75
[1]
Build: all
Mime types:{{{mime_types}}}
Internationalization: .pot