tModLoader

tModLoader

1,481 ratings
Wikithis
6
3
11
4
4
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod Side: Client
tModLoader Version: 1.4.3, 1.4.4
File Size
Posted
Updated
200.516 KB
8 Jul, 2022 @ 4:19pm
15 Jul, 2024 @ 8:34pm
52 Change Notes ( view )

Subscribe to download
Wikithis

Description
Github[github.com]

Wikithis allows you to check wiki of selected item/npc in game!
Works for every vanilla item, npc! Also will work with most modded items/NPCs.

Supports multiple different languages.

If you want to add support for this mod, then check lower!

Adding cross-mod support
It's fairly simple to add cross-mod support!

First you SHOULD have wiki for your own mod, that's important!
Then, add some code to your Mod class that invokes Mod.Call on the Wikithis mod. Make sure to follow the message format perfectly.
"AddModURL", Mod mod, string domain, [OPTIONAL] GameCulture.CultureName culture

public override void Load() // You can use any other loading method, doesn't matters. { ModLoader.TryGetMod("Wikithis", out Mod wikithis); if (wikithis != null && !Main.dedServ) { wikithis.Call("AddModURL", this, "https://examplemod.wiki.gg/wiki/{}"); // You can also use call ID for some calls! wikithis.Call(0, this, "https://examplemod.wiki.gg/wiki/{}"); // Alternatively, you can use this instead, if your wiki is on terrariamods.fandom.com //wikithis.Call(0, this, "https://terrariamods.fandom.com/wiki/Example_Mod/{}"); //wikithis.Call("AddModURL", this, "https://terrariamods.fandom.com/wiki/Example_Mod/{}"); // If there wiki on other languages (such as russian, spanish, chinese, etch), then you can also call that: //wikithis.Call(0, this, "https://examplemod.wiki.gg/zh/wiki/{}", GameCulture.CultureName.Chinese) // If you want to replace default icon for your mod, then call this. Icon should be 30x30, either way it will be cut. //wikithis.Call("AddWikiTexture", this, ModContent.Request<Texture2D>(pathToIcon)); //wikithis.Call(3, this, ModContent.Request<Texture2D>(pathToIcon)); } }

Translation Credits
Lin and Listentowind - chinese translation
Project tRu - russian translation
Taco - polish translation
Sea Noodle - italian translation
Henrykado - old brazilian portuguese translation
ppiece of cat - old russian translation
TheBrutalSkull ^-^ - old french translation
Naudiz - old german translation
Originally posted by tModLoader Wikithis:
Developed By BasicallyIAmFox
Popular Discussions View All (4)
13
2
30 Oct, 2024 @ 3:26am
no clamtitty
NotLe0n
1
28 May, 2024 @ 5:50am
Search by English name, not by localized name
snowinmars
233 Comments
A_Q 12 Nov, 2024 @ 2:14pm 
It works but the wiki page is extremely laggy
Kanaris 12 Oct, 2024 @ 5:40am 
Mods have to write support for wikithis, not the other way around. BasicallyIAmFox wrote instructions on how to add support for wikithis in the mod description. Go suggest to the authors of the mods you listed that they add support for wikithis.
Viper 11 Oct, 2024 @ 3:14pm 
Hi, is there or will there be support for the secrets of the shadows, the stars above, spirit, shadows of abbadon, lunar veil mods?
BasicallyIAmFox  [author] 30 Aug, 2024 @ 12:09pm 
you have to hover over npcs and press the button; are you sure its not working? file an issue on github with logs pls
TracedReaper 30 Aug, 2024 @ 10:02am 
Great mod but seems the NPC part is broken, I've even tried the Guide and Merchant, as well as multiple different modded NPCs, couldn't find anything that works. I see someone else made a comment about this as well and there was absolutely no response so I have a feeling it won't be getting fixed anytime soon; which is quite disappointing.
микромолекула1100 9 Aug, 2024 @ 5:11am 
cperma
Tokisaki Kurumi 8 Aug, 2024 @ 9:39pm 
How do I use Wikithis on an NPC? I pressed the hotkey but nothing happened.
BasicallyIAmFox  [author] 3 Aug, 2024 @ 9:53pm 
make github issues and send logs btw
Kanaris 15 Jul, 2024 @ 7:39am 
works fine for me. try unsubbing and resubbing a few moments later and reopen TML
BasicallyIAmFox  [author] 15 Jul, 2024 @ 5:39am 
it should work fine :shrug: