Template:Infobox sports rivalry/doc

From Omniversalis
{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}]]
{{{caption}}}
[[File:{{{team1logo}}}|120x70px]]
{{{team1}}}
[[File:{{{team2logo}}}|120x70px]]
{{{team2}}}
[[File:{{{team3logo}}}|120x70px]]
{{{team3}}}
[[File:{{{team4logo}}}|120x70px]]
{{{team4}}}
Native name {{{native_name}}}
Sport {{{sport}}}
Type {{{type}}}
Teams {{{teams}}}
First meeting {{{firstmeeting}}}
Latest meeting {{{mostrecent}}}
Next meeting {{{nextmeeting}}}
Broadcasters {{{broadcasters}}}
Stadiums {{{stadiums}}}
Trophy {{{trophy}}}
Statistics
Meetings total {{{total}}}
All-time record {{{alltimerecord}}}
All-time series ({{{league}}} only) {{{series}}}
Regular season series {{{regularseason}}}
Postseason results {{{postseason}}}
Largest victory {{{largestvictory}}}
Smallest victory {{{smallestvictory}}}
Largest goal scoring {{{largestscoring}}}
Longest win streak {{{longeststreak}}}
Longest unbeaten streak {{{longestunbeatenstreak}}}
Current win streak {{{currentstreak}}}
Current unbeaten streak {{{currentunbeatenstreak}}}
{{{section_header}}}
{{{section_info}}}
Lua error in Module:Location_map at line 321: No value was provided for longitude.

This template can be used to provide at-a-glance comparative information on articles describing local derby contests. This is designed to give an overview of the derby, not for individual matches.

Usage[edit]

All attributes are optional.

