Template:Activity-oneline: Difference between revisions

From OLPC
Jump to navigation Jump to search
(..)
(..)
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"| [[Image:{{{icon}}}|40px]]
|width= "5%" align="center"| [[Image:{{{icon}}}|40px|{{{activity_name|}}} icon]]
|| '''[[{{{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>)
|| '''[[{{{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>)
|}
|}

Revision as of 03:44, 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)