Template:Activity-oneline: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Update activity information semantic microformat.)
(Replace activity_id and activity_version with '' if not defined.)
Line 4: Line 4:
|- valign="top"
|- valign="top"
|width= "5%" align="center"| {{{icon}}}
|width= "5%" align="center"| {{{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}}}:''' <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>)
|}
|}
<noinclude>
<noinclude>

Revision as of 17:58, 9 July 2008

Template for a one-line summary of an Activity

{{{icon}}} {{{activity_name}}}: {{{activity_description}}}
Download: {{{activity_bundle}}} (v.)


Usage

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


File:Web.png Browse: A web browser
Download: Browse.xo (v.75)