모듈:InfoboxImage: 두 판 사이의 차이

내용 삭제됨 내용 추가됨
편집 요약 없음
편집 요약 없음
128번째 줄:
 
function i.InfoboxImage(frame)
local image = frame.args["그림"] or frame.args["image"];
if image == "" or image == nil then
136번째 줄:
return image;
end
if frame.args["그림숨김suppressplaceholder"] =~= "no" thenor
frame.args["suppressplaceholder"] ~= "아니오" or
frame.args["그림숨김"] ~= "아니오" or
frame.args["그림숨김"] ~= "no" then
if i.IsPlaceholder(image) == true then
return "";
줄 184 ⟶ 187:
else
local result = "";
local page = frame.args["문서"] or frame.args["page"];
local size = frame.args["크기"] or frame.args["size"];
local maxsize = frame.args["최대크기"] or frame.args["maxsize"];
local sizedefault = frame.args["기본"] or frame.args["sizedefault"];
local alt = frame.args["설명"] or frame.args["alt"];
local link = frame.args["연결"] or frame.args["link"];
local title = frame.args["제목"] or frame.args["title"];
local border = frame.args["테두리"] or frame.args["border"];
local upright = frame.args["upright"] or "";
local thumbtime = frame.args["thumbtime"] or "";
local center= frame.args["가운데"] or frame.args["center"];
-- remove prefix if exists
줄 250 ⟶ 253:
result = result .. "|link=" .. link;
end
if border == "예" or border == "yes" then
result = result .. "|border";
end
if upright == "예" or upright == "yes" then
result = result .. "|upright";
elseif upright ~= "" then