Jump to content

Template:Infobox sports rivalry/doc

From Wikipedia, the free encyclopedia
{{{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}}}
Other names{{{other_names}}}
Sport{{{sport}}}
Type{{{type}}}
Location{{{city_or_region}}}
Teams{{{teams}}}
First meeting{{{firstmeeting}}}
Latest meeting{{{mostrecent}}}
Next meeting{{{nextmeeting}}}
Broadcasters{{{broadcasters}}}
Stadiums{{{stadiums}}}
Trophy{{{trophy}}}
Statistics
Meetings total{{{total}}}
Most wins{{{most_wins}}}
Most player appearances{{{most_player_appearances}}}
Top scorer{{{top_scorer}}}
All-time record{{{alltimerecord}}}
All-time series{{{series}}}
Regular season series{{{regularseason}}}
Trophy series{{{trophy_series}}}
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}}}
{{{map_alt}}}
[[File:{{{map_mark1}}}|8x8px|{{{map_label1}}}|link=|class=notpageimage]]
{{{map_label1}}}
{{{map_caption}}}

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
Other namesFriendly Derby, Liverpool Derby
LocationLiverpool, England
TeamsEverton, Liverpool
First meeting13 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]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox sports rivalry in articles based on its TemplateData.

TemplateData for Infobox sports rivalry

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.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Embed inside other infoboxembed

Setting this to 'yes' changes the layout so it can be displayed as a section of another, broader-purpose infobox

Default
no
Example
yes
Booleanoptional
Use wide formatwide

Setting this to yes expands the infobox by 30% to 26em from its default of 20em

Default
no
Example
yes
Booleanoptional
Official namename title

The official title used for the series/derby/rivalry game

Default
{{PAGENAMEBASE}}
Example
Civil War
Lineoptional
Series imageimage logo

Image depicting the series in some way

Fileoptional
Image size in pixelsimage_size

Set an explicit size for the image (XXpx for width, xXXpx for height, where XX is a positive integer value)

Default
220px
Example
300px
Lineoptional
Image size as ratioimage_upright

Set image size proportional to its native resolution, where 1 = original size

Default
0.75
Example
1.5
Numberoptional
Image tooltipalt

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
Stringoptional
Image captioncaption

Contextual information to be displayed directly below the image in the toolbox

Example
Superstar 1 scores the winning goal in 2003
Stringoptional
team1team1

no description

Unknownoptional
team1logoteam1logo

no description

Unknownoptional
team2team2

no description

Unknownoptional
team2logoteam2logo

no description

Unknownoptional
team3team3

no description

Unknownoptional
team3logoteam3logo

no description

Unknownoptional
team4team4

no description

Unknownoptional
team4logoteam4logo

no description

Unknownoptional
native namenative name native_name

no description

Unknownoptional
other namesother names other_names

no description

Unknownoptional
sportsport

no description

Unknownoptional
typetype

no description

Unknownoptional
localelocale city_or_region city or region

no description

Unknownoptional
teamsteams teams involved

no description

Unknownoptional
firstmeetingfirstmeeting first_contested first contested

no description

Unknownoptional
mostrecentmostrecent

no description

Unknownoptional
nextmeetingnextmeeting

no description

Unknownoptional
broadcastersbroadcasters

no description

Unknownoptional
stadiumsstadiums

no description

Unknownoptional
trophytrophy

no description

Unknownoptional
totaltotal

no description

Unknownoptional
most winsmost wins most_wins

no description

Unknownoptional
most player appearancesmost player appearances most_player_appearances

no description

Unknownoptional
top scorertop scorer top_scorer

no description

Unknownoptional
alltimerecordalltimerecord

no description

Unknownoptional
tournamenttournament

no description

Unknownoptional
seriesseries

no description

Unknownoptional
regularseasonregularseason

no description

Unknownoptional
trophy seriestrophy series trophy_series

no description

Unknownoptional
postseasonpostseason

no description

Unknownoptional
largestvictorylargestvictory

no description

Unknownoptional
smallestvictorysmallestvictory

no description

Unknownoptional
largestscoringlargestscoring

no description

Unknownoptional
longeststreaklongeststreak

no description

Unknownoptional
longestunbeatenstreaklongestunbeatenstreak

no description

Unknownoptional
currentstreakcurrentstreak

no description

Unknownoptional
currentunbeatenstreakcurrentunbeatenstreak

no description

Unknownoptional
section_headersection_header

no description

Unknownoptional
section_infosection_info

no description

Unknownoptional
map_locationmap_location

no description

Unknownoptional
map_widthmap_width

no description

Unknownoptional
map_captionmap_caption

no description

Unknownoptional
map_altmap_alt

no description

Unknownoptional
map_reliefmap_relief

no description

Unknownoptional
map_label1map_label1

no description

Unknownoptional
map_label1_positionmap_label1_position

no description

Unknownoptional
map_mark1map_mark1

no description

Unknownoptional
coordinates1coordinates1 coordinates

no description

Unknownoptional
map_label2map_label2

no description

Unknownoptional
map_label2_positionmap_label2_position

no description

Unknownoptional
map_mark2map_mark2

no description

Unknownoptional
coordinates2coordinates2

no description

Unknownoptional
map_label3map_label3

no description

Unknownoptional
map_label3_positionmap_label3_position

no description

Unknownoptional
map_mark3map_mark3

no description

Unknownoptional
coordinates3coordinates3

no description

Unknownoptional
map_label4map_label4

no description

Unknownoptional
map_label4_positionmap_label4_position

no description

Unknownoptional
map_mark4map_mark4

no description

Unknownoptional
coordinates4coordinates4

no description

Unknownoptional

Tracking category

[edit]