User:Darkid

From Team Fortress Wiki
Jump to: navigation, search
Nothinghere.png
Add me!
Add me!
If you need help with templates, those I've written or not, please do not hesitate to send me an email, add me on steam, or leave me a message on this wiki.
[hide]User:Darkid
  • Where I put everything User Page
  • Where I get complimented or yelled at (softly) Discussion
  • Where I talk about those things I haven't done Projects
  • Where I make TF2 easier Scripting
  • Where I categorize those things I've done Achievements
Has a clue as to what he's doing and how the wiki works
— W
I mean, I'm rather surprised that this English-speaking man/machine doesn't have a cap yet
— A
In short, he gets shit done. !endlog
— I
User Darkid Profile2.jpg This is me.
Good morning, User Darkid Checked Checkbox.pngFRIEND/User Darkid UnChecked Checkbox.pngENEMY,

User Darkid Checked Checkbox.pngWELCOME TO/User Darkid UnChecked Checkbox.pngGET AWAY FROM my userpage. This is where I put User Darkid Checked Checkbox.pngRANDOM FACTS/User Darkid UnChecked Checkbox.pngSTATE SECRETS. I am primarily an English User Darkid Checked Checkbox.pngEDITOR/User Darkid UnChecked Checkbox.pngBLOODY CASUAL who looks for things to User Darkid Checked Checkbox.pngFIX/User Darkid UnChecked Checkbox.pngBREAK on this wiki. At last count, I have User Darkid Checked Checkbox.pngEDITED/User Darkid UnChecked Checkbox.pngBROKEN 20,538 pages on this wiki. I tend to focus on templates, as they remind me of my main User Darkid Checked Checkbox.pngLOVE/User Darkid UnChecked Checkbox.pngHATE in life, programming. The rest of my work is spent doing menial things, such as categorization or consistency edits.
I look forward to User Darkid Checked Checkbox.pngWORKING WITH YOU IN THE FUTURE/
User Darkid UnChecked Checkbox.pngPUMMELING YOU TO DEATH WITH MY BARE HANDS.

User Darkid Checked Checkbox.pngSINCERELY/User Darkid UnChecked Checkbox.pngUP yours,
This just got signed by SAXTON HALE!
BLUicon.gif This user is an employee of BLU.
User Medic.png This user is a Medic.
“Zat, vas doctah assisted homicide!”
User LordKelvin Spycheck.png This user HATES Spies.
Apple Logo.png There's a Mac at this user's home.
Backpack Mann Co. Supply Crate Key.png This user refuses to buy Mann Co. Supply Crate Keys as a matter of principle.
Poker Night Icon.png This user plays poker with a gamer, a support specialist, a wrestleman, and a lagomorph.
L4D2.png This user fought off the zombie apocalypse with a gambler, a coach, a rambling mechanic, and a reporter.
Sam and Max The Devil's Playhouse.jpg This user loves the episodic adventures of the Freelance Police.
en This user has a native understanding of English.
es-3 Este usuario tiene un conocimiento avanzado del español.
Backpack Crusader's Crossbow.png

"I'm not a doctor; I'm a medic"
Epic Crossbow - Kills: 6700
Fires special bolts that heal teammates and deal damage based on distance traveled
No headshots
-75% max primary ammo on wearer
"A doctor cures people. A medic just makes them more comfortable while they die."

Medic Mercenary.png This user is a Mercenary.
Hire Date: Apr 19, 2011 (23:52:57 GMT)


Dueling Medal Silver.png This user owns a Silver Dueling Badge which is Level 25, requiring roughly 250 more duel wins to upgrade it.
Max's Severed Head.png This user bought a rabbit hat and got a game for free.
Achieved.png This user has earned 495 of the 520 TF2 achievements. That's 95%!
Dead Ringer.png This user has spent 4694 hours of his life playing Team Fortress 2!
Tf scout long distance runner.png This user enjoys Team Fortress 2 at 60 frames per second.
World.jpg This user has spammed IRC so hard they crashed Spacenet...
4 times.
{{ }} This user knows how to edit templates and can create them too.
D No, this user didn't organize his userboxes in any particular way; this is just an optical illusion.
Dead Heat Icon.png As of 19 March, 2024,
I have been a Team Fortress Wiki member for 12 years, 6 months, 2 days (since 17 September, 2011).


Scout Soldier Pyro
Wiki Cap Max's Severed Head Earbuds Scattergun Pistol Boston Basher Wiki Cap Max's Severed Head Earbuds Rocket Launcher Gunboats Escape Plan Wiki Cap Max's Severed Head Earbuds Degreaser Shotgun Axtinguisher
Demoman Heavy Engineer
Wiki Cap Max's Severed Head Earbuds Grenade Launcher Stickybomb Launcher Pain Train Wiki Cap Max's Severed Head Earbuds Minigun Sandvich Gloves of Running Urgently Wiki Cap Max's Severed Head Earbuds Shotgun Wrangler Jag
Medic Sniper Spy
Wiki Cap Max's Severed Head Earbuds Crusader's Crossbow Medi Gun Übersaw Wiki Cap Max's Severed Head Earbuds Sniper Rifle SMG Tribalman's Shiv Wiki Cap Max's Severed Head Earbuds Ambassador Dead Ringer Conniver's Kunai

Script for finding projectile speeds.

On Template:List of projectiles, at the bottom of the page, a "script to find correct values" is mentioned. It appears that there was meant to be a link, but there is not one. I ask you, Darkid, because it was your edit (in May of 2016) that added this line. Do you still have a link to this script? Stack man (talk) 06:19, 3 May 2020 (UTC)

Sorry about that! I suspect it got removed by the spam filter. Here's the link: [1]. I've also added it to the page. Darkid « TalkContribs » 07:41, 3 May 2020 (UTC)

New availabilities

Hey. Could you please add new availabilities in Template:Availability for Pile Of Curses, and Crafting (expired)? It's for items received from it. User Denied signature.jpg Denied (Talk) 17:16, 21 May 2020 (UTC)

Ah, I see. That's currently just directly using {{Tooltip}}, and you want it in the module?
It looks like there's a common string which is similar to this, distributed-expired. (See Template:Dictionary/common strings/distributed-expired).
Do you think it'll be sufficient to change all the prefixes there to [[Crafting{{if lang}}|{{common string|crafting}}]]?
Darkid « TalkContribs » 01:26, 22 May 2020 (UTC)
pile-of-curses redirecting to Pile Of Curses and crafting-expired redirecting to Crafting + this tooltip added next to it like it looks like in distributed-expired.
Done. Darkid « TalkContribs » 06:36, 22 May 2020 (UTC)
Thanks. Could you only please change word "Crafting" to "Craft" for consistency? craft-expired and Craft. The preceding unsigned comment was added by Denied (talk) • (contribs)
If you add your proposed change to the sandbox, then I can just take it ;) Darkid « TalkContribs » 19:32, 22 May 2020 (UTC)
Well, I changed the dictionary string. Darkid « TalkContribs » 01:50, 23 May 2020 (UTC)

Help with dictionary

Could you please help me again? I can't figure out how to fix Template:Dictionary/blueprints for Santa's Little Accomplice and Public Enemy. User Denied signature.jpg Denied (Talk) 15:36, 2 June 2020 (UTC)

What seems to be not working? It looks like you did this correctly to me. Darkid « TalkContribs » 00:04, 3 June 2020 (UTC)
Looks like Wiki is messing with me. Then the only problem is that the Pretty Boy's Pocket Pistol is not showing as crafting ingredient, next to the Baby Face's Blaster. User Denied signature.jpg Denied (Talk) 05:23, 3 June 2020 (UTC)
Looks like we're missing some template code. I'll see what I can do. Darkid « TalkContribs » 07:28, 3 June 2020 (UTC)
Well, I fixed up the template, but I don't think this looks quite correct: [2]. When the ingredient is not part of a set, the name is wrong. Darkid « TalkContribs » 06:08, 4 June 2020 (UTC)

