Template:Activity-oneline: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Revert to what we started with, which is apparently as good as we can do.)
(Update activity information semantic microformat.)
Line 1: Line 1:
<noinclude>Template for a one-line summary of an [[Activities|Activity]]
<noinclude>Template for a one-line summary of an [[Activities|Activity]]
<br clear="all"></noinclude>
<br clear="all"></noinclude>
{|border=1 cellpadding=3 cellspacing=0 class="{{{activity_id|english-{{anchorencode:{{{activity_name}}}}}}}}"
{|border=1 cellpadding=3 cellspacing=0 class="olpc-activity-info"
|- valign="top"
|- valign="top"
|width= "5%" align="center"| {{{icon}}}
|width= "5%" align="center"| {{{icon}}}
|| '''{{{activity_name}}}:''' {{{activity_description}}} <br/> ''Download'': <span class="activity-url">{{{activity_bundle}}}</span> (v.<span class="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 16:45, 9 July 2008

Template for a one-line summary of an Activity

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


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)