Template:BugBotRule: Difference between revisions

Jump to navigation Jump to search
Add an option to hide the source code link for removed tools
(Rename the template to BugBotRule)
(Add an option to hide the source code link for removed tools)
Line 10: Line 10:
   | Source    = assignee_but_unconfirmed.py  
   | Source    = assignee_but_unconfirmed.py  
   | Note      = optional parameter, adds an explanation line  
   | Note      = optional parameter, adds an explanation line  
  | Removed  = optional parameter, "yes" if the tool is removed from the source code
}}
}}
</pre>
</pre>
Line 35: Line 36:
   </tr>
   </tr>
}}
}}
{{#if:{{{Removed}}}|
   <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/auto_nag/scripts/{{{ Source }}} {{{ Source }}}]</code></td>
   </tr>
   </tr>
}}
{{#if:{{{Note|}}}|
{{#if:{{{Note|}}}|
   <tr style="vertical-align: top;">
   <tr style="vertical-align: top;">

Navigation menu