View source for Module:SpriteFile
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local p = {}
function p.sprite( f )
local args = f
if f == mw.getCurrentFrame() then
args = require( 'Module:ProcessArgs' ).merge( true )
else
f = mw.getCurrentFrame()
end
-- Default settings
local default = {
scale = 1,
size = 16,
align = 'text-top'
}
-- local id = mw.text.trim( tostring( args[1] or '' ) )
-- if not args.keepcase then
-- id = mw.ustring.lower( id ):gsub( '[%s%+]', '-' )
000
1:0
Templates used on this page:
- Template:Documentation header (view source)
- Template:Sprite see also (view source)
- Template:T (view source)
- Template:Template link (view source)
- Template:Tl (view source)
- Template:Yesno (view source)
- Module:Documentation (view source)
- Module:ProcessArgs (view source)
- Module:SpriteFile/doc (view source)
Return to Module:SpriteFile.