Template:Result

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
m (Fixed image link)
m (Remove images)
Line 6: Line 6:
 
  | <div>
 
  | <div>
 
}} {{#switch: {{{1}}}
 
}} {{#switch: {{{1}}}
  | pass = [[File:Test-result-pass.png|{{{2}}}]] {{#if: {{{2|}}} |[[User:{{{2}}}|<span style{{=}}"color:white;">{{{2}}}</span>]]}}
+
  | pass
  | fail = [[File:Test-result-fail.png|{{{2}}}]] {{#if: {{{2|}}} |[[User:{{{2}}}|<span style{{=}}"color:white;">{{{2}}}</span>]]}}
+
  | fail = {{#if: {{{2|}}} |[[User:{{{2}}}|<span style{{=}}"color:white;">{{{2}}}</span>]]}}
  | warn = [[File:Test-result-warn.png|{{{2}}}]] {{#if: {{{2|}}} |[[User:{{{2}}}|{{{2}}}]]}}
+
  | warn
  | inprogress = [[File:Test-result-inprogress.gif|{{{2}}}]] {{#if: {{{2|}}} |[[User:{{{2}}}|{{{2}}}]]}}
+
  | inprogress = {{#if: {{{2|}}} |[[User:{{{2}}}|{{{2}}}]]}}
 
}} </div> {{#if: {{{3|}}} |{{#tag:ref|{{bz|{{{3|}}}}}}}}} {{#if: {{{4|}}} |{{#tag:ref|{{bz|{{{4}}}}}}}}} {{#if: {{{5|}}} |{{#tag:ref|{{bz|{{{5}}}}}}}}} {{#if: {{{6|}}} |{{#tag:ref|{{bz|{{{6}}}}}}}}} {{#if: {{{7|}}} |{{#tag:ref|{{bz|{{{7}}}}}}}}} <noinclude>{{tempdoc}}</noinclude>
 
}} </div> {{#if: {{{3|}}} |{{#tag:ref|{{bz|{{{3|}}}}}}}}} {{#if: {{{4|}}} |{{#tag:ref|{{bz|{{{4}}}}}}}}} {{#if: {{{5|}}} |{{#tag:ref|{{bz|{{{5}}}}}}}}} {{#if: {{{6|}}} |{{#tag:ref|{{bz|{{{6}}}}}}}}} {{#if: {{{7|}}} |{{#tag:ref|{{bz|{{{7}}}}}}}}} <noinclude>{{tempdoc}}</noinclude>

Revision as of 21:53, 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}}
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