3D viewer

Hello, I've been trying to reach you whether on steam (Overlord S7) or through e-mail but to no avail. I'm an admin in Inkipedia, a wiki about Splatoon (shooters game from Nintendo) and I'm interested to know about the 3D viewer and if I can try to implement a simpler implementation of the 3D viewer to our infoboxes. I saw that you maintained the module so I thought to ask for advice on how to implement it. I'd be happy if you could chat with me through e-mail or discord (Shahar#3810). Thank you! Shahar (talk) 11:41, 29 April 2021 (UTC)

Hey, sorry about that -- I get a lot of adds on steam, so someone with 0 rank and a private profile is usually a spammer :)
The core of the implementation is actually dead simple. If you take a look at, e.g. Scattergun, and use "inspect" (should be available in most major browsers), you'll see this:

<div class="viewer-3d-frame" data-id="0" style="height: 152px; background: url("https://wiki.teamfortress.com/w/images/b/bd/Scattergun_3D.jpg?20180821160906") -11807px 0px no-repeat; left: 25px; top: 64px; width: 197px;"></div>

First and foremost, take a look at the image here: File:Scattergun_3D.jpg. It's actually quite a wide image, containing all of the possible rotations.
Second, take a look at the styling: style="height: 152px; background: url(...) -11807px 0px no-repeat; ..."
All that's happening here is that the image is being shifted and cropped. Essentially, the "3D" image is just a bunch of 2d images all next to each other, and the "3D viewer" is just changing the offset into the main image.
If you look at the contents of Scattergun_3D.jpg, you can see a large list called "map" as the template argument. This is where the actual offsets are stored.
I don't know too much more about the intricacies of the template, but the code to generate the file is here -- though it uses HLMV, sorry, you'll need to hack at it to use a different viewer.
Darkid « TalkContribs » 09:14, 30 April 2021 (UTC)
Hey, thanks for helping me out. I got all the modules, templates, JS and CSS changes to display the 3D viewer with the Minigun (It was similar in design to the Splatlings so I thought it was a good example). I also got one of the Splatoon models into HLMV with partial texture. What I'm stuck at is that I can't get the script to work. I've tried to follow Team Fortress Wiki:3D Models but with no success. Shahar (talk) 14:21, 7 May 2021 (UTC)
Well, as I mentioned, the code was written specifically for HLMV, a valve-based model viewer. If you want it to work with Splatoon, you'll need to change the code which interops with HLMV to talk to your program instead. You'll need to be able to change the weapon's rotation, translation, and the scene background color (to compute transparency).
I can't really help you with the specifics there, since it's going to depend on the model viewing options available to you.
Darkid « TalkContribs » 15:30, 8 May 2021 (UTC)
Hey, I got the script to work but the model doesn't rotate. [Image]. I'm currently on Python 2.7, packages from python 2 and I ran the command setup.py so that wikitools will recognize parts of itself such as wiki, api, page, etc... I'm also worried about getting the offsets for the images without uploading it to TF2 wiki cause Inkipedia doesn't currently have API. Shahar (talk) 18:34, 18 May 2021 (UTC)
I fixed the rotation issue, new version is up on Github. If inkpedia doesn't have an API, you can always just upload it to your sandbox page (User:Shahar/Sandbox). Darkid « TalkContribs » 13:37, 20 May 2021 (UTC)
Hey, I'm trying to excecute the code but it says that "mem.exe" is not compatible with 64-bits versions of Windows. Could you resolve that? · Ashe (talk) 16:16, 20 May 2021 (UTC)
Can you give me the exact error message? Ideally, the entire terminal window (and your system information). I'm not sure why this is happening, since my computer is 64-bit. Darkid « TalkContribs » 16:22, 20 May 2021 (UTC)
This. It's in spanish but it says something like "16-bits app incompatible ... Cannot start or run due to incompatibility with 64-bit versions of Windows". My specs are Windows 10 Pro 64 bits, 16 GB RAM, AMD Ryzen 5 3600.

────────────────────────────────────────────────────────────────────────────────────────────────────The error is "Unsupported 16-Bit Application", and it seems to be a remnant of mingw. I've tried recompiling with g++ instead of gcc -- if that doesn't work I'll need to port the exe to a real compiler, which will take some time. Darkid « TalkContribs » 16:38, 20 May 2021 (UTC)

Template:Item infobox/Sandbox Requested Addition

Hi,

I'm currently prototyping some things on the item infobox sandbox page for use on an experimental page. Essentially, I'd like for it to generate 3D viewer-like buttons that allow you to preview wears on an item if the item type is war paint or warpaint.

It would be great if you could help with this, because I have no idea of how to go about that and don't want to break anything. Thanks. ~ Boba 21:16, 28 October 2021 (UTC)

I don't really have any bandwidth to help develop templates on the wiki. I'm can help debug things if they mostly work, and I'm happy to double-check your work, but I can only offer advice right now.
For example, the 3D viewer uses custom javascript to make the tab switching work (see MediaWiki:Common.js). The main trick would be to support this ask with the least amount of additional javascript, and the least amount of new, complex modules.
Darkid « TalkContribs » 20:07, 21 November 2021 (UTC)

Banana Bay/ko

Hi Darkid!

I want to delete the Banana Bay/ko page.

As a member of STS, I can say that page is awful like google trans. The text in korean is not makes sense and some grammar errors in there.

Joeun (talk) 16:35, 30 November 2021 (UTC)

Hi Joeun! Thank you for following up. I am deleting the page now. Darkid « TalkContribs » 17:03, 30 November 2021 (UTC)

Move Blap Bash page to BlapBash

Hey Darkid, Please can you move Blap Bash to be BlapBash (and all sub-pages) as the event name does not contain a space. I can't do it due to my account limits. Thank you in advance. - Jon, Blapature Co. Organiser BlackOutJon (talk) 12:08, 12 December 2021 (UTC)

Done, thanks for the heads up. Darkid « TalkContribs » 12:13, 12 December 2021 (UTC)

/en

Why does your bot create a list of articles with the prefix /en, if all articles are written without it? Far (talk) 08:12, 13 December 2021 (UTC)

Can you be more specific? It's possible that there is a bug with one of the reports, I did have to make some updates to the scripts to get them working again.
Which report seems to be misbehaving, and how would you expect it to behave? Darkid « TalkContribs » 12:20, 13 December 2021 (UTC)
In the general list of English articles, your bot writes them with the prefix /en. You can see this for yourself by going to Team Fortress Wiki:Reports/All articles/en.Far (talk) 16:21, 13 December 2021 (UTC)
I'm not sure what you mean, when I go to Team Fortress Wiki:Reports/All articles/en I don't see any links which say "/en". The page title says "/en", and I can change that if you want, but the article list itself seems correct.
Image
Darkid « TalkContribs » 18:21, 13 December 2021 (UTC)
-> [3]Tark 18:29, 13 December 2021 (UTC)
Oh, thank you. Will fix. Wait, why is windbot still editing this? Or did you give it a kick for me? Darkid « TalkContribs » 19:17, 13 December 2021 (UTC)
Fixed, reaching out to wind to get WindBOT to stop updating these pages Darkid « TalkContribs » 15:11, 14 December 2021 (UTC)

Mmmph/hu redirect request

Hello! I'm Kevin and I'm one of those fews, who translate the hungarian TF2 wiki, I have question rather a request if I may. Can you have the time to redirect the page, Mmmph/hu to Phlogistinator/hu. I tried to redirect it but I'm not a administator nor moderator on this wiki.

Greetings, Vinzesco (talk) 19:41, 7 January 2022 (UTC)

You should be able to do this yourself, the page is free to edit for anyone and redirects aren't restricted to staff.
GrampaSwood (talk) 19:45, 7 January 2022 (UTC)
Done: [4] Darkid « TalkContribs » 19:51, 7 January 2022 (UTC)
Thanks for the help, Vinzesco (talk) 14:02, 8 January 2022 (UTC)

