Template:Activity-oneline: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Replace activity_id and activity_version with '' if not defined.)
(clean up data)
Line 3: Line 3:
{|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"| {{{icon}}}
|width= "5%" align="center"| [[Image:{{{icon}}}|40px|{{{activity_name|}}} icon]]
|| '''{{{activity_name}}}:''' <span class="olpc-activity-id" style="display:none;">{{{activity_id|}}}</span> {{{activity_description}}} <br/> ''Download'': <span class="olpc-activity-url">{{{activity_bundle}}}</span> (v.<span class="olpc-activity-version">{{{activity_version|}}}</span>)
|| '''[[{{{activity_name|''no name given''}}}]]:''' <span class="olpc-activity-id" style="display:none;">{{{activity_id|}}}</span> {{{activity_description}}} <br/> ''Download'': <span class="olpc-activity-url">[[{{{activity_bundle_file}}}|{{{activity_bundle_name|''bundle''}}}</span> (v.<span class="olpc-activity-version">{{{activity_version|?}}}</span>)
|}
|}
<noinclude>
<noinclude>
Line 11: Line 11:
== Usage ==
== Usage ==
<nowiki>{{Activity-oneline
<nowiki>{{Activity-oneline
|icon = [[Image:web.png|40px]]
|icon = web.png
|activity_name = [[Browse]]
|activity_name = Browse
|activity_description = A web browser
|activity_description = A web browser
|activity_id = org.laptop.Web
|activity_id = org.laptop.Web
|activity_bundle = [[:Image:Browse.xo|Browse.xo]]
|activity_bundle = [[:Image:Browse.xo|Browse.xo]]
|activity_bundle_file = Browse.xo
|activity_bundle_name = Browse for 8.2 (alpha)
|activity_version = 75
|activity_version = 75
}}</nowiki>
}}</nowiki>
Line 21: Line 23:


{{Activity-oneline
{{Activity-oneline
|icon = [[Image:web.png|40px]]
|icon = web.png
|activity_name = [[Browse]]
|activity_name = Browse
|activity_description = A web browser
|activity_description = A web browser
|activity_id = org.laptop.Web
|activity_id = org.laptop.Web
|activity_bundle = [[:Image:Browse.xo|Browse.xo]]
|activity_bundle = [[:Image:Browse.xo|Browse.xo]]
|activity_bundle_file = Browse.xo
|activity_bundle_name = Browse for 8.2 (alpha)
|activity_version = 75
|activity_version = 75
}}
}}

Revision as of 03:43, 29 August 2008

Template for a one-line summary of an Activity

[[Image:{{{icon}}}|40px| icon]] ''no name given'': {{{activity_description}}}
Download: [[{{{activity_bundle_file}}}|bundle (v.?)


Usage

{{Activity-oneline
 |icon                     =  web.png
 |activity_name            =  Browse
 |activity_description     =  A web browser
 |activity_id              =  org.laptop.Web
 |activity_bundle          =  [[:Image:Browse.xo|Browse.xo]]
 |activity_bundle_file     =  Browse.xo 
 |activity_bundle_name     =  Browse for 8.2 (alpha)
 |activity_version         =  75
 }}


File:Web.png Browse: A web browser
Download: [[Browse.xo|Browse for 8.2 (alpha) (v.75)