Module:Guidance: Difference between revisions
Jump to navigation
Jump to search
no edit summary
imported>Camenati No edit summary |
imported>Compooper No edit summary |
||
| (14 intermediate revisions by 2 users not shown) | |||
| Line 88: | Line 88: | ||
nocat = "yes", | nocat = "yes", | ||
image = "[[File:Sound icon.png|30px]]", | image = "[[File:Sound icon.png|30px]]", | ||
style = "margin:auto;max-width:480px;width:inherit;background:# | style = "margin:auto;max-width:480px;width:inherit;background:#f8f9fa;border: 0px solid #a2a9b1;border-left: 15px solid #ffa800;padding: 10px 0 10px 0.5em;", | ||
text = "The video of this logo | text = "'''The video of this logo may be too loud or severely distorted.'''" | ||
} | } | ||
}, | }, | ||
| Line 99: | Line 99: | ||
nocat = "yes", | nocat = "yes", | ||
image = "[[File:Phone icon.png|30px]]", | image = "[[File:Phone icon.png|30px]]", | ||
style = "margin:auto;max-width:480px;width:inherit;background:# | style = "margin:auto;max-width:480px;width:inherit;background:#f8f9fa;border: 0px solid #a2a9b1;border-left: 15px solid #ffa800;padding: 10px 0 10px 0.5em;", | ||
text = " | text = "'''This logo contains an old telephone number. Please do not try to dial it.'''" | ||
} | } | ||
} | } | ||
| Line 148: | Line 137: | ||
end | end | ||
if rd ~= nil then | if rd ~= nil then | ||
rd = frame:expandTemplate { | if string.find(frame.args[1], "jumpscare") then | ||
local jumpscareBanner = frame:expandTemplate { | |||
args = { | title = "ambox", | ||
small = "left", | args = { | ||
small = "left", | |||
type = "content", | |||
nocat = "yes", | |||
image = "[[File:Avid-jumpscare-ace.png|50px|link=]]", | |||
style = "margin:auto;max-width:480px;width:inherit;background:#f8f9fa;border: 0px solid #a2a9b1;border-left: 15px solid #da0c3f;padding: 10px 0 10px 0.5em;", | |||
text = "'''This logo contains " .. rd .. ".'''" | |||
} | |||
} | |||
if ts ~= nil then | |||
rd = jumpscareBanner | |||
else | |||
rd = frame:expandTemplate { | |||
title = "ambox", | |||
args = { | |||
small = "left", | |||
type = "content", | |||
nocat = "yes", | |||
image = "[[File:Avid-jumpscare-ace.png|50px|link=]]", | |||
style = "margin:auto;max-width:480px;width:inherit;background:#f8f9fa;border: 0px solid #a2a9b1;border-left: 15px solid #da0c3f;padding: 10px 0 10px 0.5em;", | |||
text = "'''This logo contains " .. rd .. ".'''" | |||
} | |||
} | |||
end | |||
elseif string.find(frame.args[1], "flashing") then | |||
local flashingBanner = frame:expandTemplate { | |||
title = "ambox", | |||
args = { | |||
small = "left", | |||
type = "content", | |||
nocat = "yes", | |||
image = "[[File:Avid-flashing-vivi.png|50px|link=]]", | |||
style = "margin:auto;max-width:480px;width:inherit;background:#f8f9fa;border: 0px solid #a2a9b1;border-left: 15px solid #da0c3f;padding: 10px 0 10px 0.5em;", | |||
text = "'''This logo contains " .. rd .. ".'''" | |||
} | |||
} | } | ||
if ts ~= nil then | |||
rd = flashingBanner | |||
else | |||
rd = frame:expandTemplate { | |||
title = "ambox", | |||
args = { | |||
small = "left", | |||
type = "content", | |||
nocat = "yes", | |||
image = "[[File:Avid-flashing-vivi.png|50px|link=]]", | |||
style = "margin:auto;max-width:480px;width:inherit;background:#f8f9fa;border: 0px solid #a2a9b1;border-left: 15px solid #da0c3f;padding: 10px 0 10px 0.5em;", | |||
text = "'''This logo contains " .. rd .. ".'''" | |||
} | |||
} | |||
end | |||
end | |||
end | end | ||
if string.find(frame.args[1], "audio") then | if string.find(frame.args[1], "audio") then | ||
| Line 172: | Line 205: | ||
else | else | ||
rd = b[2] | rd = b[2] | ||
end | end | ||
end | end | ||