Template:Result

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Created page with '{{#switch: {{{1}}} | pass = <div style{{=}}"border: solid 0px #CCCCCC; padding: 0px; background-color: green; font-weight: bold;"> | fail = <div style{{=}}"border: solid 0px #...')
 
(Try a different color for inprogress vs warn)
Line 2: Line 2:
 
  | pass = <div style{{=}}"border: solid 0px #CCCCCC; padding: 0px;  background-color: green; font-weight: bold;">
 
  | pass = <div style{{=}}"border: solid 0px #CCCCCC; padding: 0px;  background-color: green; font-weight: bold;">
 
  | fail = <div style{{=}}"border: solid 0px #CCCCCC; padding: 0px;  background-color: red; font-weight: bold;">
 
  | fail = <div style{{=}}"border: solid 0px #CCCCCC; padding: 0px;  background-color: red; font-weight: bold;">
  | inprogress
+
  | inprogress = <div style{{=}}"border: solid 0px #CCCCCC; padding: 0px;  background-color: lightblue; font-weight: bold;">
 
  | warn = <div style{{=}}"border: solid 0px #CCCCCC; padding: 0px;  background-color: yellow; font-weight: bold;">  
 
  | warn = <div style{{=}}"border: solid 0px #CCCCCC; padding: 0px;  background-color: yellow; font-weight: bold;">  
 
  | <div>
 
  | <div>

Revision as of 14:19, 21 December 2009

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|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}}
Unknown 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