From Fedora Project Wiki

(Nest the bug display and add a name= attribute to the <ref> tag)
(Add "unknown" test result)
Line 4: Line 4:
  | inprogress = [[File:Test-result-inprogress.gif|alt=Inprogress|link=]]
  | inprogress = [[File:Test-result-inprogress.gif|alt=Inprogress|link=]]
  | warn = [[File:Test-result-warn.png|alt=Warning|link=]]
  | warn = [[File:Test-result-warn.png|alt=Warning|link=]]
| unknown = [[File:Test-result-unknown.png|alt=Unknown|link=]]
}} {{#ifexist: User:{{{2|}}} | [[User:{{{2}}}|{{{2}}}]]|{{{2|}}}}} {{#if: {{{3|}}} |{{#tag:ref|{{bz|{{{3}}}}}|name={{{3}}}}} {{#if: {{{4|}}} |{{#tag:ref|{{bz|{{{4}}}}}|name={{{4}}}}} {{#if: {{{5|}}} |{{#tag:ref|{{bz|{{{5}}}}}|name={{{5}}}}} {{#if: {{{6|}}} |{{#tag:ref|{{bz|{{{6}}}}}|name={{{6}}}}} {{#if: {{{7|}}} |{{#tag:ref|{{bz|{{{7}}}}}|name={{{7}}}}} }} }} }} }} }} </div></includeonly><noinclude>{{tempdoc}}[[Category:QA Templates|R]]</noinclude>
}} {{#ifexist: User:{{{2|}}} | [[User:{{{2}}}|{{{2}}}]]|{{{2|}}}}} {{#if: {{{3|}}} |{{#tag:ref|{{bz|{{{3}}}}}|name={{{3}}}}} {{#if: {{{4|}}} |{{#tag:ref|{{bz|{{{4}}}}}|name={{{4}}}}} {{#if: {{{5|}}} |{{#tag:ref|{{bz|{{{5}}}}}|name={{{5}}}}} {{#if: {{{6|}}} |{{#tag:ref|{{bz|{{{6}}}}}|name={{{6}}}}} {{#if: {{{7|}}} |{{#tag:ref|{{bz|{{{7}}}}}|name={{{7}}}}} }} }} }} }} }} </div></includeonly><noinclude>{{tempdoc}}[[Category:QA Templates|R]]</noinclude>

Revision as of 15:56, 29 June 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}}
{{result|pass|coconut|bot=true}}
{{result|inprogress|adamwill}}
{{result|fail|jlaska|12345|54321}}
Fail jlaska Cite error: Invalid <ref> tag; name cannot be a simple integer. Use a descriptive title Cite error: Invalid <ref> tag; name cannot be a simple integer. Use a descriptive title
{{result|warn|rhe}} <ref>Brief description about the warning status</ref>
Warning rhe
[1]
{{result|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. Brief description about the warning status