Template:Goal

From Rigged Wiki
Jump to: navigation, search

Goal {{{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.", "pen.", "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
  • {{goal|67}} → Goal 67'
  • {{goal|44|o.g.}} → Goal 44' (o.g.)
  • {{goal|90+2|pen.}} → Goal 90+2' (pen.)
  • {{goal|5||20||90+2|pen.}} → Goal 5'20'90+2' (pen.)
  • {{goal|14||54|pen.|87}} → Goal 14'54' (pen.)87'

See also

Goal {{goal}}
Booked {{yel}} Red card {{sent off}}
Substituted in {{subon}} Substituted off {{suboff}}
Scored {{pengoal}} Missed {{penmiss}}