Difference between revisions of "Template:ComplexNuclide2"

From blackwiki
Jump to navigation Jump to search
imported>SkyLined
(Test done, undoing edit.)
imported>DePiep
(per Talk:Chemical_formula#Subscript_ambiguity: remove noting number of neutrons subscript right.)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
+
<includeonly>{{#if:{{CheckElement|link={{{link|}}}|1={{{1}}} }}
[[Category:Nuclide templates]]
+
<!-- checkelem=return
{{Category:Nuclide templates}}
+
-->|<!-- err msg: -->{{CheckElement |link={{{link|}}}|1={{{1}}} }} |
</noinclude><includeonly><!--
+
<!-- checkelem=positive
-->{{#if:{{CheckElement |link={{{link|}}} |{{{1}}} |{{{2|}}} |{{{3|}}} }}
+
-->{{Physics particle<!--
  |{{CheckElement |link={{{link|}}} |{{{1}}} |{{{2|}}} |{{{3|}}} }}
+
-->|link={{#if:{{{link|}}}|{{LinkForElement|{{{1}}}|{{{2|}}}|{{{3|}}}}}}}<!--
  |{{PhysicsParticle
+
-->|anti={{{anti|}}}<!--
    |link={{#if:{{{link|}}}||{{LinkForElement |{{{1}}} |{{{2|}}} |{{{3|}}} }} }}
+
-->|1={{SymbolForElement|{{{1}}}}}<!--
    |{{SymbolForElement |{{{1}}} }}
+
TL=isotope (param2):
    |TL={{#if:{{{2|}}} |{{{2}}} |{{#expr:{{NeutronsForElement |{{{1}}} }}+{{ProtonsForElement |{{{1}}} }} }} }}{{{3|}}}
+
-->|TL={{#if:{{{2|}}}|{{{2}}}|<!-- TL num -->{{#expr:{{NeutronsForElement|{{{1}}}}}+{{ProtonsForElement|{{{1}}}}} }}}}<!-- TL txt -->{{{3|}}}<!-- eo TL
    |BL={{ProtonsForElement|{{{1}}}}}
+
BL=Z (automated):
    |BLc={{DigitsInNumber|{{ProtonsForElement|{{{1}}}}}}}
+
-->|BL={{ProtonsForElement|{{{1}}}}}<!-- eo BL
    |TR={{{charge|}}}
+
TR=charge
    |BR={{#expr:{{#if:{{{2|}}} |{{{2}}} |{{#expr:{{NeutronsForElement |{{{1}}} }}+{{ProtonsForElement |{{{1}}} }} }} }}-{{ProtonsForElement |{{{1}}} }} }}
+
-->|TR={{{charge|}}}<!-- eo TR
    |BRc={{#if:{{{charge|}}} |{{DigitsInNumber |{{#expr:{{#if:{{{2|}}} |{{{2}}} |{{#expr:{{NeutronsForElement |{{{1}}} }}+{{ProtonsForElement |{{{1}}} }} }} }}-{{ProtonsForElement |{{{1}}} }} }} }} }}
+
q = number of atoms (in chem formulae)
  }}<!--
+
-->|BR={{{q|}}}<!--
-->}}</includeonly>
+
-->}}
 +
<!-- eo checkelem #1 -->}}</includeonly><!--
 +
 
 +
--><noinclude>{{Documentation}}</noinclude>

Latest revision as of 11:20, 13 August 2018