Template:Goal: Difference between revisions
en>Jonesey95 (too many braces) |
m (1 revision imported) |
Revision as of 11:17, 8 February 2019
, {{{3}}}', {{{5}}}', {{{7}}}', {{{9}}}', {{{11}}}', {{{13}}}', {{{15}}}', {{{17}}}', {{{19}}}'
Usage
Displays a goal icon. Two optional parameters are available to display more details about the goal. Multiple goals can be indicated by repeating these parameters. A maximum of ten goals are supported this way; if you need more, call the template multiple times.
{{goal|min1|note1|min2|note2|min3|note3...}}
- min – Shows at what time the goal was scored.
- note – Adds a note for the goal. The following notes will automatically be wikilinked: o.g., pen., p and corner.
Leave the note parameter blank if you don't need it, but don't forget its pipe character if another goal comes after it.
Examples
{{goal}} →
{{goal|67}} →
67'{{goal||o.g.}} →
(o.g.){{goal|44|o.g.}} →
44' (o.g.){{goal|5||20||90+2|pen.}} →
5', 20', 90+2' (pen.){{goal|14||54|p|72||87}} →
14', 54' (p), 72', 87'
Note
Displaying only a note, without the time, is only supported for the first goal.
See also
- {{goal}}
- {{yel}} {{sent off}} {{sent off|1}} {{sent off|2}}
- {{subon}} {{suboff}}
- {{pengoal}} {{penmiss}}
- {{golden 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)
TemplateData
TemplateData for Goal