Difference between revisions of "Template:Chembox parametercheck"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 1: Line 1:
{{#if:{{{_CASnone|}}} |CASnone={{{_CASnone}}}[[:Category:Chemicals that do not have a CAS Registry Number assigned|none]]}}<!--
+
{{#if:{{{_CASnone|}}} |CASnone={{{_CASnone}}}[[Category:Chemicals that do not have a CAS Registry Number assigned]]}}<!--
 
-->{{#switch:{{#expr:{{{_countCASNo|0}}} + {{{_CASnone|0}}} }}
 
-->{{#switch:{{#expr:{{{_countCASNo|0}}} + {{{_CASnone|0}}} }}
|0=[[:Category:Chemical articles without CAS Registry Number|0]]
+
|0=[[Category:Chemical articles without CAS Registry Number|0]]
|1=(1)
+
|1=
|#default=[[:Category:Chemical articles with multiple CAS Registry Numbers|{{{_countCASNo|}}}]]}}<!--
+
|#default=[[:Category:Chemical articles with multiple CAS Registry Numbers|{{{_countCASNo|}}}]]
-->: {{{_countCASNo|0}}}, {{{_CASnone|0}}}<!--
+
}}<!--
  
 
--><noinclude>{{documentation}}</noinclude>
 
--><noinclude>{{documentation}}</noinclude>

Revision as of 01:16, 21 December 2015