Template:Goal
From Safiria Wiki
{{{1}}}', {{{3}}}', {{{5}}}', {{{7}}}', {{{9}}}', {{{11}}}', {{{13}}}', {{{15}}}', {{{17}}}', {{{19}}}', {{{21}}}'
This template can be used to mark up a goal when displayed in the {{football box}} template. It supports up to five goals.
It is not intended for use in article prose: only in tables and templates.
Usage
{{goal|min|note}}
- min
- An optional parameter, shows what time the goal was scored.
- note
- Another optional parameter, shows a note about the goal, such as "|-
|{{o.g.}} |Template:O.g.", "|- |{{pen.}} |Template:Pen.", "|- |{{corner}} |Template:Corner", or other note.
Up to five goals can be specified, as follows:
{{goal|min1|note1|min2|note2|min3|note3|min4|note4|min5|note5}}
{{goal|min1|note1|min2|note2|min3|note3|min4|note4|min5|note5}}
If there is no note, just leave the parameter in question blank. The pipe character must still be entered if further goals are added afterwards. If another goal is added after a goal with a note, only a single pipe is needed. However, between goals without notes, double piping "||" is necessary for the template to display all of the goals.
Examples
{{goal}} →
{{goal|67}} →
67'
{{goal|44|o.g.}} →
44' (|-
|{{o.g.}} |Template:O.g.)
{{goal|90+2|pen.}} →
90+2' (|-
|{{pen.}} |Template:Pen.)
{{goal|5||20||90+2|pen.}} →
5', 20', 90+2' (|-
|{{pen.}} |Template:Pen.)
{{goal|14||54|pen.|87}} →
14', 54' (|-
|{{pen.}} |Template:Pen.), 87'