Difference between revisions of "Template:Golden goal"
Jump to navigation
Jump to search
imported>Primefac m (Protected "Template:Golden goal": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (i...) |
imported>Jonesey95 (add maint cat for ' character in minute value, force apostrophe to prevent inadvertent bad formatting) |
||
Line 1: | Line 1: | ||
[[Image:Soccerball shade gold.svg|13px|Golden goal|link=]]<!-- | [[Image:Soccerball shade gold.svg|13px|Golden goal|link=]]<!-- | ||
− | -->{{#if: {{{1|<noinclude>-</noinclude>}}} | <small style="vertical-align: middle;">{{{1}}} | + | -->{{#if: {{{1|<noinclude>-</noinclude>}}} | <small style="vertical-align: middle;">{{{1}}}{{`}} {{#if: {{{2|}}}| {{#switch: {{{2|}}} |o.g. = ([[Own goal|o.g.]]) |pen. = ([[Penalty kick (association football)|pen.]]) | #default = ({{{2}}})}}}}</small>{{main other|{{#ifeq:{{Str rightmost|{{{1}}}|1}}|'|[[Category:Soccer template needing maintenance]]}}}} |
}}<noinclude> | }}<noinclude> | ||
Latest revision as of 17:45, 16 December 2018
{{{1}}}Template:`
Usage
{{golden goal|min|note}}
- min
- optional parameter, shows what time the goal was scored.
- note
- optional parameter, shows a note about the goal, such as "o.g.", "pen.", "corner" or other note.
{{golden goal}} →
{{golden goal|96}} →
96Template:`
{{golden goal|111|o.g.}} →
111Template:` (o.g.)
{{golden goal|115+2|pen.}} →
115+2Template:` (pen.)
See also
{{goal}}
- Template:Yel {{yel}} Template:Sent off {{sent off}} Template:Sent off {{sent off|1}} Template:Sent off {{sent off|2}}
- Template:Subon {{subon}} Template:Suboff {{suboff}}
- Template:Pengoal {{pengoal}} Template:Penmiss {{penmiss}}
{{golden goal}} Template:Silver goal {{silver goal}}
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)
The above documentation is transcluded from Template:Golden goal/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |