Closed Rathoz closed 7 months ago
sc2 just kicks it (we do not use it at all as we do not have regions for teams)
but i agree that the standard storage of region should be adjusted to fit the way it is done the most
It would be useful to describe what the actual format is of the current default, as well as the ways in which it is overwritten.
Added the four current implementations
Sounds like Halo is the way to go?
That was my thought as well. Initial implementation for it can be found in #882.
keep in mind that country to region do not have to align for players and teams, so maybe module region needs some small adjusting to make the module required into countryToRegionData
depended on that
also the region template also sets a wiki var, maybe it was actually needed on the page (maybe not)
Do you have an example where country to region should differ between Players and Teams?
Do you have an example where country to region should differ between Players and Teams?
https://liquipedia.net/rocketleague/index.php?title=Template:Player_region&action=edit vs https://liquipedia.net/rocketleague/index.php?title=Template:Region&action=edit
e.g. in one russia is EU in one CIS
don't know for other wikis, would have to be checked
Background
All wikis, except Rocket League, that have implemented Infobox/Team have so far felt a need to override the default saving of the region LPDB field. This indicates the default handling is likely not optimal, and it should be improved and standardized across all wiki, or at least as many as possible.
Current Setups
|region=
) straight into LPDB, with no validation or standardizationTemplate:Region
(called from Region Display in commons). This wiki variable is verified and standardized in the Template. This has the possibility for wikis in Template:Region to define the regions according to the scene.Module:Region
(Lua-Modules/standard/region/commons/region.lua
) to lookup, verify and standardize Regions. It has the option use either the|region=
input, or use the|location=
to automatically infer a region from the location (country). This has the possibility for wikis inModule:Region/Data
andModule:Region/CountryData
to define the regions according to the scene.