Difference between revisions of "Template:Infobox sports rivalry/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
Line 2: Line 2:
 
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
{{parameter names example | alltimerecord | alt | broadcasters | caption | city or region | coordinates1 = {{coord|0|0}} | coordinates2 = | coordinates3 = | coordinates4 = | currentstreak | currentunbeatenstreak | firstmeeting | image | image_size | image_upright | largestscoring | largestvictory | league | logo | longeststreak | longestunbeatenstreak | map_alt | map_caption | map_label1 | map_label1_position | map_label2 | map_label2_position | map_label3 | map_label3_position | map_label4 | map_label4_position | map_location=Earth  | map_mark1 | map_mark2 | map_mark3 | map_mark4 | map_relief | map_width | most player appearances | most wins | mostrecent | name | native_name | nextmeeting | other names | postseason | regularseason | section_header | section_info | series | smallestvictory | sport | stadiums | team1 | team1logo | team2 | team2logo | team3 | team3logo | team4 | team4logo | teams | top scorer | total | trophy | trophy series | type | wide}}
+
{{parameter names example | alltimerecord | alt | broadcasters | caption | city_or_region | coordinates1 = {{coord|0|0}} | coordinates2 = | coordinates3 = | coordinates4 = | currentstreak | currentunbeatenstreak | firstmeeting | image | image_size | image_upright | largestscoring | largestvictory | league | logo | longeststreak | longestunbeatenstreak | map_alt | map_caption | map_label1 | map_label1_position | map_label2 | map_label2_position | map_label3 | map_label3_position | map_label4 | map_label4_position | map_location=Earth  | map_mark1 | map_mark2 | map_mark3 | map_mark4 | map_relief | map_width | most_player_appearances | most_wins | mostrecent | name | native_name | nextmeeting | other_names | postseason | regularseason | section_header | section_info | series | smallestvictory | sport | stadiums | team1 | team1logo | team2 | team2logo | team3 | team3logo | team4 | team4logo | teams | top_scorer | total | trophy | trophy_series | type | wide}}
 
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.
 
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.
  
Line 23: Line 23:
 
| team3                  =  
 
| team3                  =  
 
| team4                  =  
 
| team4                  =  
| native name             =  
+
| native_name             =  
| other names             = <!-- Other names or references to derby or rivalry -->
+
| other_names             = <!-- Other names or references to derby or rivalry -->
 
| sport                  =  
 
| sport                  =  
 
| type                    =  
 
| type                    =  
| city or region         = <!-- City or region where derby or rivalry is contested -->
+
| city_or_region         = <!-- City or region where derby or rivalry is contested -->
 
| teams                  =  
 
| teams                  =  
 
| firstmeeting            = <!-- The year or date it was first contested -->
 
| firstmeeting            = <!-- The year or date it was first contested -->
Line 36: Line 36:
 
| trophy                  =  
 
| trophy                  =  
 
| total                  =  
 
| total                  =  
| most wins               = <!-- The team with most derby or rivalry wins so far -->
+
| most_wins               = <!-- The team with most derby or rivalry wins so far -->
| most player appearances = <!-- The player(s) with most derby or rivalry appearances -->
+
| most_player_appearances = <!-- The player(s) with most derby or rivalry appearances -->
| top scorer             =  
+
| top_scorer             =  
 
| alltimerecord          =  
 
| alltimerecord          =  
 
| series                  =  
 
| series                  =  
Line 50: Line 50:
 
| currentunbeatenstreak  =  
 
| currentunbeatenstreak  =  
 
| league                  =  
 
| league                  =  
| trophy series           =  
+
| trophy_series           =  
 
| smallestvictory        =  
 
| smallestvictory        =  
 
| section_info            =  
 
| section_info            =  
Line 87: Line 87:
 
{{Infobox sports rivalry
 
{{Infobox sports rivalry
 
| name                    = Merseyside Derby
 
| name                    = Merseyside Derby
| other names             = Friendly Derby, Liverpool Derby
+
| other_names             = Friendly Derby, Liverpool Derby
 
| image                    =  
 
| image                    =  
 
| caption                  =  
 
| caption                  =  
| city or region           = [[Liverpool, England]]
+
| city_or_region           = [[Liverpool, England]]
| first contested         = 13 October 1894
+
| first_contested         = 13 October 1894
| teams involved           = [[Everton F.C.|Everton]], [[Liverpool F.C.|Liverpool]]
+
| teams_involved           = [[Everton F.C.|Everton]], [[Liverpool F.C.|Liverpool]]
| most wins               =  
+
| most_wins               =  
| most player appearances =  
+
| most_player_appearances =  
 
}}
 
}}
  
Line 100: Line 100:
 
{{Infobox sports rivalry
 
{{Infobox sports rivalry
 
| name                    = Merseyside Derby
 
| name                    = Merseyside Derby
| other names             = Friendly Derby, Liverpool Derby
+
| other_names             = Friendly Derby, Liverpool Derby
 
| image                    =  
 
| image                    =  
 
| caption                  =  
 
| caption                  =  
| city or region           = [[Liverpool, England]]
+
| city_or_region           = [[Liverpool, England]]
| first contested         = 13 October 1894
+
| first_contested         = 13 October 1894
| teams involved           = [[Everton F.C.|Everton]], [[Liverpool F.C.|Liverpool]]
+
| teams_involved           = [[Everton F.C.|Everton]], [[Liverpool F.C.|Liverpool]]
| most wins               =  
+
| most_wins               =  
| most player appearances =  
+
| most_player_appearances =  
 
}}
 
}}
 
</pre>
 
</pre>
Line 113: Line 113:
 
== Tracking category ==
 
== Tracking category ==
 
* {{clc|Pages using infobox sports rivalry with unknown parameters}}
 
* {{clc|Pages using infobox sports rivalry with unknown parameters}}
 +
* {{clc|Pages using infobox sports rivalry with conflicting parameters}}
  
 
<includeonly>{{basepage subpage|
 
<includeonly>{{basepage subpage|

Revision as of 15:27, 18 May 2020

Template: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".
LocaleScript 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]]
| first_contested          = 13 October 1894
| teams_involved           = [[Everton F.C.|Everton]], [[Liverpool F.C.|Liverpool]]
| most_wins                = 
| most_player_appearances  = 
}}

Tracking category