Konten dihapus Konten ditambahkan
|
|
(24 revisi perantara oleh pengguna yang sama tidak ditampilkan) |
local label = ""
for i,v in ipairs(frame.args) do
-- if ( mw.wikibase.label( frame.args[i] ) ) then
-- label = mw.wikibase.label( frame.args[i] )
-- else
-- label = "[[w:d:" .. trim(frame.args[i]) .. "|" .. trim(frame.args[i]) .. "]]"
-- end
link_available = link_available .. "\n| " .. mw.wikibase.label( frame.args[i] ) .. "\n| "
link_availableif = link_available .. "\n| " ..( mw.wikibase.getEntitysitelink().id frame..args[i] "\n|) ) "then
-- if ( link_available = link_available .. "[[" .. mw.wikibase.sitelink( frame.args[i] ) ).. then"]]"
-- link_available = link_available .. '<span style="[[color:red">' .. mw.wikibase.sitelink( frame.args[i] )label .. "]]"'</span>'
-- link_available = link_available .. '<span style="color:red\n|-\n">' .. label .. '</span>'
link_available = link_available .. "[[" .. mw.wikibase.sitelink( frame.args[i] ) .. "]]"
end
link_available = link_available .. "\n|}"
|