8,282
edits
m (1 revision imported: Imported from minecraft.wiki) |
No edit summary |
||
Line 738: | Line 738: | ||
end | end | ||
-- if p.items[itemname][1] == "item" then | |||
-- s = sprite.link({name='ItemSprite', link, k ,id=m}) | |||
-- --s = p.current_frame:expandTemplate{ title = 'ItemLink', args = { link , k , id = m } } | |||
-- elseif p.items[itemname][1] == "block" then | |||
-- s = sprite.link({name='BlockSprite', link, k ,id=m}) | |||
-- --s = p.current_frame:expandTemplate{ title = 'BlockLink', args = { link , k , id = m } } | |||
-- end | |||
if p.items[itemname][1] == "item" then | if p.items[itemname][1] == "item" then | ||
s = sprite.link({name=' | s = sprite.link({name='InvSprite', link, k ,id=m}) | ||
--s = p.current_frame:expandTemplate{ title = 'ItemLink', args = { link , k , id = m } } | --s = p.current_frame:expandTemplate{ title = 'ItemLink', args = { link , k , id = m } } | ||
elseif p.items[itemname][1] == "block" then | elseif p.items[itemname][1] == "block" then | ||
s = sprite.link({name=' | s = sprite.link({name='InvSprite', link, k ,id=m}) | ||
--s = p.current_frame:expandTemplate{ title = 'BlockLink', args = { link , k , id = m } } | --s = p.current_frame:expandTemplate{ title = 'BlockLink', args = { link , k , id = m } } | ||
end | end | ||
if p.items[itemname].note and p.notes[p.items[itemname].note] then | if p.items[itemname].note and p.notes[p.items[itemname].note] then |