Module talk:Availability

From Team Fortress Wiki
Jump to: navigation, search

winter-unusual

Can we get a winter2016-unusual "Unlocked Winter 2016 Cosmetic Case (Unique, Strange and Unusual)" please? Non of them say they are available in unusual quality. IDGCaptainRussia (talk) 06:50, 28 October 2018 (UTC)

Pictogram tick.png Done. {{avail|winter2016-unusual}} should work now. — Tark lm(pt-br) 14:10, 28 October 2018 (UTC)

Halloween purchase

Holiday-restricted Scream Fortress cosmetics have no longer been made available for purchase during Scream Fortress events for a few years now. We need to update halloween-purchase to reflect that (maybe change it to "Purchase (expired)").

We could also add halloween-package (which would simply "translate" to {{item link|Halloween Package}}) to "complement" halloween-transmute.

- BrazilianNut (talk) 09:25, 21 January 2020 (UTC) (originally posted in Template talk:Availability on 21:42, 5 January 2020 (UTC)

Pictogram tick.png Done. {{avail|halloween-package}} should work now. — Tark lm(pt-br) 11:52, 21 January 2020 (UTC)

goodie-cauldron

Hello, maybe we should add "(expired)" or "(limited)" to the goodie-cauldron parameter, with the text given in Antique Halloween Goodie Cauldron or something similar. Thanks. Mgpt (talk) 01:34, 23 July 2022 (UTC)

Pictogram tick.png Done. Updated with "(limited)". — Tark 17:32, 10 October 2022 (UTC)

drop-expired

Another parameter I think that should be on the list: "drop-expired", maybe with the text used in "distributed-expired/craft-expired". e.g Spellbook Magazine, Fireproof Secret Diary... Mgpt (talk) 00:28, 2 October 2022 (UTC)

Pictogram tick.png Done. {{avail|drop-expired}} should work now. — Tark 17:20, 10 October 2022 (UTC)

parameters for jungle inferno contracker page

I added the parameters to the sandbox page. If someone could take a look at them, thanks. Mgpt (talk) 17:29, 30 January 2023 (UTC)

distributed-duels, distributed-gifts, distributed-stamps

I've added the the sandbox new parameters for the Philateler, Dueler, and Gifting Man From Gifting Land. Please check and add them. User Denied signature.jpg Denied (Talk) 18:29, 5 July 2023 (UTC)

I don't think these are needed since they're for a single cosmetic each (and yes, I did just come to this conclusion after contributing to them in the dictionary and halfway through editing the Dueler's translations). Just adding the "(periodical)" with the tooltip is enough, I believe. - BrazilianNut (talk) 20:14, 5 July 2023 (UTC)
I'll let mods decide. Every item is using availability module without tooltips. Might be better to keep them all in the same place rather than leaving these three seperated. User Denied signature.jpg Denied (Talk) 07:25, 6 July 2023 (UTC)
Pictogram info.png  Personally I don't think that there is a necessity to make a new string for these items, as BrazilianNut said, having "(periodical)" the tooltip is enough. YossefTalk 10:47, 6 July 2023 (UTC)
I added these a bit ago. I'd much rather have strings in one place where possible. Darkid « TalkContribs » 09:48, 29 December 2023 (UTC)

Unusual-expired

Someone on KritzKast discord was discussing about the Large Luchadore and Villain's Veil availability and maybe there should be a unusual-expired parameter, like this: Uncrate (Unusual) (expired) or Uncrate (Unusual) Mgpt (talk) 18:14, 7 July 2023 (UTC)

Support for the parameter. Maybe also add one for Strange for Corpse Carrier?
GrampaSwood (talk) 18:42, 7 July 2023 (UTC)
Done. Darkid « TalkContribs » 09:48, 29 December 2023 (UTC)

New param for cases instead of crates

There is a new page for retired series cases since the old page was too full and could not display all the tables. I've added another loop to the Crate submodule but I'm guessing that's expensive and we shouldn't keep adding cases to that array as they become retired. A case# param that functions like crate# param should be added (along with a case submodule to move cases between active/retired still) that we can use going forward and also can change all the old crate# avails into. I think for backwards compatibility reasons those cases should also go inside this script? Not entirely sure on what's going on here with those backwards compatibility sections. Jh34ghu43gu (talk) 10:34, 28 November 2023 (UTC)

Will look into it. Don't worry too much about performance, Lua is pretty fast.
Just to make sure I understand the ask, you're asking for {{avail|case123}} to map to something like [[Mann Co. Supply Crate/Retired case series/{{if lang}}#123|{{common string|uncrate}} #123]] for retired cases, and [[Mann Co. Supply Crate/Active series/{{if lang}}#123|{{common string|uncrate}} #123]] for active cases?
Darkid « TalkContribs » 18:00, 29 November 2023 (UTC)
Yea that looks right Jh34ghu43gu (talk) 20:20, 29 November 2023 (UTC)
This should have been prepared first, there a lot of red links now, and cases also needs their redirects changed for all languages (excluding english). Maybe also rename the "Retired series" page to "Retired crate series". Mgpt (talk) 21:02, 3 December 2023 (UTC)
I haven't made any module changes yet, we can revert the /case change if it's causing issues. Darkid « TalkContribs » 21:08, 3 December 2023 (UTC)
My apologies Mgpt, my dumb brain checked a language page of Mann Co. Supply Crate/Retired series, saw that it wasn't over the template limit yet (which wasn't true for all of them anyway), and figured that somehow meant I wouldn't have to worry about any language page redirects??? DOH. I created all the language pages just now (copy and paste so the "see also" links don't go to correct pages and the titles don't say case) so that should clear out all/most of the red links, I'm going to go change all the redirects now hopefully... Jh34ghu43gu (talk) 07:10, 4 December 2023 (UTC)
Done. Darkid « TalkContribs » 09:48, 29 December 2023 (UTC)