Template:Footballbox/doc

From MicrasWiki
< Template:Footballbox
Revision as of 12:54, 18 March 2020 by Joe (talk | contribs) (→‎Usage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Usage

All attributes are optional.

{{Football box
|id           =
|amorian      = <!-- if enabled, uses Americanisms like "vs." and "F/OT" -->
|date         = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
|time         =
|event        =
|round        =
|team1        =
|score        =
|aet          =
|report       =
|team2        =
|goals1       =
|goals2       =
|stadium      =
|attendance   =
|referee      =
|referees     = <!-- If there are multiple referees -->
|penalties1   =
|penaltyscore =
|penalties2   =
|size         = <!-- changes the width; use a percentage; include "%" after the percentage; default is "100%" -->
|bg           = <!-- changes the background color; use a hex color code; include "#" before the hex color code; default is "transparent" -->
}}

Example

{{footballbox
|date = 13 August 2017
|team1 = Senya [[File:Senya flag.png|25px|border|Senya]]
|score =1 – 2
|team2 = [[File:Tellia flag.png|25px|border|Tellia]] Tellia
|goals1 = [[Alesandrœ Danetskë|Danetskë]] {{goal|36}}
|goals2 = [[Sezer Özker|Özker]] {{goal|2}}<br>[[Marko Zajc|Zajc]] {{goal|42}}
|stadium = [[The Snakepit]], [[Svorgas]]
}}

produces:

13 August 2017
Senya Senya 1 – 2 Tellia Tellia
Danetskë Goal 36' Özker Goal 2'
Zajc Goal 42'