Template:OBX activity: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Cat;Activity has been depreciated to Cat:Activities)
(add See also section, mention Form:Activity page and Template:Activity page)
Line 32: Line 32:
{{-}}
{{-}}
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|[[Image:Kuku.png|42px]]|extra|short for 'Kuku Anakula' &ndash; "Hungry Chicken"}}</nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|[[Image:Kuku.png|42px]]|extra|short for 'Kuku Anakula' &ndash; "Hungry Chicken"}}</nowiki>

== 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.





Revision as of 00:14, 10 August 2008

Xo s.png This activity is [[:Category:{{{2}}}|{{{2}}}]]


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. Currently using:
    • core — for things like Journal, Write and other enablers,
    • bundled — things that are currently included in the builds, and
    • extra — other stuff that can be loaded by other means.
  • OPTIONAL — some text you may want after (a horizontal ruler).
{{OBX activity |icon|sub-category }}

Categories

Sample

Kuku.png This activity is extra


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


{{OBX activity |[[Image:Kuku.png|21px]]|extra}}
Kuku.png This activity is extra
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.