Jump to content

Template talk:Infobox international hockey competition

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Issue with country8=

[edit]

On article 2014–15 IIHF European Women's Champions Cup, template does not populate with correct input for country8, repeats country7 instead. Though “country8=Turkey” is entered, Latvia (country7) is displayed for both country7 and country8. Is this a known issue? Are there any suggestions for resolving? Thanks Spitzmauskc (talk) 22:51, 6 February 2020 (UTC)[reply]

Fixed. "Country7" was repeated DenSportgladeSkåningen (talk) 06:52, 15 November 2021 (UTC)[reply]

Champions

[edit]

Label "Champions" with gold medal is broken and does not work on pages using this template. August-54 (talk) 12:01, 17 August 2021 (UTC)[reply]

This is still broken. DenSportgladeSkåningen (talk) 06:50, 15 November 2021 (UTC)[reply]
I found the problem. DenSportgladeSkåningen (talk) 06:58, 15 November 2021 (UTC)[reply]

Recently added parameters

[edit]

As discussed at tfd the recently added parameters for every hockey variation are a bit crazy. instead of having winners_ih, winners_ihw, ... for every possible variation, there should be one |mode= or |sport= parameter which modifies the functionality of a single |winners=. it is unlikely that we need to have both field hockey and ice hockey winners in the same infobox. I have started some tracking to find where these recently added parameters are being used so we can find a more scalable solution. Frietjes (talk) 22:05, 1 November 2022 (UTC)[reply]

I put some transition code in the sandbox. Frietjes (talk) 22:26, 1 November 2022 (UTC)[reply]
Plastikspork, could you run a parameter scan for this template to get a count of how many pages are using each parameter like you did for {{infobox river}}? thank you! Frietjes (talk) 22:59, 1 November 2022 (UTC)[reply]
@Frietjes: Thanks for simplifying the syntax for this template. Maybe the new parameter should be |flag-type= or something like that since it modifies the flag template? I any case, here is a table with parameter counts. Let me know if you want more information. Thanks! Plastikspork ―Œ(talk) 13:41, 4 November 2022 (UTC)[reply]
Count Field In template?
1 tournament Y
1 matches Y
1 country8 Y
1 top_scorer Y
2 teams Y
2 image_size Y
3 city Y
4 country7 Y
5 arenas Y
5 country-flagvar Y
6 tournament_format Y
6 fourth-flagvar Y
6 third-flagvar Y
7 third_ihw D
7 second_ihw D
7 winners_ihw D
7 fourth_ihw D
11 winners_ihj D
11 second_ihj D
13 fourth_ihj D
13 third_ihj D
14 country6 Y
16 second-flagvar Y
17 country5 Y
18 host Y
18 winners_women Y
21 country4 Y
23 winners-flagvar Y
25 country3 Y
28 caption Y
48 opened Y
50 host_cities Y
85 other_titles Y
103 website Y
127 country2 Y
130 fourth_other Y
232 type Y
240 mvp Y
246 third_other Y
286 points Y
289 fourth Y
331 winners_other Y
337 third Y
342 second Y
343 second_other Y
362 attendance Y
372 image Y
381 winners Y
483 size Y
525 goals Y
548 count Y
578 scoring_leader Y
589 cities Y
698 games Y
743 tourney_name Y
754 country Y
764 venues Y
825 prevseason Y
853 nextseason Y
927 num_teams Y
928 dates Y
943 year Y
thank you! I have simplified the infobox, with more simplification to come soon. Frietjes (talk) 00:19, 5 November 2022 (UTC)[reply]
Looks better! On second thought, flag-type may be confused with flag-var, so maybe just stick with |type= or is there something better? It looks like {{Medals table}} uses |flag_template=. Thanks! Plastikspork ―Œ(talk) 15:50, 5 November 2022 (UTC)[reply]