Template:Activity: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
m (update)
Line 1: Line 1:
<noinclude>Template for Activities Grid
<noinclude>Template for Activities Grid; one row in a table.
<br clear="all"></noinclude>
<br clear="all"></noinclude>
{|border=1 cellpadding=3 cellspacing=0
{|border=1 cellpadding=3 cellspacing=0
|- valign="top"
|- valign="top"
|width= "5%"| {{{icon}}}
|width= "5%"| [[Image:activity-{{{name}}}.svg|40px|{{{name}}} icon]]
|width="40%"| {{{activity_name}}}<br/>{{{activity_description}}}<br/>{{{comments}}}
|width="40%"| [[{{{wikiname}}}]] : {{{description}}} (''{{{comments}}}'')
|width="20%"| {{{activity_bundle}}}<br/>{{{activity_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_types}}}
<br/>Internationalization: {{{i18n}}}
|}
|}

<noinclude>
<noinclude>
<br clear="all">
<br clear="all">


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

<nowiki>{{Activity
<nowiki>{{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/...]
|build = all
|build = all
|mime_types = .ogg .html
|mime_type = .ogg .html
|i18n = .pot
|i18n = .pot
|comments = based on Firefox
|comments = based on Firefox
}}</nowiki>
}}</nowiki>



Revision as of 15:17, 24 November 2007

Template for Activities Grid; one row in a table.

[[Image:activity-{{{name}}}.svg|40px|{{{name}}} icon]] [[{{{wikiname}}}]] : {{{description}}} ({{{comments}}}) [[:Image:{{{name}}}-{{{version}}}.xo|v. {{{version}}}]]
{{{source}}}
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/...]
 |build                 =  all
 |mime_type             =  .ogg .html
 |i18n                  =  .pot
 |comments              =  based on Firefox
 }}


[[Image:activity-{{{name}}}.svg|40px|{{{name}}} icon]] [[{{{wikiname}}}]] : {{{description}}} (based on Firefox) [[:Image:{{{name}}}-{{{version}}}.xo|v. {{{version}}}]]
{{{source}}}
Build: all
Mime types:.ogg .html


Internationalization: .pot