Template:BugBotRule: Difference between revisions

Style the rule ID
(Undo revision 1246326)
(Style the rule ID)
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
<pre>
<pre>
{{BugBotRule
{{BugBotRule
  | Rule ID  = 145
   | Rule name = Bug assigned but marked as <code>UNCONFIRMED</code>
   | Rule name = Bug assigned but marked as <code>UNCONFIRMED</code>
   | Purpose  = Mitigate an issue in Bugzilla (bugs reported by new users are not tagged as <code>NEW</code>)
   | Purpose  = Mitigate an issue in Bugzilla (bugs reported by new users are not tagged as <code>NEW</code>)
Line 14: Line 15:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly><h3 id="{{{ Source }}}" style="font-weight: unset; margin-bottom: 0; font-size: 130%; "> {{{ Rule name }}}</h3>
</noinclude><includeonly>
<h3 id="{{{ Source }}}" style="font-weight: unset; margin-bottom: 0; font-size: 130%; ">
{{#if:{{{Rule ID|}}}|
<span id="rule-{{{ Rule ID }}}" style="font-weight: lighter; ">Rule {{{ Rule ID }}}:</span>
}}
{{{ Rule name }}}
</h3>
<table style="border-collapse: collapse; text-align: left; width: calc(100% - 20px); margin: 0 10px 0 0;">
<table style="border-collapse: collapse; text-align: left; width: calc(100% - 20px); margin: 0 10px 0 0;">
   <tr style="vertical-align: top;">
   <tr style="vertical-align: top;">
Line 39: Line 46:
   <tr style="vertical-align: top;">
   <tr style="vertical-align: top;">
     <th style="border: 1px solid lavender; padding: 0 0.5em;">Code</th>
     <th style="border: 1px solid lavender; padding: 0 0.5em;">Code</th>
     <td style="border: 1px solid lavender; padding: 0 0.5em;"><code>[https://github.com/mozilla/bugbot/blob/master/auto_nag/scripts/{{{ Source }}} {{{ Source }}}]</code></td>
     <td style="border: 1px solid lavender; padding: 0 0.5em;"><code>[https://github.com/mozilla/bugbot/blob/master/bugbot/rules/{{{ Source }}} {{{ Source }}}]</code></td>
   </tr>
   </tr>
}}
}}