Difference between revisions of "Template:Blood bin"
Jump to navigation
Jump to search
imported>Jonesey95 (add maint cat for ' character in minute value, force apostrophe to prevent inadvertent bad formatting) |
imported>Jonesey95 (fix copy/paste error) |
||
| Line 2: | Line 2: | ||
-->{{#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> | ||
| − | }}{{#if: {{{ | + | }}{{#if: {{{1|}}}|{{main other|{{#ifeq:{{Str rightmost|{{{1}}}|1}}|'|[[Category:Soccer template needing maintenance]]}}}}}}{{#if: {{{2|}}}|{{main other|{{#ifeq:{{Str rightmost|{{{2}}}|1}}|'|[[Category:Soccer template needing maintenance]]}}}}}}<noinclude> |
==Usage== | ==Usage== | ||
Latest revision as of 17:34, 4 December 2019
{{{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.
{{blood bin}} ->Sent to blood bin{{blood bin|67|77}} ->Sent to blood bin 67Template:` to 77Template:`
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)