Template:Bug box: Difference between revisions

From FreeAllegiance Wiki
Jump to navigationJump to search
m (typo)
(Replaced with infocols)
Line 1: Line 1:
{| class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 0.5em 0.5em; border-spacing: 0; width: 20em; text-align:center" cellspacing="0" cellpadding="3"
{{infocol| {{infohead| Bug {{{1}}}</br>
|-
                      {{{2}}}                                  }}
! colspan="2" style="text-align: center; solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Bug # {{{1}}}<br>{{{2}}}
          {{infoitem| Submitter | {{{4}}} on {{{3}}}           }}
|-
          {{infoitem| Urgency   | {{{5}}}                       }}
| valign="top" width=30%|Submitted
          {{infoitem| Status   | {{{6}}}                      }}
|valign="top"| <small>{{{3}}}</small>
          {{infocntr| [[Bug_list/Bug_{{{1}}}|More information]] }}
|-
}}
| valign="top"|By
 
|valign="top"|<small>{{{4}}}</small>
|-
| valign="top"|'''Urgency
|valign="top"|{{{5}}} / 10
|-
| valign="top"|'''Status
|valign="top"|{{{6}}}
|-
|style="border-top: 1px solid #aaa" colspan=2|[[Bug_list/Bug_{{{1}}}|More info on bug {{{1}}}]]
|}
==={{{2}}}===
==={{{2}}}===
<noinclude>{{clear}}<br><br>
<noinclude>{{clear}}<br><br>
=Usage=
==Usage==
<tt><nowiki>{{Bug box|Bug number|Name|The date bug was submitted|The name of the submitter|Current status of development}}</nowiki></tt>
<tt><nowiki>{{Bug box|Bug number|Name|The date bug was submitted|The name of the submitter|Current status of development}}</nowiki></tt>


If you are the submitter use <nowiki>~~~</nowiki> to input your name. Use <nowiki>~~~~~</nowiki> to input the current date.
If you are the submitter use <nowiki>~~~</nowiki> to input your name. Use <nowiki>~~~~~</nowiki> to input the current date.
__NOTOC__
__NOTOC__
=Example=
==Example==
  <nowiki>{{Bug box|341|Example bug|~~~~~|~~~|3|New}}</nowiki>
  <nowiki>{{Bug box|341|Example bug|~~~~~|~~~|3|New}}</nowiki>
produces:
produces:

Revision as of 17:26, 5 March 2009

Bug {{{1}}}
                      {{{2}}}                                   
Submitter {{{4}}} on {{{3}}}
Urgency {{{5}}}
Status {{{6}}}
[[Bug_list/Bug_{{{1}}}|More information]]

{{{2}}}




Usage

{{Bug box|Bug number|Name|The date bug was submitted|The name of the submitter|Current status of development}}

If you are the submitter use ~~~ to input your name. Use ~~~~~ to input the current date.

Example

{{Bug box|341|Example bug|~~~~~|~~~|3|New}}

produces:


Bug 341
                      Example bug                                   
Submitter juckto on 23:30, 17 February 2009 (UTC)
Urgency 3
Status New
More information

Example bug