4,595
edits
en>Hike395 (auto detect calls from sandbox) |
(Created page with "-- This module implements Template:Icon. require("Module:No globals") local yesNo = require("Module:Yesno") local getArgs = require("Module:Arguments").getArgs local getPlain = nil local p = {} -- Determine whether we're being called from a sandbox local sandbox = mw.getCurrentFrame():getTitle():find('sandbox', 1, true) and '/sandbox' or '' -- Implements Template:Icon -- Returns the icon image corresponding to a string (like 'B') function p._main(args, data)...") |