Difference between revisions of "Template:Chembox UNII"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(Update Template:Chembox suite templates per WT:Chembox changes c.s.)
imported>DePiep
(Update in JQ shadow of main chembox edits)
Line 1: Line 1:
 
| [[Unique Ingredient Identifier|UNII]]
 
| [[Unique Ingredient Identifier|UNII]]
| {{#invoke:String|replace|source=<!-- (remove any initial linebreak)
+
| {{Chembox removeInitialLinebreak|s={{{UNII|}}}{{{UNII1|}}}{{{UNII2|}}}{{{UNII3|}}}{{{UNII4|}}}{{{UNII5|}}}<!--
-->{{{UNII|}}}{{{UNII1|}}}{{{UNII2|}}}{{{UNII3|}}}{{{UNII4|}}}{{{UNII5|}}}<!--
+
-->{{#if:{{{UNIIOther|}}}|<br/>{{{UNIIOther|}}} }}}}
-->{{#if:{{{UNIIOther|}}}|<br/>{{{UNIIOther|}}} }}
 
|pattern=^%<br%s*%/?%s*%>|replace=|plain=false|no_category=true}}
 
 
<!-- keep newline -->
 
<!-- keep newline -->
  
 
|-<noinclude>{{documentation}}</noinclude>
 
|-<noinclude>{{documentation}}</noinclude>

Revision as of 14:17, 13 February 2015

| UNII |

|-