Template:OBX activity

From OLPC
Revision as of 00:32, 16 March 2009 by Skierpage (talk | contribs) (→‎Usage: markup)
Jump to navigation Jump to search
Xo s.png


Usage

Used to declare the type of activity being documented. Has three (unnamed) parameters:

  • the activity's icon (a wiki link)
  • the sub-category of Category:Activities in which it should be categorized. This uses the

obsolete notion of:

    • core — for actvities like Journal, Write and other key functionality,
    • bundled — things that are currently included in the builds, and
    • extra — other activities that users can add themselves (now every activity besides Journal is in this activity.
  • OPTIONAL — some text you may want after (a horizontal ruler).

Set the second parameter to "extra" or blank and nothing will show; "core" and "bundled" are

{{OBX activity |icon|sub-category }}

Categories

Sample

Kuku.png


{{OBX activity |[[Image:Kuku.png]]|extra}}
Kuku.png


{{OBX activity |[[Image:Kuku.png|21px]]|extra}}
Kuku.png
short for Kuku Anakula – "Hungry Chicken"


{{OBX activity |[[Image:Kuku.png|42px]]|extra|short for 'Kuku Anakula' – "Hungry Chicken"}}

See also

  • Form:Activity is a form that updates semantic info in activity pages, storing it in Template:Activity page. Its information and approach needs to be merged with the OBX activity templates. See e.g. Browse, note the "edit with form" tab, and scroll down to the bottom to see the template output and factbox.