Template:Activity-oneline: Difference between revisions

From OLPC
Jump to navigation Jump to search
(activities subpage for the edit link)
(+link)
Line 4: Line 4:
|- valign="top"
|- valign="top"
|width= "5%" align="center"| [[Image:{{{icon}}}|40px|{{{activity_name|}}} icon]]
|width= "5%" align="center"| [[Image:{{{icon}}}|40px|{{{activity_name|}}} icon]]
|| <div style="font-size:60%; float:right;">{{edit|Activities/{{{activity_bundle_name|Sandbox}}}|edit}}</div> '''[[{{{activity_name|''no name given''}}}]]:''' <span class="olpc-activity-id" style="display:none;">{{{activity_id|}}}</span> {{{activity_description}}}
|| <div style="font-size:60%; float:right;">{{edit|Activities/{{#if {{{activity_bundle_branch}}} | {{{activity_bundle_branch}}} | {{{activity_bundle_name|Sandbox}}} }}|edit}}</div> '''[[{{{activity_name|''no name given''}}}]]:''' <span class="olpc-activity-id" style="display:none;">{{{activity_id|}}}</span> {{{activity_description}}}
''Download'': <span class="olpc-activity-url">[{{{activity_bundle_url}}} {{{activity_bundle_name|''bundle''}}}]</span> (v.<span class="olpc-activity-version">{{{activity_version|?}}}</span>)
''Download'': <span class="olpc-activity-url">[{{{activity_bundle_url}}} {{{activity_bundle_branch|''bundle''}}}]</span> (v.<span class="olpc-activity-version">{{{activity_version|?}}}</span>)
|}
|}
<noinclude>
<noinclude>
Line 18: Line 18:
|activity_bundle = Browse.xo
|activity_bundle = Browse.xo
|activity_bundle_url = http://dev.laptop.org/~marco/Browse-95.xo
|activity_bundle_url = http://dev.laptop.org/~marco/Browse-95.xo
|activity_bundle_name = Browse (G1G1)
|activity_bundle_name = Browse (G1G1) <DEPRECATED>
|activity_bundle_branch = Browse (G1G1)
|activity_version = 95
|activity_version = 95
}}</nowiki>
}}</nowiki>
Line 30: Line 31:
|activity_bundle = Browse.xo
|activity_bundle = Browse.xo
|activity_bundle_url = http://dev.laptop.org/~marco/Browse-95.xo
|activity_bundle_url = http://dev.laptop.org/~marco/Browse-95.xo
|activity_bundle_name = Browse (G1G1)
|activity_bundle_branch = Browse (G1G1)
|activity_version = 95
|activity_version = 95
}}
}}

Revision as of 07:33, 29 August 2008

Template for a one-line summary of an Activity

[[Image:{{{icon}}}|40px| icon]]
[{{fullurl:Activities/{{#if {{{activity_bundle_branch}}} | {{{activity_bundle_branch}}} | Sandbox }}|action=edit}} edit]
''no name given'': {{{activity_description}}}

Download: [{{{activity_bundle_url}}} bundle] (v.?)


Usage

{{Activity-oneline
 |icon                     =  web.png
 |activity_name            =  Browse
 |activity_description     =  A web browser
 |activity_id              =  org.laptop.Web
 |activity_bundle          =  Browse.xo 
 |activity_bundle_url      =  http://dev.laptop.org/~marco/Browse-95.xo
 |activity_bundle_name     =  Browse (G1G1) <DEPRECATED> 
 |activity_bundle_branch   =  Browse (G1G1)
 |activity_version         =  95
 }}


File:Web.png
[{{fullurl:Activities/{{#if Browse (G1G1) | Browse (G1G1) | Sandbox }}|action=edit}} edit]
Browse: A web browser

Download: Browse (G1G1) (v.95)