Template:Goal/doc

From RabastorWiki
< Template:Goal
Revision as of 07:50, 2 March 2016 by Admin (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Categories and interwikis go at the bottom of this page. --> == Usage == Displays a goal icon. Two optional parameters are available to displa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory


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

Note

Displaying only a note, without the time, is only supported for the first goal.