Template:Activity: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (bookends)
mNo edit summary
Line 5: Line 5:
|width="40%"| [[{{{wikiname}}}]] : {{{description}}} (''{{{comments}}}'')
|width="40%"| [[{{{wikiname}}}]] : {{{description}}} (''{{{comments}}}'')
|width="20%"| [[:Image:{{{name}}}-{{{version}}}.xo|v. {{{version}}}]]<br/>{{{source}}}
|width="20%"| [[:Image:{{{name}}}-{{{version}}}.xo|v. {{{version}}}]]<br/>{{{source}}}
|width="35%"| '''Build''': {{{build}}}<br/>'''Mime types''':{{{mime_types}}}<br/>'''Internationalization''': {{{i18n}}}
|width="35%"| '''Build''': {{{build}}}<br/>'''Mime types''':{{{mime_type}}}<br/>'''Internationalization''': {{{i18n}}}
<noinclude>
<noinclude>
<br clear="all">
<br clear="all">
Line 24: Line 24:
}}</nowiki>
}}</nowiki>


{|border=1 cellpadding=3 cellspacing=0
{{activity-section-start}}
{{Activity
{{Activity
|name = web
|name = web
Line 36: Line 36:
|comments = based on Firefox
|comments = based on Firefox
}}
}}
|}
{{activity-section-end}}





Revision as of 15:26, 24 November 2007

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_type}}}
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:.ogg .html
Internationalization: .pot