Module:Util: Revision history

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.

28 January 2023

  • curprev 07:0507:05, 28 January 2023Nomad talk contribs 1,475 bytes +1,475 Created page with "-- Lua utility module. -- Usage: {{#invoke:util|function|arg1|arg2|...}} local p = {} -- Pluralize a word based on local dictionary or rules. -- Usage: {{#invoke:util|pluralize|arg}} function p.pluralize(frame) local base= frame.args[1] local return_val local base_len=string.len(base) local base_end=string.sub(base,-1) local base_last2=string.sub(base,-2) -- dictionary first - irregular plurals if (string.lower(base)=="nebula") then return_val = string...."