-- This module implements {{icon}}.localgetArgs=require('Module:Arguments').getArgslocaldata=mw.loadData('Module:User:Mr. Stradivarius/icon/data')localp={}functionp.main(frame)localargs=getArgs(frame)localcode=args[1]returnp._main(code)endfunctionp._main(code)-- Look the icon up in the icons table.localicons=data.iconslocalicon=icons[code]ificonthen-- We found the icon first time, so return it.returniconelse-- See if we were passed an alias and return the icon for that alias if everything checks out.code=data.aliases[code]ifcodethenicon=icons[code]ificonthenreturniconendendend-- If all else fails, return the default value.return'[[File:Symbol question.svg|16px|link=]]'endreturnp