Template:AmFootballGameStatistics/doc
Appearance
This is a documentation subpage for Template:AmFootballGameStatistics. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]{{AmFootballGameStatistics
| Float = <!-- left or right, uses CSS to float the table to one side of the page -->
| Visitor = <!-- Visiting team full name, to determine color formatting -->
| VisitorDisplay = <!-- Visiting team display name -->
| VisitorAltColors = <!-- y or n (default), determines whether to use alt colors for visitor -->
| Home = <!-- Home team full name, to determine color formatting -->
| HomeDisplay = <!-- Home team display name -->
| HomeAltColors = <!-- y or n (default), determines whether to use alt colors for home -->
| VisFirsts =
| VisPlaysYds = <!-- In the format of Plays–Yards -->
| VisRushing = <!-- In the format of Rushes–Yards -->
| VisPassYds =
| VisPassing = <!-- In the format of Completions–Attempts–Ints -->
| VisTOP =
| HomeFirsts =
| HomePlaysYds = <!-- In the format of Plays–Yards -->
| HomeRushing = <!-- In the format of Rushes–Yards -->
| HomePassYds =
| HomePassing = <!-- In the format of Completions-Attempts-Ints -->
| HomeTOP =
}}
Example
[edit]Statistics | Clemson | Alabama |
---|---|---|
First downs | 31 | 16 |
Plays–yards | 99–511 | 66–376 |
Rushes–yards | 7–18 | 34–221 |
Passing yards | 420 | 155 |
Passing: comp–att–int | 36–57–0 | 14–32–0 |
Time of possession | 34:44 | 25:16 |
{{AmFootballGameStatistics
| Float = left
| Visitor = Clemson Tigers
| VisitorDisplay = Clemson
| VisitorAltColors = y
| Home = Alabama Crimson Tide
| HomeDisplay = Alabama
| HomeAltColors = n
| VisFirsts = 31
| VisPlaysYds = 99–511
| VisRushing = 7–18
| VisPassYds = 420
| VisPassing = 36–57–0
| VisTOP = 34:44
| HomeFirsts = 16
| HomePlaysYds = 66–376
| HomeRushing = 34–221
| HomePassYds = 155
| HomePassing = 14–32–0
| HomeTOP = 25:16
}}
{{-}} <!-- Used to clear after the floating table. If using this with Template:AmFootballGameTopPlayers, place this after whichever template is listed last -->
Blank template
[edit]{{AmFootballGameStatistics
| Float =
| Visitor =
| VisitorDisplay = &nbsp;
| Home =
| HomeDisplay = &nbsp;
| VisFirsts =
| VisPlaysYds = –
| VisRushing = –
| VisPassYds =
| VisPassing = ––
| VisTOP =
| HomeFirsts =
| HomePlaysYds = –
| HomeRushing = –
| HomePassYds =
| HomePassing = ––
| HomeTOP =
}}