From Fedora Project Wiki

(allow named parameter 'bot' to indicate bot result)
(add a caption to the 'bot' image to explain what it means.)
Line 1: Line 1:
<includeonly><div>{{#if: {{{bot|}}}|[[File:robot.png|alt=Bot|link=]]||}} {{#switch: {{{1}}}
<includeonly><div>{{#if: {{{bot|}}}|[[File:robot.png|alt=Bot|link=|This result was produced by an automated or scripted test system]]||}} {{#switch: {{{1}}}
  | pass = [[File:Test-result-pass.png|alt=Pass|link=]]
  | pass = [[File:Test-result-pass.png|alt=Pass|link=]]
  | fail = [[File:Test-result-fail.png|alt=Fail|link=]]
  | fail = [[File:Test-result-fail.png|alt=Fail|link=]]

Revision as of 22:05, 7 August 2015

Template documentation [edit]

This documentation is transcluded from Template:Result/doc. It will not be transcluded on pages that use this template.

You'll want to use this template as follows:

{{result
| Must be either pass, fail, warn or none
| FAS Name of tester
| ''(optional)'' one or more bugzilla ID's seperated by the '|' (PIPE) character
}}

Some examples include:

Wiki syntax Display
{{result|none}}
none
{{result|pass|liam}}
Pass pass liam
{{result|pass|coconut|bot=true}}
Bot Pass pass coconut
{{result|inprogress|adamwill}}
Inprogress inprogress adamwill
{{result|fail|jlaska|12345|54321}}
Fail fail jlaska [1] [2]
{{result|warn|rhe}} <ref>Brief description about the warning status</ref>
Warning warn rhe
[3]
{{result|unknown}}

Any bug numbers or reference tags (<ref>) used will need to be displayed somewhere on your page using the <references/> syntax. The following list demonstrates how the above results display when using the <references/> syntax.

  1. RHBZ #12345
  2. RHBZ #54321
  3. Brief description about the warning status