Difference between revisions of "Template:ComplexNuclide2"
Jump to navigation
Jump to search
imported>SkyLined (Created based on {{Nuclide2}} and {{ComplexNuclide}}) |
imported>SkyLined (Improve #if and #ifeq use and formatting) |
||
| Line 3: | Line 3: | ||
{{Category:Nuclide templates}} | {{Category:Nuclide templates}} | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
| − | -->{{# | + | -->{{#if:{{CheckElement |link={{{link|}}} |{{{1}}} |{{{2|}}} |{{{3|}}} }} |
| − | |{{PhysicsParticle | + | |{{CheckElement |link={{{link|}}} |{{{1}}} |{{{2|}}} |{{{3|}}} }} |
| − | + | |{{PhysicsParticle | |
| − | + | |link={{#if:{{{link|}}}||{{LinkForElement |{{{1}}} |{{{2|}}} |{{{3|}}} }} }} | |
| − | + | |{{SymbolForElement |{{{1}}} }} | |
| − | + | |TL={{#if:{{{2|}}} |{{{2}}} |{{#expr:{{NeutronsForElement |{{{1}}} }}+{{ProtonsForElement |{{{1}}} }} }} }}{{{3|}}} | |
| − | + | |BL={{ProtonsForElement|{{{1}}}}} | |
| − | + | |BLc={{DigitsInNumber|{{ProtonsForElement|{{{1}}}}}}} | |
| − | + | |TR={{{charge|}}} | |
| − | + | |BR={{#expr:{{#if:{{{2|}}} |{{{2}}} |{{#expr:{{NeutronsForElement |{{{1}}} }}+{{ProtonsForElement |{{{1}}} }} }} }}-{{ProtonsForElement |{{{1}}} }} }} | |
| − | + | |BRc={{#if: {{{charge|}}} |{{DigitsInNumber |{{#expr:{{#if:{{{2|}}} |{{{2}}} |{{#expr:{{NeutronsForElement |{{{1}}} }}+{{ProtonsForElement |{{{1}}} }} }} }}-{{ProtonsForElement |{{{1}}} }} }} }} }} | |
| − | + | }}<!-- | |
| − | + | --></includeonly> | |