Module:Guidance: Difference between revisions
Jump to navigation
Jump to search
no edit summary
imported>Camenati No edit summary |
imported>Compooper No edit summary |
||
| (5 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 166: | Line 144: | ||
type = "content", | type = "content", | ||
nocat = "yes", | nocat = "yes", | ||
image = "[[File:Avid-jumpscare-ace.png|50px]]", | image = "[[File:Avid-jumpscare-ace.png|50px|link=]]", | ||
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 #da0c3f;padding: 10px 0 10px 0.5em;", | ||
text = "This logo contains " .. rd .. "." | text = "'''This logo contains " .. rd .. ".'''" | ||
} | } | ||
} | } | ||
| Line 180: | Line 158: | ||
type = "content", | type = "content", | ||
nocat = "yes", | nocat = "yes", | ||
image = "[[File: | image = "[[File:Avid-jumpscare-ace.png|50px|link=]]", | ||
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 #da0c3f;padding: 10px 0 10px 0.5em;", | ||
text = "This logo contains " .. rd .. "." | text = "'''This logo contains " .. rd .. ".'''" | ||
} | } | ||
} | } | ||
end | end | ||
elseif string.find(frame.args[1], "flashing") then | elseif string.find(frame.args[1], "flashing") then | ||
rd = | 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 | end | ||