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

Module:Plural: Revision history

From Procreation 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.

6 March 2025

  • curprev 15:3015:30, 6 March 2025 Hloth talk contribs 617 bytes −8,044 Replaced content with "local p = {} function p.ru_pluralize(count, one, few, many) local mod10 = count % 10 local mod100 = count % 100 if mod10 == 1 and mod100 ~= 11 then return one -- singular elseif mod10 >= 2 and mod10 <= 4 and (mod100 < 10 or mod100 >= 20) then return few -- few else return many -- many end end function p.Plural(frame) local args = frame.args local lang = args["lang"] or "ru" local count = tonumber(args[1]) or 0 if lang == "ru" t..." undo Tag: Replaced
  • curprev 15:2415:24, 6 March 2025 Hloth talk contribs 8,661 bytes +8,661 Created page with "-- Credit to https://dev.fandom.com/wiki/Module:Plural ------------------------------------------------------------------ -- Lua script, that replaces {{plural:}} magic word -- Some languages have specific plural logic, but the {{plural:}} can't provide it on English wikis (such as Dev Wiki) -- -- Feel free to add more languages -- The logic was based on localization guide ---- Source: https://docs.translatehouse.org/projects/localization-guide/en/latest/l10n/pluralform..."