Module:RequirementBox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 61: Line 61:
function p.render(frame)
function p.render(frame)
     local args = frame.args
     local args = frame.args
     local title    = args.title or "Game"
     local title    = "Invalid Game"
     local game    = args.game or ""
     local game    = args.game or ""
    if game == "vp1" then
        title = "Viva Piñata"
    elseif game == "tip" then
        title = "Viva Piñata: Trouble in Paradise"
    elseif game == "pp" then
        title = "Viva Piñata: Pocket Paradise"   
    end
     local state    = args.state or ""
     local state    = args.state or ""
     local evolve_first = args.evolve_first or ""
     local evolve_first = args.evolve_first or ""