Jump to content

User:Ruggalicious/sandbox

From Wikipedia, the free encyclopedia

Module:Sports table/ Rugby and the NPC standings tables

[edit]

Below, I'm using the Module:Sports table/Rugby for the 2022 Bunnings NPC standings tables with both conference tables side by side.

A few problems are noticeable:

  • Having to include the "source" and "status text" under both tables, where once would be sufficient. Ideally, the source and status text are not included under the separate tables, but only once below both tables. However, unlike "Rules for classification", it seems impossible to omit "source" and "status text". If you do, a meaningless template text appears.
  • "Problem messages" appear because "total wins" doesn't correspond with "total losses" and "total points for" doesn't correspond with "total points against". The difference is the result of cross-over games being played between teams from the different conferences. There's no mistake in the numbers, yet you can't get rid of the "problem messages". Fortunately, these messages are not visible when the tables have been published.
  • Currently, as soon as the device width becomes too small for showing both conference tables side by side, a horizontal scroll barr appears. I'd like this to be responsive to screen sizes, with the table on the right shifting below the table on the left as soon as the device screen becomes too small. I don't know how to achieve this. By the way, this issue is not related to the use of the Module:Sports table/Rugby. In the current format, this is also a problem.

I'd be keen to receive suggestions for solving the above problems, and other constructive comments!

Modified version

[edit]

These are the same tables as above, but one below the other. The footer is hidden under the first table by using the code |hide_footer=yes.

Odds Conference
Pos Team Pld W D L PF PA PD TF TA TB LB Pts
1 Wellington (Q, C) 10 8 0 2 299 240 +59 40 28 0 0 32
2 Waikato (Q) 10 7 1 2 301 208 +93 37 24 0 0 30
3 Bay of Plenty (Q) 10 6 0 4 325 232 +93 42 28 0 0 24
4 Hawke's Bay (Q) 10 5 1 4 294 234 +60 38 28 0 0 22
5 Otago 10 5 0 5 274 269 +5 35 33 0 0 20
6 Counties Manukau 10 3 0 7 256 335 −79 32 47 0 0 12
7 Southland 10 1 0 9 229 430 −201 28 60 0 0 4
Evens Conference
Pos Team Pld W D L PF PA PD TF TA TB LB Pts
1 Canterbury (Q) 10 9 0 1 389 208 +181 53 26 0 0 36
2 North Harbour (Q) 10 6 0 4 390 245 +145 51 33 0 0 24
3 Auckland (Q) 10 6 0 4 282 247 +35 37 31 0 0 24
4 Northland (Q) 10 6 0 4 212 265 −53 27 33 0 0 24
5 Tasman 10 4 0 6 282 282 0 36 32 0 0 16
6 Taranaki 10 3 0 7 193 270 −77 21 37 0 0 12
7 Manawatu 10 0 0 10 212 473 −261 30 67 0 0 0
Source: Bunnings NPC
(Q) Qualified for the quarter-finals; (C) Champions; Ranfurly Shield holders: Wellington

2023 Bunnings NPC: one, new standings table

[edit]

This table has been used for the 2023 Bunnings NPC article.

Pos Team Pld W D L PF PA PD TF TA TB LB Pts Qualification
1 Auckland 0 0 0 0 0 0 0 0 0 0 0 0 Bunnings NPC quarter-finals
2 Bay of Plenty 0 0 0 0 0 0 0 0 0 0 0 0
3 Canterbury 0 0 0 0 0 0 0 0 0 0 0 0
4 Counties Manukau 0 0 0 0 0 0 0 0 0 0 0 0
5 Hawke's Bay 0 0 0 0 0 0 0 0 0 0 0 0
6 Manawatu 0 0 0 0 0 0 0 0 0 0 0 0
7 North Harbour 0 0 0 0 0 0 0 0 0 0 0 0
8 Northland 0 0 0 0 0 0 0 0 0 0 0 0
9 Otago 0 0 0 0 0 0 0 0 0 0 0 0
10 Southland 0 0 0 0 0 0 0 0 0 0 0 0
11 Taranaki 0 0 0 0 0 0 0 0 0 0 0 0
12 Tasman 0 0 0 0 0 0 0 0 0 0 0 0
13 Waikato 0 0 0 0 0 0 0 0 0 0 0 0
14 Wellington (RS) 0 0 0 0 0 0 0 0 0 0 0 0
First match(es) will be played: Friday 4 August 2023. Source: Bunnings NPC standings 2023
RS: Ranfurly Shield holders

Ruggalicious (talk) 07:25, 14 June 2023 (UTC)