Liquipedia / Lua-Modules

Used to keep versions of some important lua modules of the Liquipedia wiki that we want better version control for.
Other
31 stars 68 forks source link

Squads - Automatically determine `Former Squad` vs `Former Players` as title when `status=former` #1399

Open Rathoz opened 2 years ago

Rathoz commented 2 years ago

Do it in the Valorant wiki as a pilot Given that no |title= was provided (always use |title= if provided.

Wolfram (Discord) is the requestor

JaspervanRiet commented 2 years ago

This would involve changing the parsing logic. I would first like to get consensus on what we want across wikis.

hjpalpha commented 2 years ago

from a sc2 perspective it is the same we have no real squads it is more a collection of players so for us it is irrelevant if the header says Former players or Former squad if we want some business logic for it then for sc2 we would overwrite it to have the same display in both cases

JaspervanRiet commented 2 years ago

The current behaviour was inspired by several wikis so there definitely used to be inconsistency on this.

Rathoz commented 2 years ago

Many wikis have two former Templates in the old system For example on Apex:

https://liquipedia.net/apexlegends/index.php?title=Template:FormerPlayers&action=edit & https://liquipedia.net/apexlegends/index.php?title=Template:FormerSquad&action=edit

With the only real difference being the default title.

Rathoz commented 2 years ago

Doing this in the Custom is fairly easy, and at least can be used to POC it (eg. on Valorant).