Template:Infobox sports rivalry/doc: Difference between revisions

From The Global Wiki
Jump to navigation Jump to search
en>Aidan721
No edit summary
 
m (1 revision imported)
 
(No difference)

Latest revision as of 01:13, 18 January 2023

Script error: No such module "Parameter names example". 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.

{{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

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".
LocationScript error: No such module "If empty".
LocationsScript error: No such module "If empty".
TeamsScript error: No such module "If empty".
First meetingScript error: No such module "If empty".
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 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

TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this 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