Difference between revisions of "Template:Blood bin"

From blackwiki
Jump to navigation Jump to search
imported>PeeJay
(oops)
imported>Jonesey95
(add maint cat for ' character in minute value, force apostrophe to prevent inadvertent bad formatting)
Line 1: Line 1:
 
[[File:Cruz Roja.svg|10px|Sent to blood bin|link=]]<!--
 
[[File:Cruz Roja.svg|10px|Sent to blood bin|link=]]<!--
 
-->{{#if: {{{1|<noinclude>-</noinclude>}}}{{{2|<noinclude>-</noinclude>}}} |
 
-->{{#if: {{{1|<noinclude>-</noinclude>}}}{{{2|<noinclude>-</noinclude>}}} |
<small style="vertical-align: middle;"> {{{1}}}' to {{{2}}}'</small>
+
<small style="vertical-align: middle;"> {{{1}}}{{`}} to {{{2}}}{{`}}</small>
}}<noinclude>
+
}}{{#if: {{{2|}}}|{{main other|{{#ifeq:{{Str rightmost|{{{2}}}|1}}|'|[[Category:Soccer template needing maintenance]]}}}}}}{{#if: {{{3|}}}|{{main other|{{#ifeq:{{Str rightmost|{{{3}}}|1}}|'|[[Category:Soccer template needing maintenance]]}}}}}}{{#if: {{{4|}}}|{{main other|{{#ifeq:{{Str rightmost|{{{4}}}|1}}|'|[[Category:Soccer template needing maintenance]]}}}}}}<noinclude>
  
 
==Usage==
 
==Usage==
 
<code><nowiki>{{blood bin|min from|min to}}</nowiki></code>
 
<code><nowiki>{{blood bin|min from|min to}}</nowiki></code>
 
;''min from'', ''min to''
 
;''min from'', ''min to''
:optional parameters (required together), time player entered and exited the blood bin.
+
:optional parameters (required together), time player entered and exited the blood bin. Do not include an apostrophe to indicate "minutes"; it is added automatically by the template.
  
 
''e.g.''
 
''e.g.''
Line 16: Line 16:
 
{{Rugby match report templates}}
 
{{Rugby match report templates}}
  
 +
==Tracking categories==
 +
{{clc|Soccer template needing maintenance}}: for templates using an apostrophe at the end of a minute value (remove the apostrophe to fix the error)
 
[[Category:Rugby union templates]]
 
[[Category:Rugby union templates]]
  
 
</noinclude>
 
</noinclude>

Revision as of 17:29, 4 December 2019

Sent to blood bin {{{1}}}Template:` to {{{2}}}Template:`

Usage

{{blood bin|min from|min to}}

min from, min to
optional parameters (required together), time player entered and exited the blood bin. Do not include an apostrophe to indicate "minutes"; it is added automatically by the template.

e.g.

See also

Template:Rugby match report templates

Tracking categories

Category:Soccer template needing maintenance (0): for templates using an apostrophe at the end of a minute value (remove the apostrophe to fix the error)