Content deleted Content added
this doesn't need any alt text either because it's a decorative image |
fix capitalization of Wikidata and Wikipedia in query output |
||
(4 intermediate revisions by one other user not shown) | |||
Line 12:
if p_num ~= '' then
local label = mw.wikibase.getLabel(p_num) or "NO LABEL"
result = result .. "<li>[[File:Disc Plain blue dark.svg|middle|4px|link=|alt=]] <b><i>[[d:Property talk:" .. p_num .. "|" .. label .. " (" .. string.upper(p_num) .. ")]]</i></b> (see <span class='plainlinks'>[https://query.wikidata.org/embed.html#SELECT%20%
ii = ii + 1
else break
Line 23:
function p.tuProperty(frame)
local parent = frame.getParent(frame)
local result = '<ul>'
local ii = 1
while true do
|