Difference between revisions of "Template:Buginfobox"

From Alpha Centauri Wiki
Jump to: navigation, search
m
m (rearranging saves, adding thread)
Line 10: Line 10:
 
         <td>Status</td>
 
         <td>Status</td>
 
         <td>{{#if:{{{fixedin|}}}|{{{fixedin}}}|{{{status|unconfirmed}}}}}}{{#if:{{{fixedin|}}}|[[Category:Solved bugs]]|{{#switch:{{{status}}}|Confirmed=[[Category:Confirmed bugs]]|Unconfirmed=[[Category:Unconfirmed bugs]]|Invalid=[[Category:Invalid bugs]]|OneTime=[[Category:Unconfirmed bugs]]|Demonstrated=[[Category:Demonstrated bugs]]|[[Category:Unconfirmed bugs]]}}}}</td>
 
         <td>{{#if:{{{fixedin|}}}|{{{fixedin}}}|{{{status|unconfirmed}}}}}}{{#if:{{{fixedin|}}}|[[Category:Solved bugs]]|{{#switch:{{{status}}}|Confirmed=[[Category:Confirmed bugs]]|Unconfirmed=[[Category:Unconfirmed bugs]]|Invalid=[[Category:Invalid bugs]]|OneTime=[[Category:Unconfirmed bugs]]|Demonstrated=[[Category:Demonstrated bugs]]|[[Category:Unconfirmed bugs]]}}}}</td>
     </tr>
+
     </tr>{{#if:{{{savebefore|}}}|
 
     <tr>
 
     <tr>
         <td>Save before</td>
+
         <td colspan="2">[{{{savebefore|}}} Save before]</td>
        <td>{{{savebefore|}}}</td>
+
     </tr>|}}{{#if:{{{saveafter|}}}|
     </tr>
+
 
     <tr>
 
     <tr>
         <td>Save after</td>
+
         <td colspan="2">[{{{saveafter|}}} Save after]</td>
         <td>{{{saveafter|}}}</td>
+
    </tr>|}}{{#if:{{{thread|}}}|
     </tr>
+
    <tr>
 +
         <td colspan="2">[{{{thread|}}} Thread]</td>
 +
     </tr>|}}
 
     <tr>
 
     <tr>
 
         <td>Category</td>
 
         <td>Category</td>
Line 33: Line 34:
 
|savebefore=
 
|savebefore=
 
|saveafter=
 
|saveafter=
 +
|thread=
 
|category=Crash, Exploit, Bug, Enhancement, Modifiability
 
|category=Crash, Exploit, Bug, Enhancement, Modifiability
 
}}</pre>
 
}}</pre>
Line 43: Line 45:
 
|savebefore= link to save file
 
|savebefore= link to save file
 
|saveafter= link to save file
 
|saveafter= link to save file
 +
|thread=
 
|category=Crash, Exploit, Bug, Enhancement, Modifiability
 
|category=Crash, Exploit, Bug, Enhancement, Modifiability
 
}}</pre>
 
}}</pre>
 
</noinclude>
 
</noinclude>

Revision as of 13:15, 7 March 2013

Use

{{bib|
|version=
|status= Confirmed, Unconfirmed, Invalid, OneTime, Demonstrated
|fixedin=
|savebefore=
|saveafter=
|thread=
|category=Crash, Exploit, Bug, Enhancement, Modifiability
}}
{{bib|
|version= version reported in
|status= Confirmed, Unconfirmed, Invalid, OneTime, Demonstrated (ignored if fixedin is set)
|fixedin= version fixed in
|savebefore= link to save file
|saveafter= link to save file
|thread=
|category=Crash, Exploit, Bug, Enhancement, Modifiability
}}