Template:Activity: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
(48 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<noinclude>Template for Activities Grid
<noinclude>A template to present activity details.
Used on [[Activities/All]] and [[Activities/Other]], and some activity pages.
<br clear="all"></noinclude>
{|border=1 cellpadding=3 cellspacing=0 style="border: 1px #666666 solid; background: #f9f9f9; border-collapse: collapse;"
|-
! width="5%" |
! width="40%" |
! width="20%" |
! width="35% |


<br clear="all"></noinclude>
|-valign="top"
{|border=1 cellpadding=3 cellspacing=0 class="olpc-activity-info"
| [[{{{icon}}}|40px]]
|- valign="top"
|| [[{{{activity_name}}}]]<br/>{{{activity_description}}}
|width= "5%" align="center"| {{{icon|}}}
|| [[{{{activity_bundle}}}]]<br/>[{{{activity_source}}}]
|width="35%"| '''{{{activity_name|''[no name given]''}}}:''' <span class="olpc-activity-id" style="display:none;">{{{activity_id|}}}</span> {{{activity_description}}}<br/>''{{{comments}}}''
|| Build: {{{build}}}<br/>Mime types:{{{mime_types}}}<br/>{{{comments}}}
|width="30%"| '''Download:''' <span class="olpc-activity-url">{{{activity_bundle|''none''}}}</span> (v.<span class="olpc-activity-version">{{{activity_version|?}}}</span>)<br/>'''Source:''' {{{activity_source|''unknown''}}}<br/>'''Build:''' {{{build|?}}}
|width="30%"| '''Mime types:''' {{{mime_types|?}}}<br/>'''Internationalization:''' {{{i18n|?}}}<br/>'''Tags:''' {{{tags|''none''}}}<br/>'''Development Status:''' {{{devel_status|?}}}
|}
|}
<noinclude>
<noinclude>
Line 19: Line 15:
== Usage ==
== Usage ==
<nowiki>{{Activity
<nowiki>{{Activity
|icon = Image:web.png
|icon = [[Image:web.png|40px]]
|activity_name = Browse
|activity_name = [[Browse]]
|activity_description = A web browser
|activity_description = A web browser
|activity_bundle = :Image:Browse.xo|Browse.xo
|activity_bundle = [[:Image:Browse.xo|Browse.xo]]
|activity_source = http://dev.laptop.org/...
|activity_id = org.laptop.Web
|activity_source = [http://dev.laptop.org/git?p=web-activity]
|activity_version = 75
|build = all
|build = all
|mime_types = .ogg .html
|mime_types = .ogg .html
|comments = based on Firefox
|i18n = [https://dev.laptop.org/translate/projects/xo_core/ xo_core]
|comments = Based on Mozilla Firefox
|tags = Tags for searches (separated by ',')
|devel_status = 1-Planning/2-Pre-Alpha/3-Alpha/4-Beta/5-Production-stable/6-Mature
}}</nowiki>
}}</nowiki>


produces


{{Activity
{{Activity
|icon = Image:web.png
|icon = [[Image:web.png|40px]]
|activity_name = Browse
|activity_name = [[Browse]]
|activity_description = A web browser
|activity_description = A web browser
|activity_bundle = :Image:Browse.xo|Browse.xo
|activity_bundle = [[:Image:Browse.xo|Browse.xo]]
|activity_source = http://dev.laptop.org/...
|activity_id = org.laptop.Web
|activity_source = [http://dev.laptop.org/git?p=web-activity]
|activity_version = 75
|build = all
|build = all
|mime_types = .ogg .html
|mime_types = .ogg .html
|comments = based on Firefox
|i18n = [https://dev.laptop.org/translate/projects/xo_core/ xo_core]
|comments = based on Mozilla Firefox
|tags = internet, surfing
|devel_status = 1-Planning/2-Pre-Alpha/3-Alpha/4-Beta/5-Production-stable/6-Mature
}}
}}


== See also ==
* [[Template:Activity-oneline]] used on [[Activity group]] pages
* [[Template:Project-summary]]
* [[Activity microformat]]


[[Category:Template]]</noinclude>
[[Category:Activity microformat templates]]</noinclude>

Latest revision as of 03:21, 11 January 2009

A template to present activity details. Used on Activities/All and Activities/Other, and some activity pages.


[no name given]: {{{activity_description}}}
{{{comments}}}
Download: none (v.?)
Source: unknown
Build: ?
Mime types: ?
Internationalization: ?
Tags: none
Development Status: ?


Usage

{{Activity
 |icon                     =  [[Image:web.png|40px]]
 |activity_name            =  [[Browse]]
 |activity_description     =  A web browser
 |activity_bundle          =  [[:Image:Browse.xo|Browse.xo]]
 |activity_id              =  org.laptop.Web
 |activity_source          =  [http://dev.laptop.org/git?p=web-activity]
 |activity_version         =  75
 |build                    =  all
 |mime_types               =  .ogg .html
 |i18n                     =  [https://dev.laptop.org/translate/projects/xo_core/ xo_core]
 |comments                 =  Based on Mozilla Firefox
 |tags                     =  Tags for searches (separated by ',')
 |devel_status             =  1-Planning/2-Pre-Alpha/3-Alpha/4-Beta/5-Production-stable/6-Mature
 }}

produces


File:Web.png Browse: A web browser
based on Mozilla Firefox
Download: Browse.xo (v.75)
Source: [1]
Build: all
Mime types: .ogg .html
Internationalization: xo_core
Tags: internet, surfing
Development Status: 1-Planning/2-Pre-Alpha/3-Alpha/4-Beta/5-Production-stable/6-Mature


See also