The logo poll for the 2024 4chan Spring Babby Cup is now open. | ||
You can vote here. Logos are in this gallery. | ||
|
Difference between revisions of "Template:Goal"
m (→Usage: OCD) |
Fractalzoom (talk | contribs) |
||
Line 40: | Line 40: | ||
* <code><nowiki>{{goal|5||20||90+2|pen.}}</nowiki> → </code>{{goal|5||20||90+2|pen.}} | * <code><nowiki>{{goal|5||20||90+2|pen.}}</nowiki> → </code>{{goal|5||20||90+2|pen.}} | ||
* <code><nowiki>{{goal|14||54|pen.|87}}</nowiki> → </code>{{goal|14||54|pen.|87}} | * <code><nowiki>{{goal|14||54|pen.|87}}</nowiki> → </code>{{goal|14||54|pen.|87}} | ||
== See also == | |||
:{{goal}} {{tl|goal}} | |||
:{{yel}} {{tl|yel}} {{sent off}} {{tl|sent off}} | |||
:{{subon}} {{tl|subon}} {{suboff}} {{tl|suboff}} | |||
:{{pengoal}} {{tl|pengoal}} {{penmiss}} {{tl|penmiss}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:Match details templates]] | |||
</noinclude> |
Revision as of 14:32, 30 November 2013
{{{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|67}} →
67'{{goal|44|o.g.}} →
44' (o.g.){{goal|90+2|pen.}} →
90+2' (pen.){{goal|5||20||90+2|pen.}} →
5', 20', 90+2' (pen.){{goal|14||54|pen.|87}} →
14', 54' (pen.), 87'