"HLMV - Missing Folders Fix" pack has been updated.

Hi. I don't know if you have any plans in using it, but just letting you know that I updated the pack with the latest patch (January 5, 2022 Patch). It was missing several folders from items from latest "major" updates, such as Halloween, Summer and Smissmas updates. Before sending this post, I tried loading some of the new items on HLMV, and none of them had any problems loading (no errors trying to find the directory). Because of the new link structure I have set on Help:HLMV, I don't need to edit the page again everytime I update the pack fix, as the link will directly go to the latest revision on my GitHub repository. User Gabrielwoj Signature Icon.png - User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 14:51, 8 January 2022 (UTC)

Template:QuAD/list

Hello darkid! I don't really understand the template that well but I was trying to add "Halloween Package" and "Halloween Transmute" to the list, and there is a problem. In Template:Dictionary/quad, you can only use "=special" parameter once, and there are actually some items that have two for some reason. For example the Boston Boom-Bringer, this is what happens, only "Unlocked Cosmetic Crate".

There is another problem with the Scream Fortress 2014 items, which already use "scream fortress vi" (Unlocked Creepy Crate + Halloween Gift Cauldron), and would require more "special" parameters (like special2 , special3, special4, etc). Example for the Nugget Noggin cosmetic: unique: {{quad/list|store=y|special=scream fortress vi|special=transmute|special=halloween package}}

I was thinking to add like a "special2" parameter at first, but I saw this edit on the history and as you said: "it would force quad to have ordering, which leads to user errors.". So, is there another way to add more "special" parameters? Thanks! Mgpt (talk) 23:58, 4 February 2022 (UTC)

I'm not honestly sure why we use special over just adding parameters to the top-level list. Feel free to sandbox your changes and I can take a look before you push them.
Darkid « TalkContribs » 00:43, 5 February 2022 (UTC)
This edit is similiar of what I was trying to do, then I saw your comment and well... it won't work I guess D: Mgpt (talk) 00:58, 5 February 2022 (UTC)
So, I was picturing you could just add another parameter like {{{unlock}}} or {{{promo}}}. That way you wouldn't need a special2, you'd just put something like {{QuAD/list|craft=y|drop=y|halloween-package=y}}. Special was originally for dynamic strings which needed a dictionary lookup -- that has become very muddied.
Originally, it was this:
{{#switch:{{{special|}}}
|unusual={{dictionary/items/mann co. supply crate}}
|botkiller weapons|dueling minigame|pile of ash|pile of curses|polycount pack|quakecon bundle|strange bacon grease={{dictionary/items/{{{special}}}
|#default={{dictionary/common strings/{{{special}}}}}
}}}}
Anyways, I think we can just add top-level parameters, but I'm not 100% sure and so it would be good if you could sandbox that before changing everything.
Darkid « TalkContribs » 08:51, 5 February 2022 (UTC)
Hello darkid, I added the template to my User:Mgpt/sandbox. Could you check what I need to add? (you can edit the page if you want) Thanks :D Mgpt (talk) 02:45, 11 February 2022 (UTC)
  1. Traditionally, we test out templates on a sandbox page relative to the template, i.e. Template:QuAD/list/Sandbox.
  2. There, you can add whatever you want to change to try and make your scenario work.
  3. Then, you should test out your changes, e.g. go to one of your sandbox pages (User:Mgpt/sandbox) and try using the template as you would in the dictionary, to see what it looks like. Here, you'll invoke the sandboxed template, e.g. {{QuAD/list/Sandbox|craft=y|drop=y|my-new-parameter=y}}
  4. Make changes to the sandboxed template until your sandbox looks like what you want.
  5. If you feel confident in your changes at this point, update the main template. If not, ask me for a review.
Darkid « TalkContribs » 10:34, 13 February 2022 (UTC)
Hi! I made some changes - Template:QuAD/list, I also changed the order to match with the availability text in cosmetic pages. Is it okay? Thanks. Mgpt (talk) 02:42, 5 March 2022 (UTC)
Seems fine, just try to avoid making so many changes in the future, it causes wiki lag. Also, watch out for using (), other languages have different parenthesis (notably japanese and chinese). Darkid « TalkContribs » 05:16, 10 March 2022 (UTC)
19:08 <Mgpt> hello Darkid! With my latest edits I added the missing cases to the Quad template and added the Quad/series template, It works, at least for me. Could you take a look at it?
19:11 <Mgpt> [[Template:QuAD/list/Sandbox]]
19:11 <@Spacenet> Template:QuAD/list/Sandbox: https://wiki.tf/Template:QuAD/list/Sandbox
19:11 <Mgpt> [Template:QuAD/series]]
19:11 <Mgpt> [[Template:QuAD/series]]
19:11 <@Spacenet> Template:QuAD/series: https://wiki.tf/Template:QuAD/series
I can look again but not this weekend Darkid « TalkContribs » 03:04, 19 March 2022 (UTC)
  1. {{QuAD/series}} should be a dictionary string. There's no reason to make a separate template for it.
  2. I would recommend keeping the direct dictionary invocations ({{dictionary/items/name tag}}) for performance reasons.
  3. Be careful with strings like {{item name|Select Reserve Mann Co. Supply Crate}} {{QuAD/series|60}}. Not every language will want the words in this order. You may consider making the QuAD/series string take a second parameter, e.g. {{QuAD/series|60|Select Reserve Mann Co. Supply Crate}}, so that each language can customize the order if needed.
  4. I would recommend putting the "Series 60" text in parenthesis. Compare:
