Template talk:Warn: Difference between revisions
(→Other warning text suggestions: new section) |
(→Other warning text suggestions: Fix colour space mistake (Adobe RGB -> sRGB)) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Other warning text suggestions == | == Other warning text suggestions == | ||
Here's what I think some other warnings should look like. | Here's what I think some other warnings should look like. Those are more akin to the warnings you see on products and in product manuals and use similar graphics and phrasing. I expected those will be dismissed as rubbish red tape by some experienced repair technicians but they are not the target, the target is someone inexperienced, probably a kid who stumbles across this wiki trying to fix a game console who has no clue what they're doing along with any lawyers and government regulators. | ||
If you're happy with those I'll write the template code for them later this week. | |||
=== Large banner div warnings === | |||
Those should only be necessary to put those on guide pages that directly give safety advice about a topic ([[Mains Power|example]]) | |||
<div style="background-color:#ffe5e5; padding: 1.2rem; margin-top: 0.5em; border: 1px solid #dd3333; border-top-color:dd3333; border-top-width: .4rem; border-radius: .20rem; box-shadow: 2px 2px #F7F8F9;">[[File:OOjs UI icon alert-destructive.svg|35px|left|link=]]'''DANGER''' Pyrotechnic devices contain potentially lethal hazards or can become lethal hazards if not correctly repaired which will result in death or serious injury. Ensure you fully understand the content of this page before attempting to disassemble or repair a Pyrotechnic device. Do not attempt to disassemble or repair a Pyrotechnic device unless you understand how to do so safely.<br/></div> | |||
<div style="background-color:#ffefe5; padding: 1.2rem; margin-top: 0.5em; border: 1px solid #ff5d00; border-top-color:ff5d00; border-top-width: .4rem; border-radius: .20rem; box-shadow: 2px 2px #F7F8F9;">[[File:OOjs UI icon alert-warning.svg|35px|left|link=]]'''WARNING''' Mains powered devices contain potentially lethal hazards or can become lethal hazards if not correctly repaired which may result in death or serious injury. Ensure you fully understand the content of this page before attempting to disassemble or repair a mains powered device. Do not attempt to disassemble or repair a mains powered device unless you understand how to do so safely.<br/></div> | |||
<div style="background-color:#fff9e5; padding: 1.2rem; margin-top: 0.5em; border: 1px solid #ffcc33; border-top-color:ffcc33; border-top-width: .4rem; border-radius: .20rem; box-shadow: 2px 2px #F7F8F9;">[[File:OOjs UI icon alert-yellow.svg|35px|left|link=]]'''CAUTION''' Lithium Polymer cells are potentially hazardous and can present a serious fire hazard which may result in serious injury or property damage. Ensure you fully understand the content of this page before attempting to disassemble or repair a Lithium Polymer battery. Do not attempt to disassemble or repair a Lithium Polymer battery unless you understand how to do so safely.<br/></div> | |||
<div style="background-color:#f8f9fa; padding: 1.2rem; margin-top: 0.5em; border: 1px solid #3366cc; border-top-color:3366cc; border-top-width: .4rem; border-radius: .20rem; box-shadow: 2px 2px #F7F8F9;">[[File:OOjs UI icon information-progressive.svg|35px|left|link=]]'''NOTE''' The content of this Wiki is community contributed and is a continuous work-in-progress and as such no guarantees that this information is complete, accurate or applicable can be made. Caps Wiki and its owner/operator and contributors assume no liability for actions taken based on this information.<br/></div> | |||
=== Medium box warnings === | === Medium box warnings === | ||
Those could probably be put at the top of the disassembly notes or in an infobox under the device infobox on the right hand side of the page. ([[Heathkit IO 4550|example]]) | Those could probably be put at the top of the disassembly notes or in an infobox under the device infobox on the right hand side of the page. ([[Heathkit IO 4550|example]]) | ||
<table cellspacing="0" cellpadding="0" border="0" style="margin-top:0.5em; border:1px # | <table cellspacing="0" cellpadding="0" border="0" style="margin-top:0.5em; border:1px #dd3333 solid; padding:0.5em; background-color:#ffe5e5"><tr><td nowrap="true" valign="top"> | ||
[[File:OOjs UI icon alert-destructive.svg|18px|text-bottom|alt=DANGER]] '''DANGER''' This device has exposed high voltage and intentionally defeats earth leakage circuit breakers. | [[File:OOjs UI icon alert-destructive.svg|18px|text-bottom|alt=DANGER]] '''DANGER''' This device has exposed high voltage and intentionally defeats earth leakage circuit breakers. | ||
</table> | </table> | ||
<table cellspacing="0" cellpadding="0" border="0" style="margin-top:0.5em; border:1px # | |||
<table cellspacing="0" cellpadding="0" border="0" style="margin-top:0.5em; border:1px #ff5d00 solid; padding:0.5em; background-color:#ffefe5"><tr><td nowrap="true" valign="top"> | |||
[[File:OOjs UI icon alert-warning.svg|18px|text-bottom|alt=WARNING]] '''WARNING''' This device contains a high voltage [[CRT Repairs|CRT]]. | [[File:OOjs UI icon alert-warning.svg|18px|text-bottom|alt=WARNING]] '''WARNING''' This device contains a high voltage [[CRT Repairs|CRT]]. | ||
</table> | </table> | ||
<table cellspacing="0" cellpadding="0" border="0" style="margin-top:0.5em; border:1px # | |||
[[File:OOjs UI icon alert-yellow.svg|18px|text-bottom|alt=CAUTION]] '''CAUTION''' This device is [[Mains | <table cellspacing="0" cellpadding="0" border="0" style="margin-top:0.5em; border:1px #ffcc33 solid; padding:0.5em; background-color:#fff9e5"><tr><td nowrap="true" valign="top"> | ||
[[File:OOjs UI icon alert-yellow.svg|18px|text-bottom|alt=CAUTION]] '''CAUTION''' This device is [[Mains Power|mains powered]]. | |||
</table> | </table> | ||
<table cellspacing="0" cellpadding="0" border="0" style="margin-top:0.5em; border:1px # | |||
<table cellspacing="0" cellpadding="0" border="0" style="margin-top:0.5em; border:1px #3366cc solid; padding:0.5em; background-color:#f8f9fa"><tr><td nowrap="true" valign="top"> | |||
[[File:OOjs UI icon information-progressive.svg|18px|text-bottom|alt=NOTE]] '''NOTE''' This device is subject to strict regulations in some regions, modifications may be unlawful. | [[File:OOjs UI icon information-progressive.svg|18px|text-bottom|alt=NOTE]] '''NOTE''' This device is subject to strict regulations in some regions, modifications may be unlawful. | ||
</table> | </table> | ||
=== Small in-line warnings === | === Small in-line warnings === | ||
Line 30: | Line 44: | ||
[[File:OOjs UI icon information-progressive.svg|18px|text-bottom|alt=NOTE]] '''NOTE''' The sensor window is extremely fragile. | [[File:OOjs UI icon information-progressive.svg|18px|text-bottom|alt=NOTE]] '''NOTE''' The sensor window is extremely fragile. | ||
[[User:WizardTim|WizardTim]] ([[User talk:WizardTim|talk]]) 10:55, 9 February 2022 (UTC) | |||
I really like these and would like to implement them. The way I've been making the templates won't work well for this though because it's using if-then's to substitute based on strings and this really needs something like a drop down menu to choose which kind to use for probably both the warning icon/color and the size. @[[User:Lyiriyah|Lyiriyah]]: , do you know enough about templates to do something like that? | |||
I do won't if we should simplify to three options like "DANGER", "CAUTION", "NOTE" since "WARNING" and "CAUTION" mean fairly similar things and the colors become less distinct. That way the severity of the warning is immediately obvious. And it would make it easier to decide which ones to use as well. | |||
--[[User:Akbkuku|AkBKukU]] ([[User talk:Akbkuku|talk]]) 13:13, 11 February 2022 (UTC) | |||
:I haven’t done much with Wiki templates but I can probably figure it out if needed, I’d probably implement them as three different templates probably ‘warn-banner’, ‘warn-box’ and ‘warn-inline’. | |||
:I strongly recommend sticking to those words as they’re standardised in hazard communication worldwide across languages and not only in the electronics industry. You can give the advice of “the template word you use should match what is written on the device” | |||
:The difference between them in summary is: | |||
:DANGER – Situation that will result in serious injury or death. | |||
:WARNING – Situation could result in serious injury or death. | |||
:CAUTION – Situation could result moderate or minor injury. | |||
:NOTE – Situations unrelated to injury or things related to property damage or legal implications. | |||
:[[User:WizardTim|WizardTim]] ([[User talk:WizardTim|talk]]) 13:41, 11 February 2022 (UTC) |
Latest revision as of 05:03, 12 February 2022
Other warning text suggestions
Here's what I think some other warnings should look like. Those are more akin to the warnings you see on products and in product manuals and use similar graphics and phrasing. I expected those will be dismissed as rubbish red tape by some experienced repair technicians but they are not the target, the target is someone inexperienced, probably a kid who stumbles across this wiki trying to fix a game console who has no clue what they're doing along with any lawyers and government regulators.
If you're happy with those I'll write the template code for them later this week.
Large banner div warnings
Those should only be necessary to put those on guide pages that directly give safety advice about a topic (example)
Medium box warnings
Those could probably be put at the top of the disassembly notes or in an infobox under the device infobox on the right hand side of the page. (example)
DANGER This device has exposed high voltage and intentionally defeats earth leakage circuit breakers. |
WARNING This device contains a high voltage CRT. |
CAUTION This device is mains powered. |
NOTE This device is subject to strict regulations in some regions, modifications may be unlawful. |
Small in-line warnings
For use in instructions about specific things (now sure how much people would use those but they could be useful)
DANGER Capacitor C5 is 2 kV 125 μF (300 J).
WARNING Those 450 V capacitors do not have bleeder resistors.
CAUTION This heatsink has very sharp edges.
NOTE The sensor window is extremely fragile.
WizardTim (talk) 10:55, 9 February 2022 (UTC)
I really like these and would like to implement them. The way I've been making the templates won't work well for this though because it's using if-then's to substitute based on strings and this really needs something like a drop down menu to choose which kind to use for probably both the warning icon/color and the size. @Lyiriyah: , do you know enough about templates to do something like that?
I do won't if we should simplify to three options like "DANGER", "CAUTION", "NOTE" since "WARNING" and "CAUTION" mean fairly similar things and the colors become less distinct. That way the severity of the warning is immediately obvious. And it would make it easier to decide which ones to use as well.
--AkBKukU (talk) 13:13, 11 February 2022 (UTC)
- I haven’t done much with Wiki templates but I can probably figure it out if needed, I’d probably implement them as three different templates probably ‘warn-banner’, ‘warn-box’ and ‘warn-inline’.
- I strongly recommend sticking to those words as they’re standardised in hazard communication worldwide across languages and not only in the electronics industry. You can give the advice of “the template word you use should match what is written on the device”
- The difference between them in summary is:
- DANGER – Situation that will result in serious injury or death.
- WARNING – Situation could result in serious injury or death.
- CAUTION – Situation could result moderate or minor injury.
- NOTE – Situations unrelated to injury or things related to property damage or legal implications.
- WizardTim (talk) 13:41, 11 February 2022 (UTC)