Jump to content

Template:Infobox isotope/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
The sample data does not match the infobox, so comment it out
mNo edit summary
 
(40 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
{{Lua|Module:Infobox|Module:String|Module:Check for unknown parameters}}
<syntaxhighlight lang="wikitext">
{{Infobox isotope
| name = overwrites default {{PAGENAME}}
| image = image name (without leading 'File:')
| image_caption = image caption
| alternate_names = Alternate names
| symbol = chemical symbol (e.g. C)
| mass_number = atomic mass Z+N
| num_protons = number of protons Z
| num_neutrons = number of neutrons N


| abundance = Natural abundance, with units (e.g. 98.5%, 1 part per million)
| halflife = t<sub>1/2</sub>

| mass = mass in Unified atomic mass unit
| spin = Spin
| excess_energy = excess energy in KeV (use {{val}})
| binding_energy = (use {{val}})

| parent = parent element
| parent_symbol = chemical symbol
| parent_mass = mass number of parent isotope
| parent_decay = decay method of parent
| parent2 = parent

| decay_product = decay product
| decay_mass = mass number of decay product
| decay_symbol = chemical symbol
| decay_product2 = decay product
| decay_mass2 = mass number of decay product
| decay_symbol2 = chemical symbol

| decay_mode1 = decay mode
| decay_energy1 = energy in MeV
| decay_mode2 = decay mode
| decay_energy2 = energy in MeV
}}
</syntaxhighlight>

===Blank parameter list===
Copy and paste this code to add an infobox. Completing the fields as per the explanation below.

<syntaxhighlight lang="wikitext">
{{Infobox isotope
{{Infobox isotope
| background = #EEE
| name =
| alternate_names =
| text_color = likewise
| symbol =
| image = ''image name, without leading File: - see [[Tritium]] for example''
| mass_number =
| image_caption = image caption
| mass =
| alternate_names = Alternate names
| num_neutrons =
| mass_number = atomic mass
| num_protons =
| symbol = chemical symbol (e.g. C)
| abundance =
| num_neutrons = number of neutrons
| halflife =
| num_protons = number of protons
| image =
| abundance = Natural abundance, with units (e.g. 98.5%, 1 part per million)
| image_caption =
| halflife = t<sub>1/2</sub>
| spin =
| error_halflife = error
| excess_energy =
| decay_product = decay product
| binding_energy =
| decay_mass = mass number of decay product

| decay_symbol = chemical symbol
| parent = parent element
| parent =
| parent_symbol =
| parent_symbol = chemical symbol
| parent_mass = mass number of parent isotope
| parent_mass =
| parent_decay =
| parent_decay = decay method of parent
| parent2 = parent
| parent2 =
| parent2_symbol =
| parent2_symbol2 = chemical symbol
| parent2_mass =
| parent2_mass2 = mass number of parent isotope
| parent2_decay =
| parent2_decay2 = gamma

| parent3 = Parent
| decay_product =
| parent3_symbol3 = chemical symbol
| decay_symbol =
| parent3_mass3 = mass number of parent isotope
| decay_mass =
| parent3_decay3 = alpha
| decay_product2 =
| parent4 = Parent
| decay_symbol2 =
| parent4_symbol = chemical symbol
| decay_mass2 =
| parent4_mass = mass number of parent isotope
| parent4_decay = b+
| decay_mode1 =
| decay_halflife1 =
| mass = mass in Unified atomic mass unit
| spin = Spin
| decay_energy1 =
| decay_mode2 =
| excess_energy = excess energy in KeV
| decay_energy2 =
| error1 = error in keV
| decay_mode3 =
| nuclear binding_energy = binding energy in KeV
| decay_halflife3 =
| error2 = error in keV
| decay_intensity3 =
| decay_mode1 = decay mode
| decay_energy3 =
| decay_halflife1 = t<sub>1/2</sub>
| decay_mode4 =
| decay_intensity1 = fraction in %
| decay_halflife4 =
| decay_energy1 = energy in MeV
| decay_intensity4 =
| decay_mode2 = decay mode
| decay_energy4 =
| decay_halflife2 = t<sub>1/2</sub>

| decay_intensity2 = fraction in %
| decay_energy2 = energy in MeV
| decay_mode3 = decay mode
| decay_halflife3 = t<sub>1/2</sub>
| decay_intensity3 = fraction in %
| decay_energy3 = energy in MeV
| decay_mode4 = decay mode
| decay_halflife4 = t<sub>1/2</sub>
| decay_intensity4 = fraction in %
| decay_energy4 = energy in MeV
}}
}}
</syntaxhighlight>
{{-}}
'''Copy and paste this code to add an infobox''', completing the fields as per the explanation below, selecting the appropriate background colour from the chart on the right. You can delete those lines you do not need, or leave them in for future editors to complete.


==Example==
{| class="wikitable" style="float:right;margin:0 0 1em 2em;"
{{Infobox isotope
|+ '''Background colour'''
| name = [[Uranium-236]]
| image =
| alternate_names =
| mass_number = 236
| symbol =U
| num_neutrons =144
| num_protons =92
| abundance = {{val|p=<|10|e=−11}}
| halflife = {{val|2.348|e=7|u=years}}
| decay_product = thorium-232
| decay_mass = 232
| decay_symbol =Th
| parent = Protactinium-236
| parent_mass = 236
| parent_symbol =Pa
| parent_decay =
| parent2 = Neptunium-236
| parent2_mass = 236
| parent2_symbol = Np
| parent2_decay =
| parent3 = Plutonium-240
| parent3_mass = 240
| parent3_symbol = Pu
| parent3_decay =
| mass = 236.045568(2)
| spin = 0+
| excess_energy =
| binding_energy = {{val|1790415.042|1.974}}
| decay_mode1 = Alpha
| decay_energy1 = 4.572
| decay_mode2 =
| decay_energy2 =
| decay_mode3 =
| decay_energy3 =
| decay_mode4 =
| decay_energy4 =
}}

<syntaxhighlight lang="wikitext">
{{Infobox isotope
| name = [[Uranium-236]]
| image =
| alternate_names =
| mass_number = 236
| symbol =U
| num_neutrons =144
| num_protons =92
| abundance = {{val|p=<|10|e=−11}}
| halflife = {{val|2.348|e=7|u=years}}
| decay_product = thorium-232
| decay_mass = 232
| decay_symbol =Th
| parent = Protactinium-236
| parent_mass = 236
| parent_symbol =Pa
| parent_decay =
| parent2 = Neptunium-236
| parent2_mass = 236
| parent2_symbol = Np
| parent2_decay =
| parent3 = Plutonium-240
| parent3_mass = 240
| parent3_symbol = Pu
| parent3_decay =
| mass = 236.045568(2)
| spin = 0+
| excess_energy =
| binding_energy = {{val|1790415.042|1.974}}
| decay_mode1 = Alpha
| decay_energy1 = 4.572
| decay_mode2 =
| decay_energy2 =
| decay_mode3 =
| decay_energy3 =
| decay_mode4 =
| decay_energy4 =
}}
</syntaxhighlight>

==Decay modes==
{| class=wikitable
|-
|-
! {{para|decay_mode''N''}} !! returns
!Code
![[Halflife]]
|-
|-
| style="background:#EEE;" | #EEE || <1 [[day]]
|-
|-
| {{mono|1=a, alpha}} || {{Infobox isotope/decay_mode|1=Alpha}}
| style="background:#C9F;" | #C9F || 1–10 days
|-
|-
| {{mono|1=b+, beta plus, positron emission}} || {{Infobox isotope/decay_mode|1=B+}}
| style="background:#6CF;" | #6CF || 10–100 days
|-
|-
| {{mono|1=b-, beta-, beta minus}} || {{Infobox isotope/decay_mode|1=beta-}}
| style="background:#6FD;" | #6FD || 100d–10 [[year]]s
|-
|-
| {{mono|1=g, c, gamma}} || {{Infobox isotope/decay_mode|1=gamma}}
| style="background:#7F7;" | #7F7 || 10–10,000 years
|-
|-
| {{mono|1=e, EC}} || {{Infobox isotope/decay_mode|1=EC}}
| style="background:#FF6;" | #FF6 || 10k–103m years
|-
| style="background:#Fc6;" | #FC6 || >700m years
|-
| style="background:#F99;" | #F99 || Stable
|}
|}
<nowiki>{{</nowiki>Infobox isotope
: | alternate_names =
: | symbol =
: | mass_number =
: | mass =
: | num_neutrons =
: | num_protons =
: | abundance =
: | halflife =
: | error_halflife =
: | background =
: | text_color =
: | image =
: | image_caption = image caption
: | decay_product =
: | decay_symbol =
: | decay_mass =
: | decay_mode1 =
: | decay_halflife1 =
: | decay_intensity1 =
: | decay_energy1 =
: | decay_mode2 =
: | decay_halflife2 =
: | decay_intensity2 =
: | decay_energy2 =
: | decay_mode3 =
: | decay_halflife3 =
: | decay_intensity3 =
: | decay_energy3 =
: | decay_mode4 =
: | decay_halflife4 =
: | decay_intensity4 =
: | decay_energy4 =
: | parent =
: | parent_symbol =
: | parent_mass =
: | parent_decay =
: | parent2 =
: | parent2_symbol =
: | parent2_mass =
: | parent2_decay =
: | spin =
: | excess_energy =
: | error1 =
: | nuclear binding_energy =
: | error2 =
}}

<!-- The following code does not match the infobox shown at the top right, so this section is misleading. It can be restored when it is corrected. -->
<!--

<div style="color:#881111">'''The following code is for information only'''. Filling out the template as below will produce the infobox shown on the top right.


==TemplateData==
<nowiki>{{Infobox isotope|</nowiki>
{{TemplateData header}}
: | background = background colour (e.g. #999999 = grey)
{{collapse top|bg=#ccc|title=Template data}}
: | text_color = likewise
<templatedata>
: | image = image name, without leading Image:
{
: | image_caption = image caption
"params": {
: | alternate_names = Alternate names
"name": {},
: | mass_number = atomic mass
"mass_number": {},
: | symbol = chemical symbol (e.g. C)
"symbol": {},
: | num_neutrons = number of neutrons
"image": {},
: | num_protons = number of protons
"image_caption": {},
: | abundance = Natural abundance, with units (e.g. 98.5%, 1 part per million
"alternate_names": {},
: | halflife = &lambda;
"num_neutrons": {},
: | error_halflife = error
"num_protons": {},
: | decay_element = decay product
"abundance": {},
: | decay_mass = mass number of decay product
"halflife": {},
: | decay_symbol = chemical symbol
"decay_product": {},
: | parent = parent isotope, full name. In form element-123 for wikilink.
"mass": {},
: | parent_mass = mass number of parent isotope
"spin": {},
: | parent_symbol = chemical symbol
"excess_energy": {},
: | parent_decay = decay method
"binding_energy": {},
: | parent_mass = mass number of parent isotope
"parent_symbol": {},
: | parent2 = Parent-2
"parent": {},
: | parent_2symbol = chemical symbol
"parent_mass": {},
: | parent_2decay = a
"parent_decay": {},
: | mass = mass in Unified atomic mass unit
"parent2_symbol": {},
: | spin = Spin
"parent2": {},
: | excess_energy = excess energy in KeV
"parent2_mass": {},
: | error1 = error in keV
"parent2_decay": {},
: | nuclear binding_energy = binding energy in KeV
"parent3_symbol": {},
: | error2 = error in keV
"parent3": {},
: | decay_mode1 = decay mode
"parent3_mass": {},
: | decay_halflife1 = t<sub>1/2</sub>
"parent3_decay": {},
: | decay_intensity1 = fraction in %
"parent4_symbol": {},
: | decay_energy1 = energy in MeV
"parent4": {},
: | decay_mode2 = decay mode
"parent4_mass": {},
: | decay_halflife2 = t<sub>1/2</sub>
"parent4_decay": {},
: | decay_intensity2 = fraction in %
"decay_symbol": {},
: | decay_energy2 = energy in MeV
"decay_mass": {},
: | decay_mode3 = decay mode
"decay_product2": {},
: | decay_halflife3 = t<sub>1/2</sub>
"decay_symbol2": {},
: | decay_intensity3 = fraction in %
"decay_mass2": {},
: | decay_energy3 = energy in MeV
"decay_mode1": {},
: | decay_mode4 = decay mode
"decay_mode2": {},
: | decay_halflife4 = t<sub>1/2</sub>
"decay_mode3": {},
: | decay_intensity4 = fraction in %
"decay_mode4": {},
: | decay_energy4 = energy in MeV
"decay_energy1": {},
:}}</div>
"decay_energy2": {},
"decay_energy3": {},
"decay_energy4": {}
}
}
</templatedata>
{{collapse bottom}}


== Tracking categories ==
-->
* {{clc|Isotope content page}}
* {{clc|Pages using Infobox isotope with unknown parameters}}


== See also ==
== See also ==
* irregular article usage: [[Hydrogen atom]], {{slink|Isotopes_of_xenon|Xenon-133}}
{{Periodic table templates}}
* {{tl|Infobox isotope/decay_mode}}
{{Navbox isotope templates‎‎}}
{{Periodic table templates overview}}


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<includeonly>{{Sandbox other||
<!--Categories below this line, please; interwikis at Wikidata-->
<!--Categories below this line, please; interwikis at Wikidata-->
[[Category:Chemistry infobox templates|Isotope]]
[[Category:Chemistry infobox templates|Isotope]]
[[Category:Templates that add a tracking category|{{PAGENAME}}]]
}}</includeonly>
}}</includeonly>

Latest revision as of 20:21, 6 June 2024

{{Infobox isotope
| name  = overwrites default {{PAGENAME}}
| image = image name (without leading 'File:')
| image_caption = image caption
| alternate_names = Alternate names
| symbol = chemical symbol (e.g. C)
| mass_number  = atomic mass Z+N
| num_protons  = number of protons Z
| num_neutrons = number of neutrons N

| abundance = Natural abundance, with units (e.g. 98.5%, 1 part per million)
| halflife = t<sub>1/2</sub>

| mass = mass in Unified atomic mass unit
| spin = Spin
| excess_energy = excess energy in KeV (use {{val}})
| binding_energy = (use {{val}})

| parent = parent element
| parent_symbol = chemical symbol
| parent_mass = mass number of parent isotope
| parent_decay = decay method of parent
| parent2 = parent

| decay_product = decay product
| decay_mass = mass number of decay product
| decay_symbol = chemical symbol
| decay_product2 = decay product
| decay_mass2 = mass number of decay product
| decay_symbol2 = chemical symbol

| decay_mode1 = decay mode
| decay_energy1 = energy in MeV
| decay_mode2 = decay mode
| decay_energy2 = energy in MeV
}}

Blank parameter list

[edit]

Copy and paste this code to add an infobox. Completing the fields as per the explanation below.

{{Infobox isotope
| name             =
| alternate_names  = 
| symbol           = 
| mass_number      = 
| mass             = 
| num_neutrons     = 
| num_protons      = 
| abundance        = 
| halflife         = 
| image            = 
| image_caption    = 
| spin             = 
| excess_energy    = 
| binding_energy   = 

| parent           = 
| parent_symbol    = 
| parent_mass      = 
| parent_decay     = 
| parent2          = 
| parent2_symbol   = 
| parent2_mass     = 
| parent2_decay    = 

| decay_product    = 
| decay_symbol     = 
| decay_mass       = 
| decay_product2   = 
| decay_symbol2    = 
| decay_mass2      = 
| decay_mode1      = 
| decay_halflife1  = 
| decay_energy1    = 
| decay_mode2      = 
| decay_energy2    = 
| decay_mode3      = 
| decay_halflife3  = 
| decay_intensity3 = 
| decay_energy3    = 
| decay_mode4      = 
| decay_halflife4  = 
| decay_intensity4 = 
| decay_energy4    = 

}}

Example

[edit]
Uranium-236236U
General
Symbol236U
NamesUranium-236, 236U, U-236
Protons (Z)92
Neutrons (N)144
Nuclide data
Natural abundance<10×10−11
Half-life (t1/2)2.348×107 years
Isotope mass236.045568(2) Da
Spin0+
Binding energy1790415.042±1.974 keV
Parent isotopes236Pa
236Np
240Pu
Decay products232Th
Decay modes
Decay modeDecay energy (MeV)
Alpha4.572
Isotopes of uranium
Complete table of nuclides
{{Infobox isotope
 | name = [[Uranium-236]]
 | image = 
 | alternate_names = 
 | mass_number = 236
 | symbol =U
 | num_neutrons =144
 | num_protons =92
 | abundance = {{val|p=<|10|e=−11}}
 | halflife = {{val|2.348|e=7|u=years}}
 | decay_product = thorium-232
 | decay_mass = 232
 | decay_symbol =Th
 | parent = Protactinium-236
 | parent_mass = 236
 | parent_symbol =Pa
 | parent_decay = 
 | parent2 = Neptunium-236
 | parent2_mass = 236
 | parent2_symbol = Np
 | parent2_decay =
 | parent3 = Plutonium-240
 | parent3_mass = 240
 | parent3_symbol = Pu
 | parent3_decay = 
 | mass = 236.045568(2)
 | spin = 0+
 | excess_energy =
 | binding_energy = {{val|1790415.042|1.974}}
 | decay_mode1 = Alpha
 | decay_energy1 = 4.572
 | decay_mode2 =
 | decay_energy2 =
 | decay_mode3 =
 | decay_energy3 =
 | decay_mode4 =
 | decay_energy4 =
 }}

Decay modes

[edit]
|decay_modeN= returns
a, alpha  (α)
b+, beta plus, positron emission  (β+)
b-, beta-, beta minus  (β)
g, c, gamma  (γ)
e, EC  (EC)

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox isotope in articles based on its TemplateData.

TemplateData for Infobox isotope

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
namename

no description

Unknownoptional
mass_numbermass_number

no description

Unknownoptional
symbolsymbol

no description

Unknownoptional
imageimage

no description

Unknownoptional
image_captionimage_caption

no description

Unknownoptional
alternate_namesalternate_names

no description

Unknownoptional
num_neutronsnum_neutrons

no description

Unknownoptional
num_protonsnum_protons

no description

Unknownoptional
abundanceabundance

no description

Unknownoptional
halflifehalflife

no description

Unknownoptional
decay_productdecay_product

no description

Unknownoptional
massmass

no description

Unknownoptional
spinspin

no description

Unknownoptional
excess_energyexcess_energy

no description

Unknownoptional
binding_energybinding_energy

no description

Unknownoptional
parent_symbolparent_symbol

no description

Unknownoptional
parentparent

no description

Unknownoptional
parent_massparent_mass

no description

Unknownoptional
parent_decayparent_decay

no description

Unknownoptional
parent2_symbolparent2_symbol

no description

Unknownoptional
parent2parent2

no description

Unknownoptional
parent2_massparent2_mass

no description

Unknownoptional
parent2_decayparent2_decay

no description

Unknownoptional
parent3_symbolparent3_symbol

no description

Unknownoptional
parent3parent3

no description

Unknownoptional
parent3_massparent3_mass

no description

Unknownoptional
parent3_decayparent3_decay

no description

Unknownoptional
parent4_symbolparent4_symbol

no description

Unknownoptional
parent4parent4

no description

Unknownoptional
parent4_massparent4_mass

no description

Unknownoptional
parent4_decayparent4_decay

no description

Unknownoptional
decay_symboldecay_symbol

no description

Unknownoptional
decay_massdecay_mass

no description

Unknownoptional
decay_product2decay_product2

no description

Unknownoptional
decay_symbol2decay_symbol2

no description

Unknownoptional
decay_mass2decay_mass2

no description

Unknownoptional
decay_mode1decay_mode1

no description

Unknownoptional
decay_mode2decay_mode2

no description

Unknownoptional
decay_mode3decay_mode3

no description

Unknownoptional
decay_mode4decay_mode4

no description

Unknownoptional
decay_energy1decay_energy1

no description

Unknownoptional
decay_energy2decay_energy2

no description

Unknownoptional
decay_energy3decay_energy3

no description

Unknownoptional
decay_energy4decay_energy4

no description

Unknownoptional

Tracking categories

[edit]

See also

[edit]