Difference between revisions of "Template:GHS phrases format"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#iferror:{{{1|}}}
 
{{#iferror:{{{1|}}}
|{{{4|}}}{{{3}}}{{{2}}}{{main other|<!-- test -->|[[:Category:GHS errors|{{{3|}}}{{{2}}}]]}}
+
|<!--{{{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>
+
--><noinclude>{{documentation}}</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.