Module talk:Sports table/Archive 2: Difference between revisions

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 1,226:
: [[User:TurboGUY|TurboGUY]], should work now, but not fully tested. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 16:43, 29 June 2021 (UTC)
:: Many thanks, seems to be working! [[User:TurboGUY|TurboGUY]] ([[User talk:TurboGUY|talk]]) 19:09, 29 June 2021 (UTC)
 
== Split table ==
 
This '''[[:lt:2021 m. LFF II lyga#Sezono eiga|championship]]''' is 1.5 round, meaning that after the first round the teams are split to promotion and relegation groups. What's the best way to build tables similarly to '''[[:lt:2020 m. LFF II lyga#Galutinės lentelės|this]]'''? Can I recycle definitions for the final tables, or do I replicate the whole lot? How do I make numbering start from pos.11 for the relegation group? [[User:Wolfmartyn|Wolfmartyn]] ([[User talk:Wolfmartyn|talk]]) 12:43, 23 August 2021 (UTC)
: use {{para|lowest_pos}} to set the first number to something other than 1. you do have to copy the team name definitions to the subsequent tables. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 17:05, 23 August 2021 (UTC)
:: in fact it was {{para|highest_pos}}, but thanks for your help, it led me to the right path! There's a lot of redundancy '''[[:lt:2021 m. LFF II lyga#Sezono eiga|in my code]]''', I wonder it is possible to optimize it a bit? [[User:Wolfmartyn|Wolfmartyn]] ([[User talk:Wolfmartyn|talk]]) 18:31, 24 August 2021 (UTC)
::: one thing to do is that you don't need to include the win_, draw_, loss_ for teams that don't appear in the table. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 14:06, 25 August 2021 (UTC)