{{Infobox sports rivalry
| wide                    = 
| name                    = <!-- Name or reference to derby or rivalry -->
| image                   = <!-- Image filename -->
| image_size              = 
| alt                     = 
| caption                 = <!-- Caption for the image -->
| team1logo               = 
| team2logo               = 
| team3logo               = 
| team4logo               = 
| team1                   = 
| team2                   = 
| team3                   = 
| team4                   = 
| native_name             = 
| other_names             = <!-- Other names or references to derby or rivalry -->
| sport                   = 
| type                    = 
| city_or_region          = <!-- City or region where derby or rivalry is contested -->
| teams                   = 
| firstmeeting            = <!-- The year or date it was first contested -->
| mostrecent              = 
| nextmeeting             = 
| broadcasters            = 
| stadiums                = 
| trophy                  = 
| total                   = 
| most_wins               = <!-- The team with most derby or rivalry wins so far -->
| most_player_appearances = <!-- The player(s) with most derby or rivalry appearances -->
| top_scorer              = 
| alltimerecord           = 
| series                  = 
| regularseason           = 
| postseason              = 
| largestvictory          = 
| largestscoring          = 
| longeststreak           = 
| longestunbeatenstreak   = 
| currentstreak           = 
| currentunbeatenstreak   = 
| league                  = 
| trophy_series           = 
| smallestvictory         = 
| section_info            = 
| section_header          = 
| map_location            = <!-- The name of a location map as per [[Template:Location map#Available maps]] -->
| map_width               = 
| map_caption             = 
| map_alt                 = 
| map_relief              = 
<!------------------------- TEAM 1 -->
| map_label1              = <!-- If different from |team1 = -->
| map_label1_position     = 
| map_mark1               = 
| coordinates1            = 
<!------------------------- TEAM 2 -->
| map_label2              = <!-- If different from |team2 = -->
| map_label2_position     = 
| map_mark2               = 
| coordinates2            = 
<!------------------------- TEAM 3 -->
| map_label3              = <!-- If different from |team3 = -->
| map_label3_position     = 
| map_mark3               = 
| coordinates3            = 
<!------------------------- TEAM 4 -->
| map_label4              = <!-- If different from |team4 = -->
| map_label4_position     = 
| map_mark4               = 
| coordinates4            =
}}

Example[edit]

Merseyside Derby
Teams Everton, Liverpool
First meeting 13 October 1894
{{Infobox sports rivalry
| name                     = Merseyside Derby
| other_names              = Friendly Derby, Liverpool Derby
| image                    = 
| caption                  = 
| city_or_region           = [[Liverpool, England]]
| firstmeeting             = 13 October 1894
| teams                    = [[Everton F.C.|Everton]], [[Liverpool F.C.|Liverpool]]
| most_wins                = 
| most_player_appearances  = 
}}

TemplateData[edit]

TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Infobox sports rivalry

<templatedata>{ "description": "Provides \"at a glance\" comparative information on regularly occurring sports contests between the same teams, commonly known as \"rivalry games.\" It is intended for use only on pages about the contest series itself, not for individual matches/games/instances of it.", "format": "Template:\n", "params": { "embed": { "label": "Embed inside other infobox", "description": "Setting this to 'yes' changes the layout so it can be displayed as a section of another, broader-purpose infobox", "example": "yes", "type": "boolean", "default": "no" }, "wide": { "label": "Use wide format", "description": "Setting this to yes expands the infobox by 30% to 26em from its default of 20em", "example": "yes", "type": "boolean", "default": "no" }, "name": { "aliases": [ "title" ], "label": "Official name", "description": "The official title used for the series/derby/rivalry game", "example": "Civil War", "type": "line", "default": "Infobox sports rivalry/doc" }, "image": { "aliases": [ "logo" ], "label": "Series image", "description": "Image depicting the series in some way", "type": "wiki-file-name" }, "image_size": { "label": "Image size in pixels", "description": "Set an explicit size for the image (XXpx for width, xXXpx for height, where XX is a positive integer value)", "example": "300px", "type": "line", "default": "220px" }, "image_upright": { "label": "Image size as ratio", "description": "Set image size proportional to its native resolution, where 1 = original size", "example": "1.5", "type": "number", "default": "0.75" }, "alt": { "label": "Image tooltip", "description": "Sets the tooltip shown when hovering the mouse over the image or when read aloud by a screen reader", "example": "Team 1 celebrates after winning the 1981 contest", "type": "string" }, "caption": { "label": "Image caption", "description": "Contextual information to be displayed directly below the image in the toolbox", "example": "Superstar 1 scores the winning goal in 2003", "type": "string" }, "team1logo": {}, "team2logo": {}, "team3logo": {}, "team4logo": {}, "team1": {}, "team2": {}, "team3": {}, "team4": {}, "native name": { "aliases": [ "native_name" ] }, "other names": { "aliases": [ "other_names" ] }, "sport": {}, "type": {}, "locale": { "aliases": [ "city_or_region", "city or region" ] }, "teams": { "aliases": [ "teams involved" ] }, "firstmeeting": { "aliases": [ "first_contested", "first contested" ] }, "mostrecent": {}, "nextmeeting": {}, "broadcasters": {}, "stadiums": {}, "trophy": {}, "total": {}, "most wins": { "aliases": [ "most_wins" ] }, "most player appearances": { "aliases": [ "most_player_appearances" ] }, "top scorer": { "aliases": [ "top_scorer" ] }, "alltimerecord": {}, "series": {}, "regularseason": {}, "postseason": {}, "largestvictory": {}, "largestscoring": {}, "longeststreak": {}, "longestunbeatenstreak": {}, "currentstreak": {}, "currentunbeatenstreak": {}, "league": {}, "trophy series": { "aliases": [ "trophy_series" ] }, "smallestvictory": {}, "section_info": {}, "section_header": {}, "map_location": {}, "map_width": {}, "map_caption": {}, "map_alt": {}, "map_relief": {}, "map_label1": {}, "map_label1_position": {}, "map_mark1": {}, "coordinates1": { "aliases": [ "coordinates" ] }, "map_label2": {}, "map_label2_position": {}, "map_mark2": {}, "coordinates2": {}, "map_label3": {}, "map_label3_position": {}, "map_mark3": {}, "coordinates3": {}, "map_label4": {}, "map_label4_position": {}, "map_mark4": {}, "coordinates4": {} }, "paramOrder": [ "embed", "wide", "name", "image", "image_size", "image_upright", "alt", "caption", "team1", "team1logo", "team2", "team2logo", "team3", "team3logo", "team4", "team4logo", "native name", "other names", "sport", "type", "locale", "teams", "firstmeeting", "mostrecent", "nextmeeting", "broadcasters", "stadiums", "trophy", "total", "most wins", "most player appearances", "top scorer", "alltimerecord", "league", "series", "regularseason", "trophy series", "postseason", "largestvictory", "smallestvictory", "largestscoring", "longeststreak", "longestunbeatenstreak", "currentstreak", "currentunbeatenstreak", "section_header", "section_info", "map_location", "map_width", "map_caption", "map_alt", "map_relief", "map_label1", "map_label1_position", "map_mark1", "coordinates1", "map_label2", "map_label2_position", "map_mark2", "coordinates2", "map_label3", "map_label3_position", "map_mark3", "coordinates3", "map_label4", "map_label4_position", "map_mark4", "coordinates4" ] }</templatedata>

Tracking category[edit]