Template:OBX test: Difference between revisions

From OLPC
Jump to navigation Jump to search
(template for Category:Test Plans)
 
(categorizing in special category when no plan is given)
Line 1: Line 1:
{{OBX boilerplate html | icon=TST | text = [[:Category:Test Plans|All Plans]] &ndash; {{{1}}}{{#if:{{{2|}}}|<hr>Need re-test: {{{2}}}}}}}<includeonly>[[Category:Test Plans|{{PAGENAME}}]] {{#if:{{{2|}}}|[[Category:Test Plans Updated|{{PAGENAME}}]]}}</includeonly><noinclude>{{-}}
{{OBX boilerplate html | icon=TST | text = [[:Category:Test Plans|All Plans]] &ndash; {{{1}}}{{#if:{{{2|}}}|<hr>Need re-test: {{{2}}}}}}}<includeonly>{{#if:{{{1|}}}|[[Category:Test Plans|{{PAGENAME}}]]|[[Category:Test Plan wanted|{{PAGENAME}}]]}} {{#if:{{{2|}}}|[[Category:Test Plans Updated|{{PAGENAME}}]]}}</includeonly><noinclude>{{-}}


== Usage ==
== Usage ==
Line 11: Line 11:
== Categories ==
== Categories ==


* [[:Category:Test Plans]]
* [[:Category:Test Plans]] (or [[:Category:Test Plans wanted]] if none) {{pending|confirm category}}
* If updated (second optional parameter) [[:Category:Test Plans Updated]] {{pending|(which category?}}
* If updated (second optional parameter) [[:Category:Test Plans updated]] {{pending|(which category?}}


== Sample ==
== Sample ==

Revision as of 00:37, 19 September 2007

TST All Plans – {{{1}}}


Usage

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

  • the wiki-link to where the activity's test plans are located
  • OPTIONAL — a date / version number denoting that the source code changed, and the tests should be done again.
{{OBX test |textplanLink|needsReTest }}

Categories

Sample

TST All PlansKuku


{{OBX test |[[Kuku/Activity Test Plan|Kuku]] }}
TST All PlansKuku
Need re-test: 2007-09-18


{{OBX test |[[Kuku/Activity Test Plan|Kuku]]|2007-09-18 }}