Module:Guidance: Difference between revisions

Jump to navigation Jump to search
no edit summary
imported>Camenati
No edit summary
imported>Camenati
No edit summary
Line 156: Line 156:
end
end
if rd ~= nil then
if rd ~= nil then
        local jumpscareBanner = frame:expandTemplate {
if string.find(frame.args[1], "jumpscare") then
        local jumpscareBanner = frame:expandTemplate {
             title = "ambox",
             title = "ambox",
            args = {
            args = {
                small = "left",
                small = "left",
                type = "content",
                type = "content",
                nocat = "yes",
                nocat = "yes",
                image = "[[File:Avid-jumpscare-ace.png|50px|link=]]",
                image = "[[File:Avid-jumpscare-ace.png|50px|link=]]",
                style = "margin:auto;max-width:480px;width:inherit;background:#fcfcfc;border: 0px solid #a2a9b1;border-left: 15px solid #da0c3f;padding: 10px 0 10px 0.5em;",
                style = "margin:auto;max-width:480px;width:inherit;background:#fcfcfc;border: 0px solid #a2a9b1;border-left: 15px solid #da0c3f;padding: 10px 0 10px 0.5em;",
                text = "This logo contains " .. rd .. "."
                text = "This logo contains " .. rd .. "."
            }
            }
        }
        }
        if ts ~= nil then
            rd = jumpscareBanner
         else
         else
             rd = frame:expandTemplate {
             rd = frame:expandTemplate {
Anonymous user

Navigation menu