Board Thread:Lua Help/@comment-5068292-20150115153725/@comment-271025-20160624081503

I tried to set this up on tibia.wikia.com with some advice from this thread, but I don't know what to do with this error:

Lua error: bad argument #1 to 'gsub' (string expected, got number). Backtrace: [C]: in function "v" mw.ustring.lua:61: in function "v" (tail call): ? mw.html.lua:121: in function "_build" mw.html.lua:136: in function "_build" mw.html.lua:52: in function "_build" [C]: in function "tostring" Module:Navbox:386: in function "tostring" (tail call): ? mw.lua:425: ?

Any ideas? Why would a number appear in that spot is behind me.