Template:Activity: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
m (temporary rv)
Line 1: Line 1:
<noinclude>Template for Activities Grid; one row in a table.
<noinclude>Template for Activities Grid
<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%"| {{{icon}}}
|width="50%"| [[{{{wikiname}}}]]: {{{description}}} (''{{{comments}}}'')
|width="40%"| {{{activity_name}}}<br/>{{{activity_description}}}<br/>{{{comments}}}
|width="10%"| [[:Image:{{{name}}}-{{{version}}}.xo|v.{{{version}}}]]<br/>{{{source}}}
|width="20%"| {{{activity_bundle}}}<br/>{{{activity_source}}}
|width="35%"| '''Build''': {{{build}}}<br/>'''Mime types''': {{{mime_type}}}<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
|name = web
|icon = [[Image:web.png|40px]]
|wikiname = Browse
|activity_name = [[Browse]]
|description = A web browser
|activity_description = A web browser
|version = 75
|activity_bundle = [[:Image:Browse.xo|Browse.xo]]
|source = [http://dev.laptop.org/git?p=web-activity]
|activity_source = [http://dev.laptop.org/...]
|build = all
|build = all
|mime_type = .ogg .html
|mime_types = .ogg .html
|i18n = .pot
|i18n = .pot
|comments = based on Firefox
|comments = based on Firefox
}}</nowiki>
}}</nowiki>



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





Revision as of 15:41, 24 November 2007

Template for Activities Grid

{{{icon}}} {{{activity_name}}}
{{{activity_description}}}
{{{comments}}}
{{{activity_bundle}}}
{{{activity_source}}}
Build: {{{build}}}
Mime types: {{{mime_types}}}
Internationalization: {{{i18n}}}


Usage

{{Activity
 |icon                     =  [[Image:web.png|40px]]
 |activity_name            =  [[Browse]]
 |activity_description     =  A web browser
 |activity_bundle          =  [[:Image:Browse.xo|Browse.xo]]
 |activity_source          =  [http://dev.laptop.org/...]
 |build                    =  all
 |mime_types               =  .ogg .html
 |i18n                     =  .pot
 |comments                 =  based on Firefox
 }}


File:Web.png Browse
A web browser
based on Firefox
Browse.xo
[1]
Build: all
Mime types: .ogg .html
Internationalization: .pot