Select Reserve Mann Co. Supply Crate Series 60
Select Reserve Mann Co. Supply Crate (Series 60)
5.Can you please put in some noinclude section headers to make future editing easier? Ala the dictionary:
-->{{#if:{{{crate5|}}}|{{!}}{{item name|Mann Co. Supply Crate}} {{QuAD/series|{{{crate5}}}}}}}<!--
-->{{#if:{{{crate6|}}}|{{!}}{{item name|Mann Co. Supply Crate}} {{QuAD/series|{{{crate6}}}}}}}<!--
-->{{#if:{{{crate7|}}}|{{!}}{{item name|Mann Co. Supply Crate}} {{QuAD/series|{{{crate7}}}}}}}<noinclude>
## Crate series
</noinclude>{{#if:{{{series6|}}}|{{!}}{{item name|Festive Winter Crate}}}}<!--
-->{{#if:{{{series22|}}}|{{!}}{{item name|Refreshing Summer Cooler}}}}<!--
Darkid « TalkContribs » 20:22, 10 April 2022 (UTC)
Hello, I created the string and added it to the template, could you check? About adding the parenthesis, the official name is Mann Co. Supply Crate Series #123 so I think we should keep how it is. Thank you for all the help :D Mgpt (talk) 02:21, 14 April 2022 (UTC)
The template looks reasonable, I would just remove the 1= and 2= and just write Template:Dictionary/common strings/crate-series
I agree with your point about (4), feel free to leave out the parenthesis.
Also, it looks like my suggestion for (5) doesn't work, so you can take those back out again. Sorry :/
Darkid « TalkContribs » 04:13, 14 April 2022 (UTC)
I removed them and added the new string to the crate parameters, Edit 1 Edit 2. Everything seems to work :D I also removed the "lc" from gift parameter (not needed right?) and replaced default "case" with {{ns:0}} Mgpt (talk) 02:03, 15 April 2022 (UTC)
{{lc:}} was being used because of a direct dictionary call. I've reinstated those calls where it makes sense, although it does make the template less readable. Once you've deployed the changes we can reevaluate the template cost (for things like the hat avail table).
Overall, looks good to me. If you have the time, can you also investigate why two of the qualities are causing template redlinks?
{{common string|winter 2016 cosmetic crate}} and {{common string|bioshock infinite season pass}} are somewhere in the quad dictionary, but the strings don't exist anymore.
(see TFW:Reports/Wanted templates). Darkid « TalkContribs » 05:38, 15 April 2022 (UTC)

Template request

Hi there,

In response to this talk page entry, would it be possible to change the {{pronounce}} template to support a different IPA link?
GrampaSwood (talk) 16:18, 1 June 2022 (UTC)

Done, I feel like you could've tackled this one :) Maybe next time? Darkid « TalkContribs » 16:33, 1 June 2022 (UTC)

Style Guide/ru

Hi there! I've noticed that you moved the russian translations for the FAQ and Wiki Cap guidelines under the main namespace back in April.

I was recently approached by a /ru member, who told me that translations of this kind were removed a few years ago, in compliance with some unbeknown-to-me decision.

By any chance, as of now, can the localized version of the Style guide be moved back in as well?

-User Foxbite avatar.jpgfoxbite (talk) ⨯ (contribs) 14:11, 10 June 2022 (UTC)


Untranslated Templates Specification Possibility?

Hi there, you(r bot) created this list: 368 templates missing German translation ;; this is nice, but it isn't as helpful for me as at seems. ; f.e. Template:Backpack item has 35928 uses and is missing 1 translation <- i cant find the specific place where the translation is missing, cause these templates are complex and big and if i scroll through them i can easily miss it. Since your bot knows there is something missing can't it mark the general/specific area and make a note in the untranslated template report? This would help every language a lot and make the templates very accurate and complete very fast. Thanks for any feedback. Magicalpony (talk) 14:20, 23 July 2022 (UTC)

Should be better now. Thanks for the suggestion! Darkid « TalkContribs » 18:05, 13 August 2022 (UTC)

Broken weapon preview template?

It seems like the template for the weapon previews on pages appears to be broken.

Like the 2D images are supposed to have both RED and BLU variants that you can toggle, but for some reason it only shows the RED image, causing the BLU images to go completely unused.

If you could look into this and hopefully fix it, that'd be pretty swell of you

Thanks.--ShadowMan44 (talk) 23:15, 8 September 2022 (UTC)

This is a long-standing bug that I am not fixing. Sorry. Darkid « TalkContribs » 00:47, 9 September 2022 (UTC)

3D view advanced module

Hello, I was wondering how I could port this template, and any JS/CSS it has over to another wiki, if you use discord, please add me at FreshYoMama#2077, as I am not familiar with IRC. FreshYoMama (talk) 04:16, 22 September 2022 (UTC)

As I mentioned on discord, you should get familiar with JS/CSS before trying to port anything. Darkid « TalkContribs » 05:31, 25 September 2022 (UTC)

3D Models Script

Hi. I'm posting this to your Talkpage so you probably will get notified on your e-mail or something. I recently made this topic on the 3D Models page regarding using the script under Windows 10 64bits. It seems that it's not possible to run the script using a 64bits Operational System due to the usage of mem.exe. I would like to know if the program would work under a Virtual Machine of Windows 10 32bits, so I could try that instead. I have Python 3.9 installed, but I'm mostly sure the wikitools and poster is only needed to automate uploading process, and not the actual 3D preview itself. Even so, I don't think mem.exe would open even if I had Python 2.x installed. Headphones style when? - User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 18:13, 28 September 2022 (UTC)

Replied over there. Thanks for the ping, I'm watching that page now. Darkid « TalkContribs » 18:59, 28 September 2022 (UTC)

Team Color Infobox for Community MVM Tour Medals

Community MVM tours are beginning to utilize custom painted medals with team colors. The default item infobox doesn't flow well on a page describing an entire campaign rather than a single item, however; so what I would like to have happen is to extract the team color section of the item infobox, exactly the way it currently is, and have it be a separate template I could use in the Rewards section of operation pages, to showcase custom team colors on their own.

As per your instruction, I've began a sandbox page as a rough idea of what I want: I'd like for this infobox to retain the team color functionality it has at the moment, but remove the need for a header image, and all the things from Basic Information down. When it's finished, I would like it to begin with RED and BLU headers, and showcase the team color images alone, sort of like this, and of course, continuing down to showcase them all.

Team color images already exist for these medals, as partially used in the example, as well as all existing medals that utilize custom team colors so far. They can be easily redirected to suit the team color infobox. That part isn't a problem; I just need the template, and I can take things from there. — User ThatHatGuy Signature Icon.png User ThatHatGuy Signature Talk.png User ThatHatGuy Signature Contribs.png 04:28, 14 October 2022 (UTC)

Okay, so I'd recommend using inspect element to figure out which html tags you want to keep -- and then deleting the others from the template. I'm happy to check your work but don't have much time to spend right now, sadly. Darkid « TalkContribs » 04:42, 14 October 2022 (UTC)

Random Tark question

heya!
I have a few queries regarding {{Item infobox}} that are a bit too advanced for me to handle. I was wondering if you could spare some time to assist me with thisthe requests are essentially aimed at reducing the amount of manually added text by translators to prevent pages from becoming outdated. I recently added "released-major" (under /sandbox) to automatically translate and format the "released" information ("{{Patch name|9|30|2010}}<br>([[Mann-Conomy Update]])") - defaults to "released" if not set, so it shound't break existing pagesbut there are a few issues that I haven't been able to resolve yet: specifically, the "used-by" section would benefit from a template that automatically generates the class list, similar to how {{avail}} functions

oh yeah, I have added most game attributes to Template:Dictionary/attributes, but I'm not sure if there is a better way to incorporate this into the infobox itself (that is, without having to include multiple {{attribute|token}} in the att-*/item-flag fields)

- Tark, on steam

Hello, Tark helped me with it and I've already added the changes to the main template, the only "issue" I have are the categories, for example this page, now in a page like "Fireproof Secret Diary/infobox" which is a subpage, is there a way to hide the categories or includeonly is the only way? I think its better to have the infobox shown instead of hidden. There's also a discussion if it helps. Thanks! Mgpt (talk) 04:32, 12 March 2023 (UTC)
{{#ifeq:{{BASEPAGENAME}}|Template:Item Infbox|{{ns:0}}|[[Category:whatever]]}}
Would this work? Darkid « TalkContribs » 04:35, 12 March 2023 (UTC)
The categories are added because of the parameter, the example I gave adds the Action items category (type = action) to the page. I think its only possible by adding a function to the main template only for pages ending with /infobox Mgpt (talk) 04:59, 12 March 2023 (UTC)
Yep, you'd need to add something to the main page, but yes, you could do something based on the subpagename too. Darkid « TalkContribs » 06:52, 12 March 2023 (UTC)

Slander at my user page

1 Opv (talk) 01:38, 30 April 2023 (UTC)

Slander is a pretty heavy accusation. I'd appreciate you responding on your talkpage about your concerns, rather than splitting the discussion here. Darkid « TalkContribs » 01:38, 30 April 2023 (UTC)
I don't speak about slander. Opv (talk) 01:40, 30 April 2023 (UTC)
I'm not sure how to help you then, other than informing you that your behavior is not acceptable, and encourage you to edit in more acceptable ways. Darkid « TalkContribs » 01:43, 30 April 2023 (UTC)
Police and doctors will help you. Not me. Opv (talk) 01:45, 30 April 2023 (UTC)

Translation table troubles

Hello Darkid, this is a special request. I have already discussed this with Mikado and Swood. The issue was that the Translation progress table seems to track some pages that could be subtracted as they simply cannot be touched by localization teams; some pages affect the listed categories but also the overall progress bar; there should be a way to ignore these, so the main function of the table can truly shine. One very good example is, WebAPI which is an untranslatable page; categories are also affected Category:Lists to be expanded or Category:Custom maps unreleased stubs/lang. It could be nice to have a whitelist we can all work on; comparing categories together could be an added perk, but I already personally do this manually using software. Let me know your thoughts!
Luno 🪐🌕 Talk / Contributions / Team 20:35, 26 August 2023 (UTC)

I saw the discussion (wikipedia has a new "you were mentioned" feature, if someone links to my user) -- I can get started on making you a whitelist. Darkid « TalkContribs » 22:12, 26 August 2023 (UTC)
Okay, I've added an exclusion for WebAPI -- it should now be reflected in the template (the raw count is now adjusted via {{Translation progress/count}}). You mentioned some categories needing adjusting too -- you should just be able to add/adjust the offsets on {{Translation progress/stats}}.
Please let me know if you run into any bugs/have any other concerns. Darkid « TalkContribs » 22:44, 26 August 2023 (UTC)
Damn, you were quick on the draw. Well, there are still a lot of exclusions to add. Having to compare missing pages with overall progress is going to be tough, as it's pretty much a one-sided effect, but it should work. It would be nice to expose the whitelist somewhere on the template as a shortcut or something. As for category offsets, that's a bit much for me; if there is no better way, you'll have to show me an example. Thank you.
Luno 🪐🌕 Talk / Contributions / Team 00:12, 27 August 2023 (UTC)
There should already be a report from the bot about missing translations -- but I guess it's not per category :/
There isn't a really good way to list the allowed/prevented pages beyond just editing the template, although I guess you could copy/paste that info somewhere if you need it.
The "offset" thing is just "set the offset value to the number of extra english pages", it's not rocket science. I've added one offset already -- you should be able to follow the example.
Darkid « TalkContribs » 01:03, 27 August 2023 (UTC)
Sorry, I accidentally removed two of your messages in an edit conflict. Restoring and responding...
I assume it would be possible to bridge that whitelist so that WebAPI stops popping up in Missing translations. On that note, there is a red link for "Missing categories in French", Is this still planned?
Luno 🪐🌕 Talk / Contributions / Team 00:24, 27 August 2023 (UTC)
this should fix WebAPI showing up, as well as the redlink. Darkid « TalkContribs » 03:31, 27 August 2023 (UTC)
I have noticed that Total progress is listing 395 remaining pages while Missing pages lists 365. That might be worth looking into?
Luno 🪐🌕 Talk / Contributions / Team 00:32, 27 August 2023 (UTC)
I have limited time to look into this stuff, the template should be relatively straightforward to play with, feel free to make a copy and play around with it. Darkid « TalkContribs » 03:31, 27 August 2023 (UTC)
No rush, thanks a bunch Darkid. I'll let you know if anything else arises.
Luno 🪐🌕 Talk / Contributions / Team 14:22, 27 August 2023 (UTC)

Duplicated pages in romanian

I saw your request on the Romanian translation progress page about the duplicated Item_sets pages. After looking at both of the pages I transferred all of the content on the correct page and updated it to be in line with the English page. However, I don't know how to delete the Item_set page witch serves no purpose now. This is the page that needs to be deleted: Item_set/ro. Thank you for bringing this issue to my attention! -Lord of Dominating (talk) 00:37, 7 September 2023 (UTC)

Thanks for the effort! For future reference, you can just use {{delete}} to request that a page be deleted, or feel free to reach out to me (like you just did!) Darkid « TalkContribs » 03:23, 7 September 2023 (UTC)

Paint Colors Handler Help

Could you help to add the paint-colors handler that's present in {{Backpack item}} to {{Item infobox}}? There is now a singular item that always drops with a custom paint color set applied, and I would like to be able to showcase a paint splat in the loadout section of the item infobox for its article. — User ThatHatGuy Signature Icon.png 04:08, 20 October 2023 (UTC)

3D model script

Hello! I was planning on updating the loose cannon's projectile model with the 3D tools but I was told that the script doesn't work, is there a workaround? Thanks!
Cheddar (talk) 19:49, 30 October 2023 (UTC)

What doesn't work about the script? Did HLMV offsets break again? Darkid « TalkContribs » 02:12, 31 October 2023 (UTC)
Hopefully this thread is still new enough that I can post it. First of, thank you for updating the scripts to work on Python 3+. I think I got all the necessary steps done before running, but, once I run automate.py, it activates the HLMV window, a yellow background shows up, and HLMV crashes. I am not sure what the issue is. I want to mention that I'm using the mem.exe I compiled by my own about a year ago, as the one from the repo doesn't work as it's 32bits, while I run Windows 10 64bits instead. I saw that there was no changes to mem.exe, so I don't think it's an issue with it. My exact version of Python is 3.9.13. Headphones style when? - User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 03:48, 19 November 2023 (UTC)
Yeah, it looks like mem.exe is broken -- which happens every time they update hlmv. I'm working on an update. Darkid « TalkContribs » 05:15, 19 November 2023 (UTC)
Praise be! Cheddar (talk) 08:41, 19 November 2023 (UTC)
Would it be possible to include a HLMV++ variant too? HLMV++ and HLMV should be identical when it comes to rotations, the only issue would be that a setting needs to be turned off before making these images called "Aspect correction" (but that should not be hard to do manually). HLMV takes a lot more time to set up than HLMV++ (such as the dxsupport.cfg change, possibly a fix for blurry images, grey cornea issue, anti-aliasing not working properly, etc.) and would be nice if that had support too.
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 09:52, 19 November 2023 (UTC)
HLMV++ has different camera zoom ins and zoom outs (think like... regular HLMV zooms at 1 intervals, while ++ does at 0.5 intervals), though I think that rotating the model should be the same. If anything, both results should be compared before making a release stating they both work the same, just to be safe. Edit: The Aspect Correction thing shouldn't be necessary, if anything, it can simply be disabled before running the script, as you still have to manually load the model before running it. I use an older version of HLMV++ that doesn't has that, and I feel like script could break trying to disable something it doesn't exist. Headphones style when? - User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 13:26, 19 November 2023 (UTC)

──────────────────────────────────────────────────────────────────────────────────────────────────── Updated for HLMV. Still working on HLMV++ support. Darkid « TalkContribs » 03:31, 20 November 2023 (UTC)

Updated for HLMV++. Let me know if you have any issues. Darkid « TalkContribs » 05:35, 20 November 2023 (UTC)
I now seem to be getting missing texturesfor the background on HLMV++ Cheddar (talk) 08:04, 20 November 2023 (UTC)
Scratch that, I just seem to have problems now with Visual C++ and the install requirements, "msvcp140.dll" is missing even with it installed, not to mention the other scripts needed. Cheddar (talk) 09:13, 20 November 2023 (UTC)
To add to that, I'm stuck on the install, as well. I seem to not really understand the installation process after downloading the required programs. H20verdrive (talk) 09:22, 20 November 2023 (UTC)
To add onto this further, we did make progress but H20 and I are getting thisissue now. 10:47, 20 November 2023 (UTC)
Can you please post your entire error output to somewhere like pastebin? I can recompile the C++ redistributable but it's much harder for me to fix python errors. Darkid « TalkContribs » 12:10, 20 November 2023 (UTC)

────────────────────────────────────────────────────────────────────────────────────────────────────Thisis the full log Cheddar (talk) 12:23, 20 November 2023 (UTC)

On "requirements.txt", remove the "-r TFWiki-scripts/requirements.txt" line, and run it. I was getting similar errors and this fixed it (if I recall correctly). You may get an error after installing Pillow (but it will work properly). Simply remove the two first lines and only keep the one for "pywin32==304", then, you should have all libraries installed properly. Additionally, if either or both steps doesn't work, run CMD as Administrator. Haven't tested the new version yet, though, but I had this issue prior to posting my initial comment. Headphones style when? - User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 22:22, 20 November 2023 (UTC)
Just tried this and was getting errors on installing pywin32==304 saying that it could not find a version that satisfies the requirement. H20verdrive (talk) 22:38, 20 November 2023 (UTC)
The versions shouldn't matter too much -- you can just install all the dependencies by hand:
pip install pywin32 numpy Pillow requests
If you downloaded the source from github you probably didn't get the TFWiki-scripts submodule, which means you won't be able to upload anything. Darkid « TalkContribs » 00:27, 21 November 2023 (UTC)
Don't know if anyone else is getting this issue, but it seems I'm missing some .dll files from mem.exe. (VCRUNTIME140D.dll, VCRUNTIME140_1D.dll, MSVCP140D.dll, ucrtbased.dll) H20verdrive (talk) 02:15, 22 November 2023 (UTC)
Try pulling from github again -- I uploaded a new mem.exe there earlier. If not, I've got some other fixes I made to help Cheddar and I'll push them later. Darkid « TalkContribs » 05:17, 22 November 2023 (UTC)
Weird, now it's saying it can't run on the 64-bit version of Windows. H20verdrive (talk) 06:33, 22 November 2023 (UTC)

────────────────────────────────────────────────────────────────────────────────────────────────────Updated once again. Please try downloading the latest zip and following the instructions in the readme. Darkid « TalkContribs » 06:53, 23 November 2023 (UTC)

Thank you, Darkid! After some finagling, I've gotten it to work. I'm thankful for everything you've done to update it and enable us to update and create new 3D images for the Wiki. (Happy Thanksgiving!) H20verdrive (talk) 23:41, 23 November 2023 (UTC)
You're welcome! Let me know if any of your finagling should be added to the FAQ. Darkid « TalkContribs » 00:24, 24 November 2023 (UTC)
Whenever I try to use automate.py, HLMV will change its rotations and will finish, however when I go back to Powershell it gives this error. I am using version 3.3 of the script and Python 3.7.9, any idea on how to fix this?
Andrew360 Edit icon.png Speech typing.png Photo Badge Decal Example.png 23:31, 25 November 2023 (UTC)
Ah, sorry -- that means the automatic cropping is failing. See "The 3D image is not removing the HLMV window borders" in the FAQ. I can improve the error message too. Darkid « TalkContribs » 05:00, 26 November 2023 (UTC)

Crate template

{{Crate series table}} doesn't properly translate names, it only links to the correct page. I've tried looking at it but it seems like it's more complicated than just adding item name.
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 14:36, 9 December 2023 (UTC)

All done. I've done some extra cleanup and added some comments, hopefully it all makes sense to you now. Darkid « TalkContribs » 17:57, 10 December 2023 (UTC)

Help with changing my username

Hello, Darkid. I need some help with this username I chose before and I want to change it from EinTheReal to PinRouge. Any help would be greatly appreciated, thanks in advance. Cordially yours, EinTheReal PinRouge (talk) 15:39, 19 December 2023 (UTC)

This task can only be performed by Administrators, you would have to contact Tark or Wookipan.
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 16:38, 19 December 2023 (UTC)
Pictogram tick.png Done. For future reference, please refer to Help:Group rights for a complete list of staff members and their abilities/permissions. — Wookipan (talk | contribs) 21:47, 19 December 2023 (UTC)
Thanks for monitoring my talkpage for me, folks :) Darkid « TalkContribs » 01:27, 20 December 2023 (UTC)

Module talk:Availability

Hello, can we add the unusual-expired parameter? I made a topic on the discussion page. Maybe we should go with "Uncrate (Unusual) (expired)" (text taken from HazMat Headcase) Mgpt (talk) 15:09, 27 December 2023 (UTC)

If you have a proposal, it saves me a lot of time if you can just put it on the sandbox page (and add appropriate tests on the sandbox docs) Darkid « TalkContribs » 18:30, 27 December 2023 (UTC)
Done, its working (there was a space missing but I fixed it) Mgpt (talk) 19:10, 27 December 2023 (UTC)
All done. Please add usage examples on the sandbox docs page next time -- that's how you can test that it looks correct. Darkid « TalkContribs » 09:50, 29 December 2023 (UTC)

Help with Template

Hello. Could you help me with something related to the Template:Painted variants? I'd like if there was a new parameter called override-title. Using this parameter would add a title in the same vein when default= or style= parameters are used (I'm talking about the "Style 1" that appears above "Single colors" and below "Painted variants - Style 1"). Additionally, if default= or style= is used in conjunction with override-title, whatever is put with override-title= will replace whatever value was put into either default= or style=. Lastly, the text for override-title= wouldn't be linked to the {{item name}}, as the idea is to put any title on it, however, it should still be possible to use {{item name}} when using a name on the dictionary.

I'd like to use this parameter for the Gibus pages (not the Galvanized Gibus page), by including each of the styles as tabs on the Painted Variants table. The idea is to add these paint variants using override= with the name of the other styles, so there's no need to re-upload them or make a huge amount of redundant redirects. However, doing so currently causes no text to be visible on top (the text between "Single colors" and "Painted variants -..." does not show up), because I am unable to use style=, doing so causes the filename to be different, therefore the images does not show on the table. Feel free to use this code for testing, though you'll have to move it to Ghastlierest Gibus page and Show Preview for a better, well, preview. Once the parameter is added, I will add the tabs to that page, the other Gibus pages, and the rest of the languages as well. Thanks! Headphones style when? - User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 01:17, 28 December 2023 (UTC)

Which of these 3 boxes are you trying to change? Can you make an MSPaint mockup of what you're looking for, and/or give me a sandbox page of how you *want* to call the template (but that doesn't work)? Darkid « TalkContribs » 09:57, 29 December 2023 (UTC)
It would be the letter "C". Here's some screenshots to help you. Right now, the pages look like this: https://imgur.com/a/43eplWu. The idea would it to be look like this instead, please see this mock-up: https://imgur.com/a/lJ0ynUw. Just to keep things clear. The reason I'm not using "style=" on the second album is because, if I do, the filenames change, and the images don't show up. Someone suggested me just using redirects instead, but that would be approximately 111 pages worth of redirects. I think it's a bit redundant doing so, and I would say the override-title method would be much more ideal. Thank you! Headphones style when? - User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 10:32, 29 December 2023 (UTC)
Hello, I just wanted to ask / remember if you have any plans in making this parameter available on the template. I don't think it should be too difficult to make, even though I tried many times but I ain't a pro when it comes to templates. Thank. Headphones style when? - User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 12:58, 7 February 2024 (UTC)
Maybe I'm not understanding correctly, but it looks like that's controlled by this code (which is the sole use of the 'default' parameter). I think you should just be able to add a further override, or change this #if statement as you need.
{{#if:{{{hh|}}}|{{ns:0}}|{{#if:{{{default|{{{style|}}}}}}
| {{!}}+ style="text-align:left; font-size:1.5em; padding:0.5em 0em" colspan="4" {{!}} {{#if:{{{name|}}}|{{item name|{{{name}}}}}|{{item name|{{{default|{{{style|default appearance}}}}}}}}}}
}}}}
I see that there's a sandbox page set up, I've added some more docs samples, hopefully you can take it from here.
Darkid « TalkContribs » 03:49, 12 February 2024 (UTC)

Speed table metric units

I believe I asked a few years ago about adding Metric units to the {{Class speed table}} (preferably in the order of Metric -> Imperial -> Hammer units), but I never made a talk page entry for it. It looks very complicated so I understand it won't be done any time soon, but I thought I'd leave it here regardless for if you're ever bored :^)
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 14:09, 2 January 2024 (UTC)

This content is actually generated by {{Class speed table/top row}} (and mid row, etc). It looks like the kph math is already there, even -- it's just only in use on non-english pages.
I'd recommend making (another) sub-template for the tooltip (maybe {{Class speed table/tooltip}}?) and then you can consult editor preferences, or whatever. Darkid « TalkContribs » 18:22, 2 January 2024 (UTC)
Tooltip subtemplate created. Feel free to play around with it (in a sandbox) until it looks good to you, lmk if you need help with that but it should be very straighftorward. Darkid « TalkContribs » 21:47, 10 January 2024 (UTC)
Thank you, I will try some stuff in a sandbox soon.
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 21:55, 10 January 2024 (UTC)

About 3D module

Hi! I'm A22, Inkipedia ES bureaucrat, and Inkipedia and Animal Crossing Enciclopedia (wiki in Spanish) interface staff.
I'm contacting you to ask if you can give the green light for Animal Crossing Enciclopedia to use the 3D module you have available on your wiki, as happened with Inkipedia in an earlier discussion.
I would also like to know if in the future it is necessary to contact you every time a wiki wants to add your 3D module to their wiki (if so, it would not be necessary to contact you every time a wiki wants to add it).
Thanks! A22PG (talk) 16:09, 2 January 2024 (UTC)

I'm not an admin, so I don't have the final say on what you can/can't do. That said, the wiki contents are licensed, as long as you follow that license you don't have to ask for permission.
It's also not "my" 3D module -- I only own the latest copy of the automation scripts -- there has been a lot of work from a lot of editors to make the whole pipeline work -- much of which is in the actual 3D models template.
I *definitely* don't have the bandwidth to help every new wiki set up this template/workflow, so no, you definitely don't have to ask me every time.
Darkid « TalkContribs » 18:20, 2 January 2024 (UTC)

Userbox template request

Currently, the {{Userbox}} template adds it to a category based on the namespace, but if the URL is "User:Username/Template:Templatename" it adds it to the "Template:" namespace category instead of the "User:" one. Is there a way to prevent this?
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 17:53, 10 January 2024 (UTC)

You'll have to do some manual fixups, but you should be able to determine if the SUBPAGENAME startswith "Template" and recategorize. Darkid « TalkContribs » 18:13, 10 January 2024 (UTC)
Would simple adding another check after the "User:" check work?
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 18:13, 10 January 2024 (UTC)
I don't understand what you mean -- currently it's checking for {{#ifeq:User | User ; you'll need to add a different kind of check. Darkid « TalkContribs » 21:21, 10 January 2024 (UTC)
I mean putting another #ifeq inside the existing one for the "User" namespace check. So it would be smth like {{#ifeq:{{NAMESPACE}} | User | {{#ifeq:{{NAMESPACE}}| Template | X | Y}} | Z }}. Basically making it so if it's on "User" it also checks if it has "Template" then add categories based on that, rather than checking both namespaces separately.
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 21:55, 10 January 2024 (UTC)
You can think of {{NAMESPACE}} as a template with no parameters -- its value won't change if you call it a second time. You'll need to use some other magic word (like {{SUBPAGENAME}}) to determine if the subpage is a template.
So, something like {{#ifeq: {{NAMESPACE}} | User | {{#if: <condition representing your request> | [[category 1]] | [[category 2]]}} | [[category 3]] }}
w:Help:Magic words is a good starting point.
Darkid « TalkContribs » 00:49, 11 January 2024 (UTC)

Redirects

Hello, could you provide the same list with redirects? I'm fixing the ones without {{R lang}} and a few were different from the original (english) (Zombie/ru for example). Thanks Mgpt (talk) 17:04, 9 February 2024 (UTC) Team Fortress Wiki:Reports/Pages with no english equivalent

Here it is (as a one-off generated report). Let me know if you need something else. Darkid « TalkContribs » 04:08, 12 February 2024 (UTC)
User:Darkid/Reports/Pages_with_no_english_equivalent
Oh, I see -- you're asking for "non-english redirects which don't go to the same place as english". I can build something for that. Darkid « TalkContribs » 04:09, 12 February 2024 (UTC)
Thanks, that was fast :D I will check them soon Mgpt (talk) 16:56, 12 February 2024 (UTC)
Updated report is here, should update on monday. Darkid « TalkContribs » 07:33, 14 February 2024 (UTC)

Some template issue I'm facing

Hi Darkid,

I've been struggling to find a way around an issue I have with this template: User:GrampaSwood/Template:ReservationUpdate. I have a {{{contents}}} parameter that's intended to contain the text found on the Weapon Demonstration talk page, but an issue with this is that any kind of vertical bar (|) will obviously create issues on the template. Do you happen to know any way around this? My own signature uses vertical bars in it which is the main issue, I changed this but obviously I'd like to future-proof the template without forcing everyone to use {{!}} instead of |.
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 17:25, 14 February 2024 (UTC)

Just making sure I understand the issue -- someone is invoking the template like this:
{{User:GrampaSwood/Template:ReservationUpdate|content=Hello|world}}
and then the template reads the | as a second parameter? Darkid « TalkContribs » 17:29, 14 February 2024 (UTC)
Yeah, though there are some more parameters preceeding the "content" one, Hello|world is supposed to show up as "Hello|world" but instead it's "Hello".
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 17:33, 14 February 2024 (UTC)
Good news, this is a classic programmer problem -- sanitizing user input. Bad news, it's intractable :)
It is not possible to prevent users from inputting bad data -- and since there is no limit to how bad the data they input is, you will have to lower your expectations. (what if, e.g., a user's signature contained }}?)
I would recommend just adding error text if you detect the presence of (or 3, or 4) and tell the user how to fix it ("replace | with {{!}}").
Darkid « TalkContribs » 04:14, 15 February 2024 (UTC)
I'll look into it, though the template is taken from {{Doc begin}} with just the colour changed, maybe there would be a way to have the template function similar to that? Simply put {{ReservationUpdate}} at the top with some parameters, then have a template at the bottom that ends the coloured box. I'm not sure if that is possible, though.
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 10:58, 15 February 2024 (UTC)

Some requests regarding 3D models

I believe I requested this in IRC before, but forgot to put this on your userpage. I wouldn't consider it a very high priority thing, but Half-Life Asset Manager is a program similar to HLMV but to run GoldSrc models (TFC's engine). I tried to open up GoldSrc models in HLMV, but it either crashes the program or simply gives an error with the model, so I suspect regular HLMV can't open these models.

With that, I'd like to request you to look into making the 3D models script compatible with HLAM. Like I said, I imagine this would be very low priority but I'd like to get 3D views for those out at some point. Related to 3D views, do you think that they could be added to {{Hazard infobox}} and {{Pickup infobox}}? And perhaps the creation of a standalone 3D viewer that's similar to {{Team colors infobox}} (i.e. just the buttons and viewer, as if taken straight from the infobox. It would mainly be used on building pages because they have no infobox)?

These are quite a few requests, but I think I could manage the last few ones if you could leave a small explanation of how to implement 3D views into infoboxes.
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 00:08, 18 February 2024 (UTC)

HLAM is on my backlog (though likely not any time soon). The standalone 3D viewer should just be at Module:3D viewer advanced, you can just treat it like it's any other sub-template. Darkid « TalkContribs » 00:26, 18 February 2024 (UTC)

3D Images

Hello! I would like to get started on making 3d images! You're the best person I can talk to, so please give me advice.


Slimyboi500 User Slimyboi500 Profile.jpg Talk Speech voice.png Contribs Wrench IMG.png

Steam Steam tray.png 00:08, 18 February 2024 (UTC)

TFW:3D Models is a good starting point. There are also a couple of folks on the IRC who have worked on this project (and could help). I don't have time to give you a complete walkthrough of the process (and besides, the guides should be good enough), but do let me know if you have specific questions I can help with. Darkid « TalkContribs » 00:22, 18 February 2024 (UTC)

Back and forth

Hey Darkid, I added you on Steam a few days ago, but it doesn't seem like you use it much.

I wanted to discuss a few things, but it might also flood your talk page, so I thought it was a good idea. Luno 🪐🌕 Talk / Contrib. / Team 18:37, 26 February 2024 (UTC)
Ah, sorry, I kept getting spam bot adds :( I don't mind talkpage flooding but I can check my steam adds this evening. Darkid « TalkContribs » 21:41, 26 February 2024 (UTC)
Sent you a message there some time ago, hopefully you received it. Luno 🪐🌕 Talk / Contrib. / Team 17:22, 29 February 2024 (UTC)
Talked a bit on steam -- I think I've fixed the miscategorization bugs, and I'll log a feature request for "missing dictionary translations". Darkid « TalkContribs » 06:22, 8 March 2024 (UTC)

Wrong category on some of your pages

This page and also this page is tagged for Category:Secondary weapons, Category:Primary weapons, Category:Melee weapons (and probably more other tags), I checked the page, its because the bots don't add ":" before category links causing the page in wrong category. Profiteer the tryhard (talk|contribute) 01:57, 3 March 2024 (UTC)

Should now be fixed. Thanks for the bug report! Darkid « TalkContribs » 06:21, 8 March 2024 (UTC)
"Thanks!"
— Profiteer
Profiteer the tryhard (talk|contribute) 12:40, 8 March 2024 (UTC)
Fixing indentation Darkid « TalkContribs » 04:10, 11 March 2024 (UTC)

WindBOT filter broken

10:23:38 AM <Mgpt> hello darkid can you change this script a bit? https://wiki.teamfortress.com/wiki/User:WindBOT/Filters#File_categorization_.28Add_.7B.7BNo_category.7D.7D_or_.7B.7BUser_image.7D.7D.29 Just needs these lines after "  if title[:10].lower() == 'file:user ':   "
10:23:49 AM <Mgpt> https://www.irccloud.com/pastebin/CQVDlDde/
10:25:09 AM <Mgpt> It sent as a link, should be this:  # Check for audio or text files
10:25:09 AM <Mgpt>  if not title.lower().endswith(('.mp3', '.wav', '.ogg', '.txt')):
10:26:15 AM <Mgpt> So it doesn't do this: https://wiki.teamfortress.com/w/index.php?title=File:User_ThatHatGuy_Demo.mp3&action=history

Darkid « TalkContribs » 16:44, 6 March 2024 (UTC)

Template loop

Under Cover/ro is doing something bad with the dictionary, idk. Darkid « TalkContribs » 08:46, 7 March 2024 (UTC)

fixed Mgpt (talk) 20:16, 14 March 2024 (UTC)

Pictogram info.png Current

{{#invoke:Backpack item/format|format_string|{{{1}}}|festivized={{{festivized|}}}|filter={{{filter|}}}|item_name={{{item_name|}}}|killstreak={{{killstreak|}}}|quality={{{quality|}}}|prefix={{{prefix|}}}|suffix={{{suffix|}}}}}

Pictogram wait.png Forever

Color-changing crosshair


alias Red "resetColor; incrementvar cl_crosshair_red -256 255 128; alias resetColor redReset"
alias redReset "incrementvar cl_crosshair_red -256 255 -128"
alias Orange "resetColor; incrementvar cl_crosshair_red -256 255 128; incrementvar cl_crosshair_green -256 255 64; alias resetColor orangeReset"
alias orangeReset "incrementvar cl_crosshair_red -256 255 -128; incrementvar cl_crosshair_green -256 255 -64"
alias Yellow "resetColor; incrementvar cl_crosshair_red -256 255 128; incrementvar cl_crosshair_green -256 255 128; alias resetColor yellowReset"
alias yellowReset "incrementvar cl_crosshair_red -256 255 -128; incrementvar cl_crosshair_green -256 255 -128"
alias Green "resetColor; incrementvar cl_crosshair_green -256 255 128; alias resetColor greenReset"
alias greenReset "incrementvar cl_crosshair_green -256 255 -128"
alias Blue "resetColor; incrementvar cl_crosshair_blue -256 255 128; alias resetColor blueReset"
alias blueReset "incrementvar cl_crosshair_blue -256 255 -128"
alias Purple "resetColor; incrementvar cl_crosshair_red -256 255 64; incrementvar cl_crosshair_blue -256 255 128; alias resetColor purpleReset"
alias purpleReset "incrementvar cl_crosshair_red -256 255 -64; incrementvar cl_crosshair_blue -256 255 -128"
alias Lighten "incrementvar cl_crosshair_red -256 255 32; incrementvar cl_crosshair_green -256 255 32; incrementvar cl_crosshair_blue -256 255 32"
alias Darken "incrementvar cl_crosshair_red -256 255 -32; incrementvar cl_crosshair_green -256 255 -32; incrementvar cl_crosshair_blue -256 255 -32"
bind 1 "slot1; Green"
bind 2 "slot2; Blue"
bind 3 "slot3; Red"
bind w +Qforward
bind a +Qmoveleft
bind s +Qback
bind d +Qmoveright
alias +Qforward "+forward; Darken"
alias -Qforward "-forward; Lighten"
alias +Qmoveleft "+moveleft; Darken"
alias -Qmoveleft "-moveleft; Lighten"
alias +Qback "+back; Darken"
alias -Qback "-back; Lighten"
alias +Qmoveright "+moveright; Darken"
alias -Qmoveright "-moveright; Lighten"
Friend Achievements Taunt Achievements Pacifism Achievements
Agent Provocateur
Agent Provocateur
Backstab your Steam Community friends 10 times.
Full Spectrum Warrior
Full Spectrum Warrior
Ignite 3 enemy players using your Rainblower taunt.
First Do No Harm
First Do No Harm
Play a full round without killing any enemies, and score the highest on a team of 6 or more players.
Honky Tonk Man
Honky Tonk Man
Smash an enemy player's head in with your guitar.
No-Hitter
No-Hitter
Steal and then capture the enemy intelligence without firing a shot.
Family Practice
Family Practice
ÜberCharge 5 of your Steam Community Friends.
OMGWTFBBQ
OMGWTFBBQ
Kill an enemy with a taunt.
Foundry Force Five
Foundry Force Five
Play in a game with five or more players from your Friends list.
Out of the Park
Out of the Park
Bat an enemy 25 meters.
House Call
House Call
Join a game that one of your friends is in and then deploy an ÜberCharge on him.
Scotch Tap
Scotch Tap
Glory in the slaughter of your enemies using the Eyelander.
With Friends Like These...
With Friends Like These...
Play in a game with five or more players from your friends list.
Shafted
Shafted
Stab an enemy with an arrow.
Flight Crew
Flight Crew
Play in a game with five or more players from your Friends list.
Show Trial
Show Trial
Kill an enemy with a taunt.
Brotherhood of Steel
Brotherhood of Steel
Complete a mission with 5 people on your Friends List.
Spray of Defeat
Spray of Defeat
Use a grenade to gib a player.
The Man from P.U.N.C.T.U.R.E.
The Man from P.U.N.C.T.U.R.E.
Stab an enemy while fencing.

Wikichievements


Wikichievement Awarded by Reason
Tf scout kill from behind.png

Taskmonkey
Contribute to the Wiki by doing a lot of "manual edits" (such as migration of data to templates).

Dispenser (GianAwesome) Wikichievement unlocked!
For actually having patience to replace patch links with Patch name, congratulations! =D
Wikichievement Awarded by Reason
The extinguished gentleman.jpg

Tron-o-Matic
Provide technical edits to the Wiki in the form of bots, configuration, or complex styling.

Eels Wikichievement unlocked!
Because you're pretty damn good at this technical stuff. Keep it up!
Wikichievement Awarded by Reason
Lenin A Hand.png

Helping Hand
Help other users to improve the Team Fortress Wiki with constant tips and coordination.

Lexar Wikichievement unlocked!
Helping me to use the dictionary quad properly
Wikichievement Awarded by Reason
3D-O-Vision.png

3D Wizard
Create a 3D image for the 3D Models project.

Redconer Wikichievement unlocked!
You used so much magic with those bot killers that you need an award for that.
Wikichievement Awarded by Reason
3D-O-Vision.png

3D Wizard
Create a 3D image for the 3D Models project.

Gabrielwoj Wikichievement unlocked!
For creating tons of Australium, Botkiller and missing 3D Images, you simply deserve another one.
show;hide