Module:Sandbox/Wangxuan8331800/SB2

local p = {}

title = frame.args[1] bracket = frame.args.bracket

function yesno(a) local answer if a == ("yes" or "y" or "1") then answer = 1 elseif a == ("no" or "n" or "0") then answer = 0 end return answer end

function bold(a) local answer if p.frame.args.bold == ("yes" or "y" or "1") then answer = ' ' .. a .. ' '	else answer = a	end return answer end

function p.vgname(frame)

-- Main name group begin

if yesno(bracket) ~= 0 then title = "《" .. title .. "》"	end title = title .. bold(title) return title

-- Main name group end

-- Original name group begin

-- Original name group end end

return p