Module:Guidance: Difference between revisions

Jump to navigation Jump to search
temporarily setting this for now
imported>Camenati
No edit summary
imported>Camenati
(temporarily setting this for now)
Line 111: Line 111:
                 image = "[[File:Avid-jumpscare-ace.png|30px]]",
                 image = "[[File:Avid-jumpscare-ace.png|30px]]",
                 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 a jump scare''' for the whole duration."
                 text = "This logo '''contains a jump scare'''."
             }
             }
         }
         }
Line 176: Line 176:
     if string.find(frame.args[1], "jumpscare") then -- Check for "jumpscare" and add the corresponding banner
     if string.find(frame.args[1], "jumpscare") then -- Check for "jumpscare" and add the corresponding banner
         if rd ~= nil then
         if rd ~= nil then
             rd = frame:expandTemplate {
             rd = rd .. b[3]
            title = "ambox",
            args = {
                small = "left",
                type = "content",
                nocat = "yes",
                image = "[[File:Avid-jumpscare-ace.png|30px]]",
                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 .. "."
            }
        }
         else
         else
             rd = b[3]
             rd = b[3]
Anonymous user

Navigation menu