Template:Test results

From OLPC
Revision as of 13:54, 24 October 2008 by Charlie (talk | contribs) (Added date property to template.)
Jump to navigation Jump to search

This is the 'Test_results' template. It should be called in the following format:

{{Test_results
|testresult_release=
|testresult_stream=
|testresult_build=a number
|testresult_passfail=Pass or Fail
|testresult_tickets=comma-separated Trac numbers
|testresult_comments=
|testresult_date=
}}

Edit the page to see the template text. It makes semantic annotations for these fields, see e.g. Property:PassFail.

Software release:: Build stream:: Build number:: PassFail:: ,|x|[http://dev.laptop.org/ticket/x #x]}} Comments:: Created::

This template creates the wiki markup text for a row in a table, so the page invoking it must surround it with wiki markup for table top and bottom; see e.g. TestResults 8.2.0.

Special:AddPage/Test_Results prompts you to fill in a form that will add one of these to a page, however because the template has to sit inside a table, that seems to garble the page.