正在編輯「模組:Wd」
跳至導覽
跳至搜尋
此編輯可以被還原。 請檢查以下比較表,確認您是否要還原,然後發布以下變更以完成編輯還原。
最新修訂 | 您的文字 | ||
行 693: | 行 693: | ||
local back = "" |
local back = "" |
||
if self.entityID:sub(1,1) == "Q" then |
|||
prefix = "Item:" |
|||
end |
|||
if self.entityID:sub(1,1) == "P" then |
if self.entityID:sub(1,1) == "P" then |
||
prefix = "Property:" |
prefix = "Property:" |
||
行 713: | 行 710: | ||
end |
end |
||
value = "[[File:OOjs UI icon edit-ltr-progressive.svg|frameless|text-top|10px|alt=" .. i18n['info']['edit-on-wikidata'] .. "|link=https:// |
value = "[[File:OOjs UI icon edit-ltr-progressive.svg|frameless|text-top|10px|alt=" .. i18n['info']['edit-on-wikidata'] .. "|link=https://www.wikidata.org/wiki/" .. prefix .. self.entityID .. "?uselang=" .. self.langCode |
||
if self.propertyID then |
if self.propertyID then |