From Fedora Project Wiki

(Let's try adding icons instead of color)
m (Add inprogress image)
Line 2: Line 2:
  | pass = [[File:Test-result-pass.png]] <div style{{=}}"border: solid 0px #CCCCCC; padding: 0px;  background-color: green; font-weight: bold;">
  | pass = [[File:Test-result-pass.png]] <div style{{=}}"border: solid 0px #CCCCCC; padding: 0px;  background-color: green; font-weight: bold;">
  | fail = [[File:Test-result-fail.png]] <div style{{=}}"border: solid 0px #CCCCCC; padding: 0px;  background-color: red; font-weight: bold;">
  | fail = [[File:Test-result-fail.png]] <div style{{=}}"border: solid 0px #CCCCCC; padding: 0px;  background-color: red; font-weight: bold;">
  | inprogress = <div style{{=}}"border: solid 0px #CCCCCC; padding: 0px;  background-color: orange; font-weight: bold;">  
  | inprogress = [[File:Test-result-inprogress.png]] <div style{{=}}"border: solid 0px #CCCCCC; padding: 0px;  background-color: orange; font-weight: bold;">  
  | warn = [[File:Test-result-warn.png]] <div style{{=}}"border: solid 0px #CCCCCC; padding: 0px;  background-color: yellow; font-weight: bold;">  
  | warn = [[File:Test-result-warn.png]] <div style{{=}}"border: solid 0px #CCCCCC; padding: 0px;  background-color: yellow; font-weight: bold;">  
  | <div>
  | <div>

Revision as of 21:21, 11 January 2010

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}}
{{result|pass|liam}} Test-result-pass.png
{{result|pass|coconut|bot=true}} Test-result-pass.png
{{result|inprogress|adamwill}} File:Test-result-inprogress.png
{{result|fail|jlaska|12345|54321}} Test-result-fail.png [1] [2]
{{result|warn|rhe}} <ref>Brief description about the warning status</ref> Test-result-warn.png
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