Modul:Other uses of
Dokuméntasi antuk modul puniki prasida kakardi ring Modul:Other uses of/doc
local mOtheruses = require('Modul:Other uses')
local p = {}
p.otherusesof = function (frame)
function getArg (num)
local x = frame:getParent().args[num]
return x ~= '' and x or nil
end
local ofWhat = getArg(1) or mw.title.getCurrentTitle().prefixedText
local page = getArg(2)
local options = {
title = ofWhat,
otherText = string.format('sane anggen "%s"', ofWhat)
}
arg = page and {page} or {}
return mOtheruses._otheruses(arg, options)
end
return p