Template:OBX activity: Difference between revisions

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


== Usage ==
== Usage ==
Line 6: Line 6:
* the activity's icon (a wiki link)
* the activity's icon (a wiki link)
* the sub-category of [[:Category:Activity]] in which it should be categorized
* the sub-category of [[:Category:Activity]] in which it should be categorized
* OPTIONAL &mdash; some text you may want after.
* OPTIONAL &mdash; some text you may want after (a horizontal ruler).


<nowiki>{{</nowiki>{{PAGENAME}} |icon|sub-category <nowiki>}}</nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} |icon|sub-category <nowiki>}}</nowiki>
Line 25: Line 25:
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|[[Image:Kuku.png|21px]]|Game }}</nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|[[Image:Kuku.png|21px]]|Game }}</nowiki>


{{{{PAGENAME}} |[[Image:Kuku.png]]|Game|short for 'Kuku Anakula' that means "Hungry Chicken"}}
{{{{PAGENAME}} |[[Image:Kuku.png|42px]]|Game|short for ''Kuku Anakula'' &ndash; "Hungry Chicken"}}
{{-}}
{{-}}
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|[[Image:Kuku.png]]|Game|short for 'Kuku Anakula' that means "Hungry Chicken"}}</nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|[[Image:Kuku.png|42px]]|Game|short for 'Kuku Anakula' &ndash; "Hungry Chicken"}}</nowiki>





Revision as of 17:01, 18 September 2007

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

Categories

Sample

Kuku.png This activity is a Game


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


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


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