تضامنًا مع حق الشعب الفلسطيني |
وحدة:Ustring
![](https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
local p = {}
for k, v in pairs(mw.ustring) do
p[k] = function(frame)
local args = frame.args
for _, v in ipairs(args) do
args[_] = tonumber(v) or v:gsub("^\\", "", 1)
end
if args.tag then
local tag = {name = args.tag, content = mw.ustring[k](unpack(args)), args = {}}
for x, y in pairs(args) do
if type(x)~='number' and x~='tag' then tag.args[x] = y end
end
return frame:extensionTag(tag)
end
return (mw.ustring[k](unpack(args)))
end
end
return p