Lua-Modules
Lua-Modules copied to clipboard
Used to keep versions of some important lua modules of the Liquipedia wiki that we want better version control for.
## Summary Change background color for deceased players
## Summary ## How did you test this change?
## Summary This module extracts the setup of FilterButtons used in Module:TournamentsList for future refactoring of said module or potential separate usage (e.g. Portal:Tournaments to filter by TG/1v1?). PR is...
## Summary Cleaned up the output for infobox header images a bit so that it doesn't end up producing two of the same image when there is no need. Also...
If a match nearer to the root has no header then the matches further away from it do not display the header either. Additionally in that setting it also overwrites...
https://discord.com/channels/93055209017729024/372075546231832576/1162780827567005716 walkover input `|walkover=1` gets stored as `"walkover": "1"` while (as per https://liquipedia.net/commons/Help:LiquipediaDB/Match) we only want to allow `ff`, `dq` and `l` as values.
## Summary When the data on the player page isn't updated yet to save a team, but transfers are, team display in PI will use the wrong tense. Was reported...
getting a few anno warnings from lpdb stuff if we query `year::date` or such in the return table we acces it as `.year_date` which is not defined in the lpdb...
Rewrite the condition handling to support both `OR` and `AND` instead of just `AND`. Probably use https://github.com/Liquipedia/Lua-Modules/blob/main/standard/lpdb/condition.lua for it
For head to head statistics sc2 (and some other wikis) we need a query for match2 that does what could be achieved for match(1) with `([[opponent1::playerName]] AND [[extradata_opponent2race::oppRace]]) OR ([[opponent2::playerName]]...