Template:Activity: Difference between revisions

From OLPC
Jump to navigation Jump to search
(..)
m (default, better test)
Line 13: Line 13:


<imagemap>
<imagemap>
Image:Olpc_logo.jpg|200px|olpc logo {{!}}
Image:Olpc_logo.jpg|200px|olpc logo
default [[Wiki]] {{!}}
default [[Wiki]]
desc none
desc none
</imagemap>
</imagemap>


{{#tag:imagemap|
{{#tag:imagemap|
Image:wiki.jpg|200px|wiki logo
Image:olpc_logo.jpg{{!}}200px{{!}}wiki logo
default [[Wiki]]
default [[Wiki]]
desc none
desc none
}}
}}

<!--
Image:Olpc_logo.jpg|40px|{{{activity_name|hello-world}}} icon
rect 0 40 40 0 [[{{{activity_name|Wiki}}}]]
-->


{|border=1 cellpadding=3 cellspacing=0 class="olpc-activity-info"
{|border=1 cellpadding=3 cellspacing=0 class="olpc-activity-info"
|- valign="top"
|- valign="top"
|width= "5%" align="center"| {{#tag:imagemap|
|width= "5%" align="center"| {{#tag:imagemap|
Image:{{{icon|Olpc_logo.jpg}}}|40px|{{{activity_name|Hello mesh}}} icon
Image:{{{icon|Web.png}}}{{!}}40px{{!}}{{{activity_name|Hello mesh}}} icon
rect 0 0 40 40 {{{activity_name|Hello mesh}}}
default [[{{{activity_name|Hello mesh}}}]]
desc none
}}
}}
|width="35%"| '''{{{activity_name|some-name}}}:''' <span class="olpc-activity-id" style="display:none;">{{{activity_id|}}}</span> {{{activity_description}}}<br/>''{{{comments}}}''
|width="35%"| '''{{{activity_name|some-name}}}:''' <span class="olpc-activity-id" style="display:none;">{{{activity_id|}}}</span> {{{activity_description}}}<br/>''{{{comments}}}''

Revision as of 03:30, 29 August 2008

Template for Activities Grid

{{{icon}}} {{{activity_name}}}: {{{activity_description}}}
{{{comments}}}
Download: {{{activity_bundle}}} (v.)
Source: {{{activity_source}}}
Build: {{{build}}}
Mime types: {{{mime_types}}}
Internationalization: {{{i18n}}}
Tags: {{{tags}}}
Development Status: {{{devel_status}}}


Test:

<imagemap> Image:Olpc_logo.jpg|200px|olpc logo default Wiki desc none </imagemap>

<imagemap>

 Image:olpc_logo.jpg|200px|wiki logo
 default Wiki
 desc none

</imagemap>

<imagemap>
Image:Web.png|40px|Hello mesh icon
default  Hello mesh
desc none

</imagemap>

some-name: {{{activity_description}}}
{{{comments}}}
Download: {{{activity_bundle}}} (v.)
Source: {{{activity_source}}}
Build: {{{build}}}
Mime types: {{{mime_types}}}
Internationalization: {{{i18n}}}
Tags: {{{tags}}}
Development Status: {{{devel_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
 }}


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