Module:Block value: Revision history

From TibiaCraft
Jump to navigationJump 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.

4 October 2025

  • curprev 22:0922:09, 4 October 2025 Root talk contribs 735 bytes +735 Created page with "local p = {} function p.value( f ) local args = f if f == mw.getCurrentFrame() then args = require( 'Module:ProcessArgs' ).merge( true ) end local block = mw.text.trim( args[1] or '' ):lower() local argType = args.type local values = mw.loadData( 'Module:' .. argType .. ' values' ) local value = values[block] local category = '' if not value then value = values[block:gsub( 's$', '' )] if not value then value = '[[Template:' .. argType .. ' values..."