Difference between revisions of "Template:ComplexNuclide"

From blackwiki
Jump to navigation Jump to search
imported>SkyLined
(Added ''charge'' argument)
imported>SkyLined
(Fixed charge argument and template now uses Template:DigitsInNumber)
Line 2: Line 2:
 
[[Category:Nuclide templates]]
 
[[Category:Nuclide templates]]
 
See [[:Category:Nuclide templates]] for details.
 
See [[:Category:Nuclide templates]] for details.
</noinclude><includeonly>{{#ifeq:{{lc:{{{1|}}}}}|link|{{PhysicsParticle|link={{{2}}}-{{{3|{{#expr:{{NeutronsForElement|{{{2}}}}}+{{ProtonsForElement|{{{2}}}}}}}}}}|{{SymbolForElement|{{{2}}}}}|TL={{{3|{{#expr:{{NeutronsForElement|{{{2}}}}}+{{ProtonsForElement|{{{2}}}}}}}}}}{{{4|}}}|BL={{ProtonsForElement|{{{2}}}}}|BLc={{#ifexpr:{{ProtonsForElement|{{{2}}}}}>99|3|{{#ifexpr:{{ProtonsForElement|{{{2}}}}}>9|2|1}}}}|BR={{#expr:{{{3|{{#expr:{{NeutronsForElement|{{{2}}}}}+{{ProtonsForElement|{{{2}}}}}}}}}}-{{ProtonsForElement|{{{2}}}}}}}|charge={{{charge|}}}}}|{{PhysicsParticle|{{SymbolForElement|{{{1}}}}}|TL={{{2|{{#expr:{{NeutronsForElement|{{{1}}}}}+{{ProtonsForElement|{{{1}}}}}}}}}}{{{3|}}}|BL={{ProtonsForElement|{{{1}}}}}|BLc={{#ifexpr:{{ProtonsForElement|{{{1}}}}}>99|3|{{#ifexpr:{{ProtonsForElement|{{{1}}}}}>9|2|1}}}}|BR={{#expr:{{{2|{{#expr:{{NeutronsForElement|{{{1}}}}}+{{ProtonsForElement|{{{1}}}}}}}}}}-{{ProtonsForElement|{{{1}}}}}}}|charge={{{charge|}}}}}}}</includeonly>
+
</noinclude><includeonly>{{#ifeq:{{lc:{{{1|}}}}}|link|{{PhysicsParticle|link={{{2}}}-{{{3|{{#expr:{{NeutronsForElement|{{{2}}}}}+{{ProtonsForElement|{{{2}}}}}}}}}}|{{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>

Revision as of 13:54, 23 March 2008

See Category:Nuclide templates for details.