tModLoader

tModLoader

1,658 ratings
Wikithis
7
4
12
4
4
2
3
   
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 (7)
13
3
30 Oct, 2024 @ 3:26am
no clamtitty
NotLe0n
1
28 Mar @ 7:52pm
w
paicampai
1
28 May, 2024 @ 5:50am
Search by English name, not by localized name
snowinmars
239 Comments
in love w/ myself 29 May @ 9:43am 
I might be stupid, but I struggle with adding wiki URL to the code, I don't get where do I have to modify it
Docta 25 May @ 7:18am 
this is the most terraria mod ever
wrexxs 9 Apr @ 1:29pm 
you probably need to bind your keybinds dude
dinoduper 2 Apr @ 3:26pm 
it is not letting me use the wiki, it just says to press [NONE] to see the wiki
HKhornet 6 Mar @ 8:58am 
:steamthumbsup:
Flaccid Pancakes 6 Feb @ 5:33pm 
How on earth do i rebind the wiki search page? i somehow unbinded it and theres nowhere in the settings to rebind the key
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