Difference between revisions of "Template:Chembox parametercheck"

From blackwiki
Jump to navigation Jump to search
imported>MusikAnimal
m (Protected "Template:Chembox parametercheck": Highly visible template; 10,000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
imported>DMacks
(separately look for Jmol=None (vs hardcoded to use))
 
(One intermediate revision by one other user not shown)
Line 78: Line 78:
 
  JMOL
 
  JMOL
 
-->{{#if:{{{_hasJmol|}}} |[[Category:Chemical articles having Jmol set]]}}<!--
 
-->{{#if:{{{_hasJmol|}}} |[[Category:Chemical articles having Jmol set]]}}<!--
 +
-->{{#if:{{{_hasJmolnone|}}} |[[Category:Chemical articles having Jmol set/None|*]]}}<!--
 
<!--
 
<!--
  
Line 87: Line 88:
  
 
  EMPTY ID HEADER? Check if any data to be shown (else: idle Identifiers header)
 
  EMPTY ID HEADER? Check if any data to be shown (else: idle Identifiers header)
-->{{#if:{{{_hasOtherInput|unk}}} |<!--ok1 -->|{{#ifexpr:({{#invoke:math|max|-1 |{{{_countCASNo|0}}} |{{{_countPubChemCID|0}}} |{{{_countChemSpiderID|0}}} |{{{_countChEBI|0}}} |{{{_countInChI|0}}} |{{{_countInChIKey|0}}} |{{{_countSMILES|0}}} }}>1)|<!--ok2 -->|{{#if:{{{_hasChEBIChEMBL|}}}{{{_hasKEGG|}}}{{{_hasUNII|}}}{{{_hasStdInChIorKey|}}} |<!--ok3 -->|<!-- idle header, to track -->[[Category:Chemical infoboxes with tracked parameters|I]]}}}}}}<!--
+
 
 +
--><!--  incorrect so switch off Nov2017: {{#if:{{{_hasOtherInput|unk}}} |<!--ok1 -xxx->|{{#ifexpr:({{#invoke:math|max|-1 |{{{_countCASNo|0}}} |{{{_countPubChemCID|0}}} |{{{_countChemSpiderID|0}}} |{{{_countChEBI|0}}} |{{{_countInChI|0}}} |{{{_countInChIKey|0}}} |{{{_countSMILES|0}}} }}>1)|<!--ok2 -xxx->|{{#if:{{{_hasChEBIChEMBL|}}}{{{_hasKEGG|}}}{{{_hasUNII|}}}{{{_hasStdInChIorKey|}}} |<!--ok3 -xxx->|<!-- idle header, to track -xxx->[[Category:Chemical infoboxes with tracked parameters|I]]}}}}}}--><!--
  
 
  QIDs:
 
  QIDs:

Latest revision as of 15:34, 7 December 2019