Մոդուլ:Uses Wikidata
Արտաքին տեսք
Documentation for this module may be created at Մոդուլ:Uses Wikidata/doc
--Copied from [[:en:Special:Permalink/669924412]]
local p = {}
function p.usesProperty(frame)
local parent = frame.getParent(frame)
local result = ''
local ii = 1
while true do
local p_num = parent.args[ii] or ''
if p_num ~= '' then
local label = mw.wikibase.label(p_num) or "<small><small><small>Չթարգմանված կամ գոյություն չունեցող պիտակ</small></small></small>"
result = result .. "<li><b><i>[[d:Property:" .. p_num .. "|" .. label .. " <small>(" .. string.upper(p_num) .. ")</small>]]</i></b> (տե՛ս [[d:Special:WhatLinksHere/Property:" .. p_num .. "|օգտագործումը]])</li>"
ii = ii + 1
else break
end
end
return result
end
return p