Difference between revisions of "Template:GHS phrases format"
Jump to navigation
Jump to search
imported>DePiep |
imported>DePiep |
||
| Line 1: | Line 1: | ||
{{#iferror:{{{1|}}} | {{#iferror:{{{1|}}} | ||
|<!--{{{4|}}}?-->{{{3}}}{{{2}}}{{#invoke:Preview warning|main|[[Template:GHS phrases format|GHS code]] unknown: {{{3}}}{{{2}}}}}{{main other|[[Category:GHS errors|{{{3|}}}{{{2}}}]]|[[:Category:GHS errors]]}} | |<!--{{{4|}}}?-->{{{3}}}{{{2}}}{{#invoke:Preview warning|main|[[Template:GHS phrases format|GHS code]] unknown: {{{3}}}{{{2}}}}}{{main other|[[Category:GHS errors|{{{3|}}}{{{2}}}]]|[[:Category:GHS errors]]}} | ||
| − | |<abbr class="abbr" title="{{{1}}}">{{{4|}}}{{{3}}}{{{2}}}</abbr>}}<!-- | + | |{{#if:{{{1|}}}|<abbr class="abbr" title="{{{1}}}">{{{4|}}}{{{3}}}{{{2}}}</abbr>}}}}<!-- |
--><noinclude>{{documentation}}</noinclude> | --><noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 14:19, 27 February 2020
Usage
Templates {{H-phrases|...}} return GHS-codes for predefined texts.
Examples:
{{H-phrases|200|241}}→ H200, H241{{P-phrases|101|263}}→ Template:P-phrases
- Predefined combinations are also possible:
{{P-phrases|306+360}}→ Template:P-phrases
Texts
- For {{H-phrases}}, see {{H-phrases/text}}
- For {{P-phrases}}, see {{P-phrases/text}}
- Source: [1] Annex III
Tracking errors
- Tracking category: Category:GHS errors (0)
- Articles with a GHS error will show a warning when in Preview.
| The above documentation is transcluded from Template:GHS phrases format/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |