Template:Infobox sports rivalry/sandbox
This is the template sandbox page for Template:Infobox sports rivalry (diff). See also the companion subpage for test cases. |
This template uses Lua: |
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}]] | |
Native name | {{{native_name}}} |
---|---|
Other names | {{{other_names}}} |
Sport | {{{sport}}} |
Type | {{{type}}} |
Locale | {{{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}}} | |
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]Other names | Friendly Derby, Liverpool Derby |
---|---|
Location | Liverpool, England |
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 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Embed inside other infobox | embed | Setting this to 'yes' changes the layout so it can be displayed as a section of another, broader-purpose infobox
| Boolean | optional |
Use wide format | wide | Setting this to yes expands the infobox by 30% to 26em from its default of 20em
| Boolean | optional |
Official name | name title | The official title used for the series/derby/rivalry game
| Line | optional |
Series image | image logo | Image depicting the series in some way | File | optional |
Image size in pixels | image_size | Set an explicit size for the image (XXpx for width, xXXpx for height, where XX is a positive integer value)
| Line | optional |
Image size as ratio | image_upright | Set image size proportional to its native resolution, where 1 = original size
| Number | optional |
Image tooltip | alt | Sets the tooltip shown when hovering the mouse over the image or when read aloud by a screen reader
| String | optional |
Image caption | caption | Contextual information to be displayed directly below the image in the toolbox
| String | optional |
team1 | team1 | no description | Unknown | optional |
team1logo | team1logo | no description | Unknown | optional |
team2 | team2 | no description | Unknown | optional |
team2logo | team2logo | no description | Unknown | optional |
team3 | team3 | no description | Unknown | optional |
team3logo | team3logo | no description | Unknown | optional |
team4 | team4 | no description | Unknown | optional |
team4logo | team4logo | no description | Unknown | optional |
native name | native name native_name | no description | Unknown | optional |
other names | other names other_names | no description | Unknown | optional |
sport | sport | no description | Unknown | optional |
type | type | no description | Unknown | optional |
locale | locale city_or_region city or region | no description | Unknown | optional |
teams | teams teams involved | no description | Unknown | optional |
firstmeeting | firstmeeting first_contested first contested | no description | Unknown | optional |
mostrecent | mostrecent | no description | Unknown | optional |
nextmeeting | nextmeeting | no description | Unknown | optional |
broadcasters | broadcasters | no description | Unknown | optional |
stadiums | stadiums | no description | Unknown | optional |
trophy | trophy | no description | Unknown | optional |
total | total | no description | Unknown | optional |
most wins | most wins most_wins | no description | Unknown | optional |
most player appearances | most player appearances most_player_appearances | no description | Unknown | optional |
top scorer | top scorer top_scorer | no description | Unknown | optional |
alltimerecord | alltimerecord | no description | Unknown | optional |
tournament | tournament | no description | Unknown | optional |
series | series | no description | Unknown | optional |
regularseason | regularseason | no description | Unknown | optional |
trophy series | trophy series trophy_series | no description | Unknown | optional |
postseason | postseason | no description | Unknown | optional |
largestvictory | largestvictory | no description | Unknown | optional |
smallestvictory | smallestvictory | no description | Unknown | optional |
largestscoring | largestscoring | no description | Unknown | optional |
longeststreak | longeststreak | no description | Unknown | optional |
longestunbeatenstreak | longestunbeatenstreak | no description | Unknown | optional |
currentstreak | currentstreak | no description | Unknown | optional |
currentunbeatenstreak | currentunbeatenstreak | no description | Unknown | optional |
section_header | section_header | no description | Unknown | optional |
section_info | section_info | no description | Unknown | optional |
map_location | map_location | no description | Unknown | optional |
map_width | map_width | no description | Unknown | optional |
map_caption | map_caption | no description | Unknown | optional |
map_alt | map_alt | no description | Unknown | optional |
map_relief | map_relief | no description | Unknown | optional |
map_label1 | map_label1 | no description | Unknown | optional |
map_label1_position | map_label1_position | no description | Unknown | optional |
map_mark1 | map_mark1 | no description | Unknown | optional |
coordinates1 | coordinates1 coordinates | no description | Unknown | optional |
map_label2 | map_label2 | no description | Unknown | optional |
map_label2_position | map_label2_position | no description | Unknown | optional |
map_mark2 | map_mark2 | no description | Unknown | optional |
coordinates2 | coordinates2 | no description | Unknown | optional |
map_label3 | map_label3 | no description | Unknown | optional |
map_label3_position | map_label3_position | no description | Unknown | optional |
map_mark3 | map_mark3 | no description | Unknown | optional |
coordinates3 | coordinates3 | no description | Unknown | optional |
map_label4 | map_label4 | no description | Unknown | optional |
map_label4_position | map_label4_position | no description | Unknown | optional |
map_mark4 | map_mark4 | no description | Unknown | optional |
coordinates4 | coordinates4 | no description | Unknown | optional |