Difference between revisions of "Template:ComplexNuclide"

From blackwiki
Jump to navigation Jump to search
imported>SkyLined
(link is now created using Template:LinkForElement)
imported>SkyLined
(Replace with wrapper for ComplexNuclide2, which is an improved version of this template.)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
[[Category:Nuclide templates]]
 
[[Category:Nuclide templates]]
See [[:Category:Nuclide templates]] for details.
+
{{Category:Nuclide templates}}
</noinclude><includeonly>{{#ifeq:{{lc:{{{1|}}}}}|link|{{PhysicsParticle|link={{LinkForElement|{{{2}}}|{{{3|}}}|{{{4|}}}}}|{{SymbolForElement|{{{2}}}}}|TL={{{3|{{#expr:{{NeutronsForElement|{{{2}}}}}+{{ProtonsForElement|{{{2}}}}}}}}}}{{{4|}}}|BL={{ProtonsForElement|{{{2}}}}}|BLc={{DigitsInNumber|{{ProtonsForElement|{{{2}}}}}}}|BR={{#expr:{{{3|{{#expr:{{NeutronsForElement|{{{2}}}}}+{{ProtonsForElement|{{{2}}}}}}}}}}-{{ProtonsForElement|{{{2}}}}}}}|TR={{{charge|}}}|BRc={{#if: {{{charge|}}}|{{DigitsInNumber|{{#expr:{{{3|{{#expr:{{NeutronsForElement|{{{2}}}}}+{{ProtonsForElement|{{{2}}}}}}}}}}-{{ProtonsForElement|{{{2}}}}}}}}}}}}}|{{PhysicsParticle|{{SymbolForElement|{{{1}}}}}|TL={{{2|{{#expr:{{NeutronsForElement|{{{1}}}}}+{{ProtonsForElement|{{{1}}}}}}}}}}{{{3|}}}|BL={{ProtonsForElement|{{{1}}}}}|BLc={{DigitsInNumber|{{ProtonsForElement|{{{1}}}}}}}|BR={{#expr:{{{2|{{#expr:{{NeutronsForElement|{{{1}}}}}+{{ProtonsForElement|{{{1}}}}}}}}}}-{{ProtonsForElement|{{{1}}}}}}}|TR={{{charge|}}}|BRc={{#if: {{{charge|}}}|{{DigitsInNumber|{{#expr:{{{2|{{#expr:{{NeutronsForElement|{{{1}}}}}+{{ProtonsForElement|{{{1}}}}}}}}}}-{{ProtonsForElement|{{{1}}}}}}}}}}}}}}}</includeonly>
+
</noinclude><includeonly><!--
 +
-->{{#ifeq:{{lc:{{{1|}}}}}
 +
    |link
 +
    |{{Nuclide2|{{{2}}} |{{{3|}}} |{{{4|}}} |link=yes }}
 +
    |{{Nuclide2|{{{1}}} |{{{2|}}} |{{{3|}}} }}
 +
}}</includeonly>

Revision as of 11:38, 18 September 2009