模板:Element cell
title="{{ safesubst:#if:1|{{#if:{{{2}}}||}}}}{{#if:|:}}{{#if:| {{{legend}}}|{{#if:| {{ safesubst:#if:1|{{{6}}}}}{{#if:|;}}}}{{#if:| {{ safesubst:#if:1|{{{7}}}}};}}{{#if:| {{ safesubst:#if:1|{{{5}}}}}}}}}" style="text-align:center; color:{{#if:|{{#switch:
| alkali metal | alkali metals = #ff6666
| alkaline earth metal | alkaline earth metals = #ffdead
| rare earth metal | rare earth metals = #ffbffe
| lanthanide | lanthanides | lanthanoid | lanthanoids = #ffbfff
| actinide | actinides | actinoid | actinoids = #ff99cc
| transition metal | transition metals = #ffc0c0
| poor metal | poor metals = #cccccc
| metalloid | metalloids = #cccc99
| polyatomic nonmetal | polyatomic nonmetals = #a1ffc3
| diatomic nonmetal | diatomic nonmetals = #e7ff8f
| noble gas | noble gases = #c0ffff
| superactinide | superactinides = #d1ddff
| eka-superactinide | eka-superactinides = #c6dd9d
| primordial = 2px solid #8811ff
| from decay | natural radio = 2px dashed #773300
| synthetic = 2px dotted #4499ff
| undiscovered = none
| none | see below (border) = none
| solid = #000000
| liquid | liquids = #008000
| gas | gases = #ff0000
| unknownphase | unknown phase = #696969
| solid (predicted) = #000000
| liquid (predicted) | liquids (predicted) = #008000
| gas (predicted) | gases (predicted) = #ff0000
| unknown | unk | unknown (white) = #ffffff
| unknown chemical property | unknown chemical properties | unknown property | unknown properties= #e8e8e8
| white = #ffffff
| black = #000000
| red = #ff0000
| yellow = #ffff00
| blue = #0000ff
| green = #008000
| table1 | table title | table caption = #d8d8d8
| table2 | table header = #e0e0e0
| table3 | table colheader | table colh | table rowh | table rowheader | table subheader = #e8e8e8
| table4 | table mark = #f0f0f0
| table5 | table background | table bg = #f8f8f8
| table0 | table border = #a9a9a9
| alkali metal (predicted) | alkali metals (predicted) = #d8bcbc
| alkaline earth metal (predicted) | alkaline earth metals (predicted) = #ffecd3
| superactinide (predicted) | superactinides (predicted) = #d1ddff
| eka-superactinide (predicted) | eka-superactinide (predicted) = #c6dd9d
| transition metal (predicted) | transition metals (predicted) = #ffe2e2
| poor metal (predicted) | poor metals (predicted) = #d8d8d8
| metalloid (predicted) | metalloids (predicted) = #e2e2aa
| polyatomic nonmetal (predicted) | polyatomic nonmetals (predicted) = #d0ffe1
| diatomic nonmetal (predicted) | diatomic nonmetals (predicted) = #f2ffc2
| noble gas (predicted) | noble gases (predicted) = #ddffff
| s-block = #ff6699
| g-block = #ffcc66
| p-block = #99ccff
| d-block = #ccff99
| f-block = #66ffcc
| s-block-p | s-block light | s-block (predicted) = #ffbbdd
| g-block-p | g-block light | g-block (predicted) = #ffddaa
| p-block-p | p-block light | p-block (predicted) = #cceeff
| d-block-p | d-block light | d-block (predicted) = #ddffcc
| f-block-p | f-block light | f-block (predicted) = #bbffee
| metal | metals = #eee8aa
| nonmetal | nonmetals | non-metal | non-metals = #b0e0e6
| inner transition metals | inner transition metal = #d8bfd8
| antiquity to middle ages = #ffb9b9
| before 1800 = #dfcdff
| 1800 | 1800-1849 | 1800–1849 = #cbffb9
| 1850 | 1850-1899 | 1850–1899 = #b9ffe4
| 1900 | 1900-1949 | 1900–1949 = #ffe2b9
| 1950 | 1950-1999 | 1950–1999 = #fff6b9
| 2000 | 2000-present | 2000–present = #ffb9ef
| future = #
| 0 | zero = #c0ffff
| 1 | one = #ff8989
| 2 | two = #ffdead
| 3 | three = #ffbfff
| 4 | four = #cccccc
| 5 | five = #cccc99
| 6 | six = #a0ffa0
| 7 | seven = #ffff99
| 8 | eight = #d1ddff
| 9 | nine = #c6dd9d
| fa | aq-fa = #6699ff
| a | aq-a = #66ffff
| ga | aq-ga = #55cc55
| b | aq-b = #bcff66
| c | aq-c = #ffff66
| start | aq-start = #ffaa66
| stub | aq-stub = #ff6666
| list | aq-list = #aa88ff
| bplus | b+ | aq-bplus = #66ff66
| future | aq-future = #8a95c9
| current | aq-current = #d462ff
| disambig | aq-disambig = #00fa9a
| na | aq-na = #f5f5f5
| redirect | aq-redirect = #c0c0c0
| book | aq-book = #98ff98
| template | aq-template = #fbceb1
| category | aq-category = #ffdb58
| unassessed | aq-unassesed = transparent
| top | imp-top = #ff00ff
| high | imp-high = #ff88ff
| mid | imp-mid = #ffbbff
| low | imp-low = #ffddff
| bottom | imp-bottom = #ffeeff
| na | n/a = #f5f5f5
| ??? | imp-unassessed = #f9f9f9
| x = #ffffff
| (see below) | (seebelow) | seebelow | see below = #f8f8f8
| other metals = black
| other nonmetal | other nonmetals = #a0ffa0
| post-transition metal | post-transition metals = #cccccc
| halogen | halogens = #ffff99
| other nonmetal (predicted) | other nonmetals (predicted) = #d3ffd3
| post-transition metal (predicted) | post-transition metals (predicted) = #d8d8d8
| halogen (predicted) | halogens (predicted) = #ffffd6
| #default=
}}|black}}; background:{{#if:|{{#switch:{{{6}}}
| alkali metal | alkali metals = #ff6666
| alkaline earth metal | alkaline earth metals = #ffdead
| rare earth metal | rare earth metals = #ffbffe
| lanthanide | lanthanides | lanthanoid | lanthanoids = #ffbfff
| actinide | actinides | actinoid | actinoids = #ff99cc
| transition metal | transition metals = #ffc0c0
| poor metal | poor metals = #cccccc
| metalloid | metalloids = #cccc99
| polyatomic nonmetal | polyatomic nonmetals = #a1ffc3
| diatomic nonmetal | diatomic nonmetals = #e7ff8f
| noble gas | noble gases = #c0ffff
| superactinide | superactinides = #d1ddff
| eka-superactinide | eka-superactinides = #c6dd9d
| primordial = 2px solid #8811ff
| from decay | natural radio = 2px dashed #773300
| synthetic = 2px dotted #4499ff
| undiscovered = none
| none | see below (border) = none
| solid = #000000
| liquid | liquids = #008000
| gas | gases = #ff0000
| unknownphase | unknown phase = #696969
| solid (predicted) = #000000
| liquid (predicted) | liquids (predicted) = #008000
| gas (predicted) | gases (predicted) = #ff0000
| unknown | unk | unknown (white) = #ffffff
| unknown chemical property | unknown chemical properties | unknown property | unknown properties= #e8e8e8
| white = #ffffff
| black = #000000
| red = #ff0000
| yellow = #ffff00
| blue = #0000ff
| green = #008000
| table1 | table title | table caption = #d8d8d8
| table2 | table header = #e0e0e0
| table3 | table colheader | table colh | table rowh | table rowheader | table subheader = #e8e8e8
| table4 | table mark = #f0f0f0
| table5 | table background | table bg = #f8f8f8
| table0 | table border = #a9a9a9
| alkali metal (predicted) | alkali metals (predicted) = #d8bcbc
| alkaline earth metal (predicted) | alkaline earth metals (predicted) = #ffecd3
| superactinide (predicted) | superactinides (predicted) = #d1ddff
| eka-superactinide (predicted) | eka-superactinide (predicted) = #c6dd9d
| transition metal (predicted) | transition metals (predicted) = #ffe2e2
| poor metal (predicted) | poor metals (predicted) = #d8d8d8
| metalloid (predicted) | metalloids (predicted) = #e2e2aa
| polyatomic nonmetal (predicted) | polyatomic nonmetals (predicted) = #d0ffe1
| diatomic nonmetal (predicted) | diatomic nonmetals (predicted) = #f2ffc2
| noble gas (predicted) | noble gases (predicted) = #ddffff
| s-block = #ff6699
| g-block = #ffcc66
| p-block = #99ccff
| d-block = #ccff99
| f-block = #66ffcc
| s-block-p | s-block light | s-block (predicted) = #ffbbdd
| g-block-p | g-block light | g-block (predicted) = #ffddaa
| p-block-p | p-block light | p-block (predicted) = #cceeff
| d-block-p | d-block light | d-block (predicted) = #ddffcc
| f-block-p | f-block light | f-block (predicted) = #bbffee
| metal | metals = #eee8aa
| nonmetal | nonmetals | non-metal | non-metals = #b0e0e6
| inner transition metals | inner transition metal = #d8bfd8
| antiquity to middle ages = #ffb9b9
| before 1800 = #dfcdff
| 1800 | 1800-1849 | 1800–1849 = #cbffb9
| 1850 | 1850-1899 | 1850–1899 = #b9ffe4
| 1900 | 1900-1949 | 1900–1949 = #ffe2b9
| 1950 | 1950-1999 | 1950–1999 = #fff6b9
| 2000 | 2000-present | 2000–present = #ffb9ef
| future = #
| 0 | zero = #c0ffff
| 1 | one = #ff8989
| 2 | two = #ffdead
| 3 | three = #ffbfff
| 4 | four = #cccccc
| 5 | five = #cccc99
| 6 | six = #a0ffa0
| 7 | seven = #ffff99
| 8 | eight = #d1ddff
| 9 | nine = #c6dd9d
| fa | aq-fa = #6699ff
| a | aq-a = #66ffff
| ga | aq-ga = #55cc55
| b | aq-b = #bcff66
| c | aq-c = #ffff66
| start | aq-start = #ffaa66
| stub | aq-stub = #ff6666
| list | aq-list = #aa88ff
| bplus | b+ | aq-bplus = #66ff66
| future | aq-future = #8a95c9
| current | aq-current = #d462ff
| disambig | aq-disambig = #00fa9a
| na | aq-na = #f5f5f5
| redirect | aq-redirect = #c0c0c0
| book | aq-book = #98ff98
| template | aq-template = #fbceb1
| category | aq-category = #ffdb58
| unassessed | aq-unassesed = transparent
| top | imp-top = #ff00ff
| high | imp-high = #ff88ff
| mid | imp-mid = #ffbbff
| low | imp-low = #ffddff
| bottom | imp-bottom = #ffeeff
| na | n/a = #f5f5f5
| ??? | imp-unassessed = #f9f9f9
| x = #ffffff
| (see below) | (seebelow) | seebelow | see below = #f8f8f8
| other metals = black
| other nonmetal | other nonmetals = #a0ffa0
| post-transition metal | post-transition metals = #cccccc
| halogen | halogens = #ffff99
| other nonmetal (predicted) | other nonmetals (predicted) = #d3ffd3
| post-transition metal (predicted) | post-transition metals (predicted) = #d8d8d8
| halogen (predicted) | halogens (predicted) = #ffffd6
| #default=
}}|white}}; border:{{#if:|{{#switch:{{{7}}}
| alkali metal | alkali metals = #ff6666
| alkaline earth metal | alkaline earth metals = #ffdead
| rare earth metal | rare earth metals = #ffbffe
| lanthanide | lanthanides | lanthanoid | lanthanoids = #ffbfff
| actinide | actinides | actinoid | actinoids = #ff99cc
| transition metal | transition metals = #ffc0c0
| poor metal | poor metals = #cccccc
| metalloid | metalloids = #cccc99
| polyatomic nonmetal | polyatomic nonmetals = #a1ffc3
| diatomic nonmetal | diatomic nonmetals = #e7ff8f
| noble gas | noble gases = #c0ffff
| superactinide | superactinides = #d1ddff
| eka-superactinide | eka-superactinides = #c6dd9d
| primordial = 2px solid #8811ff
| from decay | natural radio = 2px dashed #773300
| synthetic = 2px dotted #4499ff
| undiscovered = none
| none | see below (border) = none
| solid = #000000
| liquid | liquids = #008000
| gas | gases = #ff0000
| unknownphase | unknown phase = #696969
| solid (predicted) = #000000
| liquid (predicted) | liquids (predicted) = #008000
| gas (predicted) | gases (predicted) = #ff0000
| unknown | unk | unknown (white) = #ffffff
| unknown chemical property | unknown chemical properties | unknown property | unknown properties= #e8e8e8
| white = #ffffff
| black = #000000
| red = #ff0000
| yellow = #ffff00
| blue = #0000ff
| green = #008000
| table1 | table title | table caption = #d8d8d8
| table2 | table header = #e0e0e0
| table3 | table colheader | table colh | table rowh | table rowheader | table subheader = #e8e8e8
| table4 | table mark = #f0f0f0
| table5 | table background | table bg = #f8f8f8
| table0 | table border = #a9a9a9
| alkali metal (predicted) | alkali metals (predicted) = #d8bcbc
| alkaline earth metal (predicted) | alkaline earth metals (predicted) = #ffecd3
| superactinide (predicted) | superactinides (predicted) = #d1ddff
| eka-superactinide (predicted) | eka-superactinide (predicted) = #c6dd9d
| transition metal (predicted) | transition metals (predicted) = #ffe2e2
| poor metal (predicted) | poor metals (predicted) = #d8d8d8
| metalloid (predicted) | metalloids (predicted) = #e2e2aa
| polyatomic nonmetal (predicted) | polyatomic nonmetals (predicted) = #d0ffe1
| diatomic nonmetal (predicted) | diatomic nonmetals (predicted) = #f2ffc2
| noble gas (predicted) | noble gases (predicted) = #ddffff
| s-block = #ff6699
| g-block = #ffcc66
| p-block = #99ccff
| d-block = #ccff99
| f-block = #66ffcc
| s-block-p | s-block light | s-block (predicted) = #ffbbdd
| g-block-p | g-block light | g-block (predicted) = #ffddaa
| p-block-p | p-block light | p-block (predicted) = #cceeff
| d-block-p | d-block light | d-block (predicted) = #ddffcc
| f-block-p | f-block light | f-block (predicted) = #bbffee
| metal | metals = #eee8aa
| nonmetal | nonmetals | non-metal | non-metals = #b0e0e6
| inner transition metals | inner transition metal = #d8bfd8
| antiquity to middle ages = #ffb9b9
| before 1800 = #dfcdff
| 1800 | 1800-1849 | 1800–1849 = #cbffb9
| 1850 | 1850-1899 | 1850–1899 = #b9ffe4
| 1900 | 1900-1949 | 1900–1949 = #ffe2b9
| 1950 | 1950-1999 | 1950–1999 = #fff6b9
| 2000 | 2000-present | 2000–present = #ffb9ef
| future = #
| 0 | zero = #c0ffff
| 1 | one = #ff8989
| 2 | two = #ffdead
| 3 | three = #ffbfff
| 4 | four = #cccccc
| 5 | five = #cccc99
| 6 | six = #a0ffa0
| 7 | seven = #ffff99
| 8 | eight = #d1ddff
| 9 | nine = #c6dd9d
| fa | aq-fa = #6699ff
| a | aq-a = #66ffff
| ga | aq-ga = #55cc55
| b | aq-b = #bcff66
| c | aq-c = #ffff66
| start | aq-start = #ffaa66
| stub | aq-stub = #ff6666
| list | aq-list = #aa88ff
| bplus | b+ | aq-bplus = #66ff66
| future | aq-future = #8a95c9
| current | aq-current = #d462ff
| disambig | aq-disambig = #00fa9a
| na | aq-na = #f5f5f5
| redirect | aq-redirect = #c0c0c0
| book | aq-book = #98ff98
| template | aq-template = #fbceb1
| category | aq-category = #ffdb58
| unassessed | aq-unassesed = transparent
| top | imp-top = #ff00ff
| high | imp-high = #ff88ff
| mid | imp-mid = #ffbbff
| low | imp-low = #ffddff
| bottom | imp-bottom = #ffeeff
| na | n/a = #f5f5f5
| ??? | imp-unassessed = #f9f9f9
| x = #ffffff
| (see below) | (seebelow) | seebelow | see below = #f8f8f8
| other metals = black
| other nonmetal | other nonmetals = #a0ffa0
| post-transition metal | post-transition metals = #cccccc
| halogen | halogens = #ffff99
| other nonmetal (predicted) | other nonmetals (predicted) = #d3ffd3
| post-transition metal (predicted) | post-transition metals (predicted) = #d8d8d8
| halogen (predicted) | halogens (predicted) = #ffffd6
| #default=
}}|none}}; ;"| {{#if:|{{ safesubst:#if:1|}}
}}{{#if:|[[{{#if:||{{ safesubst:#if:1|}}}}]]|{{ safesubst:#if:1|}}}}{{#if:|}}