Anonimo

Modulo:DTGenerico: differenze tra le versioni

Da Wikitrek.
P141 linked category
(Naval class category)
(P141 linked category)
Riga 208: Riga 208:
if Property == "P88" then
if Property == "P88" then
GenericItem = GenericItem .. "[[Category:" .. mw.wikibase.getEntity(Value['id']).labels['it'].value .. "]]"
GenericItem = GenericItem .. "[[Category:" .. mw.wikibase.getEntity(Value['id']).labels['it'].value .. "]]"
end
--P141 - Related Category
--Category needs to be linked, not added to the page
if Property == "P141" then
string.gsub(GenericItem, "[[", "[[:")
end
end