Template talk:NFPA 704 diamond

Latest comment: 10 months ago by Anomalocaris in topic Bogus file option "text-bottom"
WikiProject iconChemistry Template‑class
WikiProject iconThis template is within the scope of WikiProject Chemistry, a collaborative effort to improve the coverage of chemistry on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
WikiProject iconChemicals Template‑class
WikiProject iconThis template is within the scope of WikiProject Chemicals, a daughter project of WikiProject Chemistry, which aims to improve Wikipedia's coverage of chemicals. To participate, help improve this template or visit the project page for details on the project.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

Images edit

Images seen sometimes or never for Special: [1]. -DePiep (talk) 20:29, 25 March 2014 (UTC)Reply

Overhaul and behaviour change edit

I have rebuild the {{NFPA 704 diamond}} clickable image. Changes:

The whole color area is clickable (either for the code or for the general color when blank (no code).
The image can accept and show references.
The title texts (mousehover, tooltips) are in a separate subtemplate {{NFPA 704 diamond/text}}, for easier editing. Some texts are corrected adjusted in style. Some are still short (ACID, ALK).
Code entered is checked. Unknown codes are not shown; Such articles are listed in Category:Articles with unknown NFPA 704 code. Other pages have an error message in place.
Some codes could be added, such as POI, and images for BIO. Proposals can be discussed.
Two different templates are merged into one this fire diamond (earlier code copies {{NFPA-chembox}} and {{NFPA 704}}). This diamond is to be used in a box (table, wikitable, infobox).
{{NFPA 704}} now is a complete fire diamond box. Deprecated code is preserved in {{NFPA 704 diamond/old}} to serve old usage intentions (e.g., on userpages).
Major change: does't default to "0"
The template codes now default to "blank" (no code), not to "0" any more. Entering a "0" code must be done by an editor (from a source). It would be wrong the pre-assume that it is a "0" by default. Even worse: that makes it a wrong and potentially endangering statement!
An editor can intentionally set a color part to "blank" by entering a - (hyphen): F=-. -DePiep (talk) 08:43, 27 March 2014 (UTC)Reply

"J" edit

See Sodium borohydride. It has Personal Protection J code from source [2]. |NFPA-O=J is not recognised. -DePiep (talk) 19:00, 21 August 2014 (UTC)Reply

Reading order edit

 Health 2: Intense or continued but not chronic exposure could cause temporary incapacitation or possible residual injury. E.g. chloroformFlammability 0: Will not burn. E.g. waterInstability 1: Normally stable, but can become unstable at elevated temperatures and pressures. E.g. calciumSpecial hazard OX: Oxidizer. E.g. potassium perchlorate
2
0
1

I recently changed the HTML element order so that screen reader users will hear the numbers left to right: blue first, red second, yellow third. For example, if I see this familiar sign near a swimming pool, I say "two, zero, one". Does anyone have any information that this is the incorrect reading order? Or is it different in different regions, or different lines of work? Matt Fitzpatrick (talk) 16:41, 25 February 2021 (UTC)Reply

NFPA 704's FAQ consistently lists them in that order. DMacks (talk) 17:09, 25 February 2021 (UTC)Reply

Fire 4, Health 4, Instability 4 edit

How about the chemicals with the NFPA 704 code rated 4 on all three divisions (not including special notices): flammability 4, health 4, and instability-reactivity 4? 2405:9800:BA31:F6:C5C:5DFE:B07A:F767 (talk) 07:12, 12 July 2021 (UTC)Reply

 Health 4: Very short exposure could cause death or major residual injury. E.g. VX gasFlammability 4: Will rapidly or completely vaporize at normal atmospheric pressure and temperature, or is readily dispersed in air and will burn readily. Flash point below 23 °C (73 °F). E.g. propaneInstability 4: Readily capable of detonation or explosive decomposition at normal temperatures and pressures. E.g. nitroglycerinSpecial hazards (white): no code
4
4
4

Bogus file option "text-bottom" edit

Great Brightstar: Your recent edits of this template are causing Bogus file options lint errors of "text-bottom". Please revert your edits or otherwise make these bogus file options lint errors go away. —Anomalocaris (talk) 07:03, 25 June 2023 (UTC)Reply

  Done. -- Great Brightstar (talk) 07:25, 25 June 2023 (UTC)Reply
Great Brightstar: Thank you for taking care of this! —Anomalocaris (talk) 09:03, 25 June 2023 (UTC)Reply