Template:Golden goal: Difference between revisions
From Hattrick
Jump to navigationJump to search
mNo edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#ifeq: {{{side|right}}}|right| [[File: | {{#ifeq: {{{side|right}}}|right| [[File:Goldball.jpg|16px|Golden goal scored {{#if: {{{1|}}} | in the {{ordinal|{{{1|}}}}} minute }}|link=]] |}}<!-- | ||
-->{{#if: {{{1|<noinclude>-</noinclude>}}} | <span style="font-size: 10px; vertical-align: middle;">{{{1}}}' {{#if: {{{2|}}}| {{#switch: {{{2|}}} | o.g. = ([[Own goal|o.g.]]) |pen. = ([[Penalty kick|pen.]]) | #default = ({{{2}}})}}}}{{#ifeq: {{{side|right}}}|left| [[File: | -->{{#if: {{{1|<noinclude>-</noinclude>}}} | <span style="font-size: 10px; vertical-align: middle;">{{{1}}}' {{#if: {{{2|}}}| {{#switch: {{{2|}}} | o.g. = ([[Own goal|o.g.]]) |pen. = ([[Penalty kick|pen.]]) | #default = ({{{2}}})}}}}{{#ifeq: {{{side|right}}}|left| [[File:Goldball.jpg|16px|Golden goal scored {{#if: {{{1|}}} | in the {{ordinal|{{{1|}}}}} minute }}|link=]] |}}</span> | ||
}}<noinclude> | }}<noinclude> | ||
| Line 18: | Line 18: | ||
==See also== | ==See also== | ||
{{Match report templates}} | {{Match report templates}} | ||
[[Category:Icon]] | [[Category:Icon Template]] | ||
Latest revision as of 22:40, 2 August 2020
{{{1}}}'
Usage
{{golden goal|min|note}}
- min
- optional parameter, time the goal was scored.
- note
- optional parameter, "o.g.", "pen" or other note about the goal.
Examples
{{golden goal}} →
{{golden goal|96}} →
96' {{golden goal|111|o.g.}} →
111' (o.g.){{golden goal|115+2|pen.}} →
115+2' (pen.)