Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Sort/sandbox: Revision history

From Kenshi Wiki

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.

8 March 2025

  • curprev 20:3420:34, 8 March 2025 Prd talk contribs 1,787 bytes +1,787 Created page with "local getArgs = require('Module:Arguments').getArgs local p = {} local demo = function(s) return '<' .. string.sub(s,2,-8) .. '</span>' end -- Protect against sortkey nesting. -- Example: {{sort|{{dts|2013|07|07}}|{{dts|1990|12|01}}}} local encode = function(s) return (string.find(s, "sortkey") or string.find(s, "data-sort-value")) and "" or mw.text.encode(s) end function p._name(args) local sortkey = encode( ((args[4] or args.sort or '') ~= '') and (args[..."