Template:Test results: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (minor formatting change)
(comments)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the 'Test Results' template.
This is the 'Test Results' template.
It should be called in the following format:
It should be called with the following parameters:
<pre>
<pre>
{{Test Results
{{Test Results
|testresult_testcase=
|testresult_testcase=wiki page of a test case
|testresult_release=
|testresult_release=
|testresult_stream=
|testresult_stream=
|testresult_build=
|testresult_build=a number
|testresult_passfail=
|testresult_passfail=Pass or Fail]
|testresult_tickets=
|testresult_tickets=comma-separated Trac numbers
|testresult_comments=
|testresult_comments=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page and preview to see the template text.

It makes semantic annotations for these fields.


{| border="0" cellpadding="4" cellspacing="4"
{| border="0" cellpadding="4" cellspacing="4"
Line 27: Line 29:
<noinclude>
<noinclude>
|}
|}

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.
</noinclude>
</noinclude>

Revision as of 22:29, 2 August 2008

This is the 'Test Results' template. It should be called with the following parameters:

{{Test Results
|testresult_testcase=wiki page of a test case
|testresult_release=
|testresult_stream=
|testresult_build=a number
|testresult_passfail=Pass or Fail]
|testresult_tickets=comma-separated Trac numbers
|testresult_comments=
}}

Edit the page and preview to see the template text.

It makes semantic annotations for these fields.

Test_Case:: Release:: Stream:: Build:: PassFail:: ,|x|Trac bug number::x}} Comments::

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.