Template:Infobox college sports rivalry/doc

From blackwiki
< Template:Infobox college sports rivalry
Revision as of 21:52, 22 August 2018 by imported>UW Dawgs (→‎Example: spacing)
Jump to navigation Jump to search

Purpose

This is a template to be used to create infoboxes for college sports rivalries.

Usage

Template:Parameter names example

Fields

{{Infobox college sports rivalry
| name                    = <!--Name of rivalry-->
| rivalry_image           = <!--Rivalry image; populate only if there is an official logo used for the rivalry-->
| two_team_image          = <!--Image incorporating logos or helmets for both teams; if populated, do not populate team1_image or team2_image fields-->
| team1_image             = <!--Logo or helmet image for first team, sorted alphabetically; do not populate if two_team_image is populated-->
| team2_image             = <!--Logo or helmet image for second team, sorted alphabetically; do not populate if two_team_image is populated-->
| team1                   = <!--Short name and fight name of first team, sorted alphabetically-->
| team2                   = <!--Short name and fight name of second team, sorted alphabetically-->
| sport                   = <!--Sport or list of sports played in rivalry; separate multiple sports with commas-->
| total_meetings          = <!--Number of meetings played to date-->
| series_record           = <!--Series record to date-->
| first_meeting_date      = <!--Date of first meeting-->
| first_meeting_result    = <!--Result of first meeting-->
| last_meeting_date       = <!--Date of most recent meeting-->
| last_meeting_result     = <!--Result of most recent meeting-->
| next_meeting_date       = <!--Date of next scheduled meeting-->
| largest_win_margin      = <!--Largest margin of victory in the rivalry-->
| longest_win_streak      = <!--Longest win streak in the rivalry-->
| longest_unbeaten_streak = <!--Longest unbeaten streak in the rivalry; populate only in cases where the longest unbeaten streak—i.e. a mixed streak of wins and ties—is longer than the longest win streak-->
| current_win_streak      = <!--Current win streak in the rivalry-->
| current_unbeaten_streak = <!--Current unbeaten streak in the rivalry; populate only in cases where there is a current unbeaten streak—i.e. a mixed streak of wins and ties—that is longer than current win streak; if the most recent result is a tie, and therefore both rivals have a current unbeaten streak, note only the longer unbeaten streak-->
| trophy                  = <!--Trophy awarded in the rivalry-->
| stadiums =<!--If the game is predominantly played in a single stadium-->
}}

Empty

{{Infobox college sports rivalry
| name                    = 
| rivalry_image           = 
| two_team_image          = 
| team1_image             = 
| team2_image             = 
| team1                   = 
| team2                   = 
| sport                   = 
| total_meetings          = 
| series_record           = 
| first_meeting_date      = 
| first_meeting_result    = 
| last_meeting_date       = 
| last_meeting_result     = 
| next_meeting_date       = 
| largest_win_margin      = 
| longest_win_streak      = 
| longest_unbeaten_streak = 
| current_win_streak      = 
| current_unbeaten_streak = 
| trophy                  = 
| stadiums                =
}}

Example

Script error: No such module "If empty".
Script error: No such module "If empty".
Native nameScript error: No such module "If empty".
Other namesScript error: No such module "If empty".
SportFootball
LocaleScript error: No such module "If empty".
TeamsScript error: No such module "If empty".
First meetingScript error: No such module "If empty".
TrophyNone
Most winsScript error: No such module "If empty".
Most player appearancesScript error: No such module "If empty".
Top scorerScript error: No such module "If empty".
Trophy seriesScript error: No such module "If empty".
{{Infobox college sports rivalry
| name                 = Michigan–Ohio State football rivalry
| rivalry_image        = Big Ten Conference logo.png
| two_team_image       = 
| team1_image          = Michigan Wolverines Block M.png
| team2_image          = Buckeyes logo.svg
| team1                = [[Michigan Wolverines football|Michigan Wolverines]]
| team2                = [[Ohio State Buckeyes football|Ohio State Buckeyes]]
| sport                = [[American football|Football]]
| total_meetings       = 107
| series_record        = Michigan leads, 57–43–6
| first_meeting_date   = October 17, 1897
| first_meeting_result = Michigan 34, Ohio State 0
| last_meeting_date    = November 27, 2010
| last_meeting_result  = Ohio State 37, Michigan 7
| next_meeting_date    = November 26, 2011
| largest_win_margin   = Michigan, 86–0 (1902)
| longest_win_streak   = Michigan, 9 (1901–1909)
| current_win_streak   = Ohio State, 6 (2004–present)
| trophy               = None
| stadiums             =
}}

Tracking category