Template:AmFootballGameStatistics/doc
| 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
This template is used to summarize the statistics of both teams in an American football game. It is typically used with Template:AmFootballGameTopPlayers.
Team color lookup uses Module:College color/data for the college level and Module:Gridiron color/data for the NFL level.
{{AmFootballGameStatistics
| Float = <!-- left or right, uses CSS to float the table to one side of the page -->
| Level = <!-- nfl or college (default), used for team color lookup -->
| 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
| 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
| Level = college
| 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 =
| Level =
| Visitor =
| VisitorDisplay = &nbsp;
| Home =
| HomeDisplay = &nbsp;
| VisFirsts =
| VisPlaysYds = –
| VisRushing = –
| VisPassYds =
| VisPassing = ––
| VisTOP =
| HomeFirsts =
| HomePlaysYds = –
| HomeRushing = –
| HomePassYds =
| HomePassing = ––
| HomeTOP =
}}
See also
Tracking categories
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.