Template:Activity: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (update)
m (sample img not svg, v.75 not uploaded.)
Line 1: Line 1:
<noinclude>Template for Activities Grid; one row in a table.
<noinclude>Template for Activities Grid; one row in a table.
<br clear="all"></noinclude>
<br clear="all"></noinclude>
{|border=1 cellpadding=3 cellspacing=0
|- valign="top"
|- valign="top"
|width= "5%"| [[Image:activity-{{{name}}}.svg|40px|{{{name}}} icon]]
|width= "5%"| [[Image:activity-{{{name}}}.svg|40px|{{{name}}} icon]]
|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}}}
|width="35%"| '''Build''': {{{build}}}<br/>'''Mime types''':{{{mime_types}}}<br/>'''Internationalization''': {{{i18n}}}
<br/>Internationalization: {{{i18n}}}
|}


<noinclude>
<noinclude>
Line 21: Line 18:
|description = A web browser
|description = A web browser
|version = 75
|version = 75
|source = [http://dev.laptop.org/...]
|source = [http://dev.laptop.org/git?p=web-activity]
|build = all
|build = all
|mime_type = .ogg .html
|mime_type = .ogg .html
Line 28: Line 25:
}}</nowiki>
}}</nowiki>


{|border=1 cellpadding=3 cellspacing=0

{{Activity
{{Activity
|icon = [[Image:web.png|40px]]
|name = web
|activity_name = [[Browse]]
|wikiname = Browse
|activity_description = A web browser
|description = A web browser
|activity_bundle = [[:Image:Browse.xo|Browse.xo]]
|version = 75
|activity_source = [http://dev.laptop.org/...]
|source = [http://dev.laptop.org/git?p=web-activity]
|build = all
|build = all
|mime_types = .ogg .html
|mime_type = .ogg .html
|i18n = .pot
|i18n = .pot
|comments = based on Firefox
|comments = based on Firefox
}}
}}
|}





Revision as of 15:21, 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_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