Template:Chem2: Difference between revisions
From WikiMD's Wellness Encyclopedia
|
|
| (One intermediate revision by the same user not shown) |
| Line 1: |
Line 1: |
| {{#invoke:Chem2|chem}}<!-- | | {{#invoke:Chem2|chem}}<noinclude>{{doc}}</noinclude> |
| | | {{no-index-template}} |
| 1. CHECK: checkFUP regular (parameters |1= and |2= are whitelisted)
| |
| -->{{#invoke:check for unknown parameters|check
| |
| ||showblankpositional=1
| |
| |unknown={{main other|1=[[Category:Pages using Chem2 with parameter issues|*]]|2=}}
| |
| |preview=[[:Template:Chem2]]: Unknown parameter "_VALUE_"
| |
| |link|auto|1|2}}<!-- 1, 2 accepted parameters; see also below
| |
| | |
| 2. CHECK: param |2= has input
| |
| -->{{#if:{{{2|}}}|<!--
| |
| -->{{preview warning|1=Parameter {{para|1=2|2={{{2|}}}}} must be empty}}<!--
| |
| -->{{main other|1=[[Category:Pages using Chem2 with parameter issues]]}} }}<!-- end of 2=hasinput check
| |
| | |
| 3. CHECK {} brackets unbalanced (includes imbalance through end-}-bracket misreading issue)
| |
| -->{{#if:{{#invoke:String|match|s={{{1|}}}|pattern={[^%}]*$|plain=false|nomatch=|ignore_errors=true}}|<!--
| |
| -->{{preview warning|1=[[:Template:Chem2]]: Unbalanced <nowiki>{..}</nowiki> brackets (consider using extra {{!}} pipe)}}<!--
| |
| -->{{main other|1=[[Category:Pages using Chem2 with parameter issues|B]]|2=}} }}<!--
| |
| | |
| --><noinclude>{{documentation|1=Template:Chem2/doc}}</noinclude>
| |
Latest revision as of 18:17, 8 March 2025