Template:OBX activity: Difference between revisions
Jump to navigation
Jump to search
m (cosmetics) |
(categorizing when no icon is available) |
||
Line 1: | Line 1: | ||
{{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>{{-}} |
{{OBX boilerplate html | icon={{{1|[[Image:Xo s.png|21px]]}}} | text = This [[:Category:Activity|activity]] is a [[:Category:{{{2}}}|{{{2}}}]]{{#if:{{{3|}}}|<hr>{{{3}}}}}}}<includeonly>{{#if:{{{1|}}}||[[Category:Missing activity icon|{{PAGENAME}}]]}}[[Category:Activity|{{PAGENAME}}]] [[Category:{{{2}}}|{{PAGENAME}}]]</includeonly><noinclude>{{-}} |
||
== Usage == |
== Usage == |
||
Line 14: | Line 14: | ||
* [[:Category:Activity]] |
* [[:Category:Activity]] |
||
* The specific '''sub'''-category of [[:Category:Activity]] |
* The specific '''sub'''-category of [[:Category:Activity]] |
||
* If no icon is provided, [[:Category:Missing activity icon]] |
|||
== Sample == |
== Sample == |
Revision as of 04:22, 19 September 2007
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
- Category:Activity
- The specific sub-category of Category:Activity
- If no icon is provided, Category:Missing activity icon
Sample
{{OBX activity |[[Image:Kuku.png]]|Game }}
{{OBX activity |[[Image:Kuku.png|21px]]|Game }}
{{OBX activity |[[Image:Kuku.png|42px]]|Game|short for 'Kuku Anakula' – "Hungry Chicken"}}