Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,564
edits
(oh... I missed a period... (double alias attempt #3.1)) |
(moving the aliasData to Sprite:setItem (double alias attempt #4)) |
||
Line 2: | Line 2: | ||
local Sprite = {} | local Sprite = {} | ||
local types = { | local types = { | ||
Line 123: | Line 116: | ||
function Sprite:setItem(item, type) | function Sprite:setItem(item, type) | ||
-- load correct aliases | -- load correct aliases | ||
local aliasData = { | |||
minecraft = [[Module:InventorySlot/Aliases]], | |||
gm4 = [[Module:Gm4Sprite/Aliases]] | |||
} | |||
local aliases = mw.LoadData( aliasData.type ) | local aliases = mw.LoadData( aliasData.type ) | ||
-- js-less plaintext title | -- js-less plaintext title |
edits