Template:OBX activity: Difference between revisions

From OLPC
Jump to navigation Jump to search
(new template for activities)
 
m (tweak)
Line 1: Line 1:
{{OBX boilerplate html | icon={{{1}}} | text = This [[:Category:Activity|activity]] is a [[:Category:{{{2}}}]]{{#if:{{{3|}}}|<br>{{{3}}}}}[[Category:Activity|{{PAGENAME}}]] [[Category:{{{2}}}|{{PAGENAME}}]]<noinclude>{{-}}
{{OBX boilerplate html | icon={{{1}}} | text = This [[:Category:Activity|activity]] is a [[:Category:{{{2}}}]]{{#if:{{{3|}}}|<br>{{{3}}}}}}}<includeonly>[[Category:Activity|{{PAGENAME}}]] [[Category:{{{2}}}|{{PAGENAME}}]]</includeonly><noinclude>{{-}}


== Usage ==
== Usage ==

Revision as of 16:42, 18 September 2007

{{{1}}} This activity is a [[:Category:{{{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:Activity in which it should be categorized
  • OPTIONAL — some text you may want after.
{{OBX activity |icon|sub-category }}

Categories

Sample

Kuku.png This activity is a Category:Game


{{OBX activity |[[Image:Kuku.png]]|Game }}
Kuku.png This activity is a Category:Game


{{OBX activity |[[Image:Kuku.png|21px]]|Game }}
Kuku.png This activity is a Category:Game
short for 'Kuku Anakula' that means "Hungry Chicken"


{{OBX activity |[[Image:Kuku.png]]|Game|short for 'Kuku Anakula' that means "Hungry Chicken"}}