Module:Wikidata label: Difference between revisions

Objects in a different namespace here
m (1 revision imported: Import of basic documentation templates)
(Objects in a different namespace here)
Line 169: Line 169:
eLink='c:Special:EntityPage/'..item
eLink='c:Special:EntityPage/'..item
elseif item_type == 'Q' then
elseif item_type == 'Q' then
eLink='d:'..item -- wikibase entity page link
eLink='d:Item:'..item -- wikibase entity page link
elseif item_type == 'P' then
elseif item_type == 'P' then
eLink='d:Property:'..item -- wikibase entity page link
eLink='d:Property:'..item -- wikibase entity page link
Line 182: Line 182:
link = 'd:Property talk:'.. item        -- link to wikidata property talk page
link = 'd:Property talk:'.. item        -- link to wikidata property talk page
elseif link_type == 'wikidata talk' then
elseif link_type == 'wikidata talk' then
link = 'd:Talk:'..item  -- link to wikidata talk page
link = 'd:Item:Talk:'..item  -- link to wikidata talk page
elseif link_type == 'commons' or link_type == 'commonscat' then
elseif link_type == 'commons' or link_type == 'commonscat' then
--[[
--[[