Template:Infobox sports rivalry/doc

From The Democratikan Wiki
Revision as of 03:27, 15 February 2024 by Akarea (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{{{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 ({{{league}}} only){{{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}}}
Lua error in Module:Location_map at line 411: Malformed coordinates value.

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

All attributes are optional. <syntaxhighlight lang="wikitext" style="overflow:auto;"> </syntaxhighlight>

Example

Merseyside Derby
Other namesFriendly Derby, Liverpool Derby
LocationLiverpool, England
TeamsEverton, Liverpool
First meeting13 October 1894

<syntaxhighlight lang="wikitext" style="overflow:auto">

Merseyside Derby
Other namesFriendly Derby, Liverpool Derby
LocationLiverpool, England
TeamsEverton, Liverpool
First meeting13 October 1894

</syntaxhighlight>

TemplateData

TemplateData
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
leagueleague

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