Template:AmFootballGameStatistics/doc
Jump to navigation
Jump to search
![]() | This is a documentation subpage for Template:AmFootballGameStatistics. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{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 (typically white text) 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 (typically white text) 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
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
{{AmFootballGameStatistics | Float = | Visitor = | VisitorDisplay = | Home = | HomeDisplay = | VisFirsts = | VisPlaysYds = – | VisRushing = – | VisPassYds = | VisPassing = –– | VisTOP = | HomeFirsts = | HomePlaysYds = – | HomeRushing = – | HomePassYds = | HomePassing = –– | HomeTOP = }}