Template:InvSprite: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

22 January 2024

21 January 2024

  • curprev 22:0722:07, 21 January 2024Lodish talk contribs 264 bytes −2,725 Replaced content with "<includeonly>{{#invoke: spriteFile | sprite | name = Invicon | scale = {{{scale|1}}} | keepcase = 1 | align = middle | size = 32 }}</includeonly><noinclude> {{#invoke: documentation | page }} <!-- Put categories/interwiki on the documentation page --> </noinclude>" Tag: Replaced
  • curprev 22:0622:06, 21 January 2024Lodish talk contribs 2,989 bytes +2,989 Created page with "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%+]', '-' ) end local link = ( args.link or '' ) if mw.ustring.lower( link..."