Open Beta is out on IOS/Android, PC & Mac! Play Now for Free! |
Module:ItemRef
Jump to navigation
Jump to search
Documentation for this module may be created at Module:ItemRef/doc
local p = {} function p.ref( f ) local args = require( 'Module:ProcessArgs' ).merge() local alt = args.alt or '' local link = args.link or '' local item = args.item local itemName = args.itemName local str = itemName .. ' [[File:Icon ' .. item .. '.png|32px|link=' .. link .. '|alt=' .. alt .. ']]' return '<span class="pixel-image nowrap">' .. str .. '</span>' end return p