Difference between revisions of "Template:Golden goal"

From blackwiki
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>}}} |&nbsp;<small style="vertical-align: middle;">{{{1}}}' {{#if: {{{2|}}}|&nbsp;{{#switch: {{{2|}}} |o.g. = ([[Own goal|o.g.]]) |pen. = ([[Penalty kick (association football)|pen.]]) | #default = ({{{2}}})}}}}</small>
+
-->{{#if: {{{1|<noinclude>-</noinclude>}}} |&nbsp;<small style="vertical-align: middle;">{{{1}}}{{`}} {{#if: {{{2|}}}|&nbsp;{{#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

Golden goal {{{1}}}Template:`

Template documentation[view] [edit] [history] [purge]

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.

See also

Goal {{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 {{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)