Content deleted Content added
m Archiving 1 discussion(s) from Module talk:Sports table) (bot |
m Archiving 1 discussion(s) from Module talk:Sports table) (bot |
||
Line 25:
I have a [[2019 Tonga Major League#League table|table]] where the source only gives information on GD but not on GF or GA: [https://oceaniafootballcenter.home.blog/2019-tongan-major-league/]. Is there a way I can hide the GF and GA columns and only display the GD column? [[User:Chanheigeorge|Chanheigeorge]] ([[User talk:Chanheigeorge|talk]]) 23:00, 4 January 2020 (UTC)
:[[User:Chanheigeorge|Chanheigeorge]], okay, {{para|hide_for_against_columns|y}} should work now. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 16:33, 5 January 2020 (UTC)
== Hockey ==
Hi, I'm using the template for different sports and I noticed width is different for Ice Hockey and other sports, is there any specific reason ? I think they should be all the same.
{{#invoke:Sports table|main|style=WDL
|update=complete
|source=
|team1=CMR
|win_CMR=3 |draw_CMR=0 |loss_CMR=0 |gf_CMR=10 |ga_CMR=5
|name_CMR={{fb|CMR}}
}}
{{#invoke:Sports table|main|style=WL OT
|update=complete
|source=
|team1=CMR
|win_CMR=3 |OTwin_CMR=0 |OTloss_CMR=0 |loss_CMR=0 |gf_CMR=22 |ga_CMR=7
|name_CMR = {{ih|CMR}}
}}
[[User:Mohsen1248|Mohsen1248]] ([[User talk:Mohsen1248|talk]]) 13:26, 5 January 2020 (UTC)
:They have different columns due to different rules about draws (or lack of them). Do you have any pages which mix usage of these tables that are experiencing problems? [[User:Spike 'em|Spike 'em]] ([[User talk:Spike 'em|talk]]) 14:51, 5 January 2020 (UTC)
:in addition, sometimes there are different point multipliers assigned for OTW/OTL vs PKW/PKL. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 16:34, 5 January 2020 (UTC)
:: I still can't understand why for example the "pos" column should be different in those two tables. I didn't say why they have different columns, obviously I know they are different sports, I mean why ''column width'' is different. why hockey tables are wider ? [[User:Mohsen1248|Mohsen1248]] ([[User talk:Mohsen1248|talk]]) 17:36, 5 January 2020 (UTC)
:::WDL has a standard column width of 28, whereas WDL OT (which WL OT invokes) has 32. Each of these has been the same since the modules were first created in 2014 / 2016 respectively. As to why this was done you'd have to ask the module creators (though it maybe that the 3 letter column headings are too wide to fit in the 28 pixel columns, so all the columns were widened so that they are constant within a given table?) [[User:Spike 'em|Spike 'em]] ([[User talk:Spike 'em|talk]]) 21:41, 5 January 2020 (UTC)
:::: I can see the reason but if the whole idea of creating this '''Module:Sports table''' is to standardize all sport tables then it should be the same as others. I think maybe they can only keep those two columns at "32 pixel" or maybe even make it OW and OL instead of OWL and OTL. [[User:Mohsen1248|Mohsen1248]] ([[User talk:Mohsen1248|talk]]) 11:29, 7 January 2020 (UTC)
|