שינויים
קפיצה לניווט
קפיצה לחיפוש
מ
אין תקציר עריכה
local p = {}
function p.usesProperty(frame)
local parent = frame.getParent(frame)
local result = ''
for k,v in pairs(parent.args) do
local p_num = v or ''
if p_num ~= '' then
local label = mw.wikibase.label(p_num) or "NO LABEL"
result = result .. "<li><b>[[d:Property:" .. p_num .. "|" .. label ..
frame:expandTemplate{title = "כ", args = {}} .. " <small>(" .. string.upper(p_num) .. ")</small>]]</b></li>"
end
end
return result
end
return p
function p.usesProperty(frame)
local parent = frame.getParent(frame)
local result = ''
for k,v in pairs(parent.args) do
local p_num = v or ''
if p_num ~= '' then
local label = mw.wikibase.label(p_num) or "NO LABEL"
result = result .. "<li><b>[[d:Property:" .. p_num .. "|" .. label ..
frame:expandTemplate{title = "כ", args = {}} .. " <small>(" .. string.upper(p_num) .. ")</small>]]</b></li>"
end
end
return result
end
return p