Difference between revisions of "Template:Elementbox header-imagemap"

From blackwiki
Jump to navigation Jump to search
imported>Nergaal
imported>WOSlinker
(border/cellpadding/cellspacing not needed due to wikitable class)
 
(10 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| class="wikitable" align="right" border="1" cellpadding="2" cellspacing="0" style="margin:0 0 0.5em 0.5em"
+
{| class="wikitable" align="right" style="margin:0 0 0.5em 0.5em"
 
| colspan="2" |
 
| colspan="2" |
 
{| width="100%" border=0 cellspacing=0
 
{| width="100%" border=0 cellspacing=0
| align="center" | <span style="font-size:120%; font-weight:bold">{{{number}}}</span>
+
| style="text-align:center;" | <span style="font-size:120%; font-weight:bold">{{{number}}}</span>
| align="center" style="padding-left:2em" | <span style="font-size: 95%">{{{left}}}</span> ← <span style="font-size: 120%">{{{name}}}</span> → <span style="font-size: 95%">{{{right}}}</span>
+
| style="text-align:center;padding-left:2em" | <span style="font-size: 95%">{{{left}}}</span> ← <span style="font-size: 120%">{{{name}}}</span> → <span style="font-size: 95%">{{{right}}}</span>
 
|-
 
|-
| align="center" | <span style="font-size:95%">{{{above}}}</span><br />↑<br /><span style="font-size:120%; font-weight:bold">{{{symbol}}}</span><br />↓<br /><span style="font-size: 95%">{{{below}}}</span>
+
| style="text-align:center;" | <span style="font-size:95%">{{{above}}}</span><br />↑<br /><span style="font-size:120%; font-weight:bold">{{{symbol}}}</span><br />↓<br /><span style="font-size: 95%">{{{below}}}</span>
 
|
 
|
 
{|
 
{|
Line 15: Line 15:
 
desc none
 
desc none
 
rect 0  0  25  36  [[Hydrogen|1  H Hydrogen]]
 
rect 0  0  25  36  [[Hydrogen|1  H Hydrogen]]
rect 780 800 36  [[Helium|2  He Helium]]
+
rect 725 750 36  [[Helium|2  He Helium]]
 
rect 0  37  25  72  [[Lithium|3  Li Lithium]]
 
rect 0  37  25  72  [[Lithium|3  Li Lithium]]
rect 28  36 50  68  [[Beryllium|4  Be Beryllium]]
+
rect 28  37 50  68  [[Beryllium|4  Be Beryllium]]
rect 723 36 748 68  [[Boron|5  B Boron]]
+
rect 723 37 748 68  [[Boron|5  B Boron]]
rect 751 36 776 68  [[Carbon|6  C Carbon]]
+
rect 751 37 776 68  [[Carbon|6  C Carbon]]
rect 780 36 805 68  [[Nitrogen|7  N Nitrogen]]
+
rect 780 37 805 68  [[Nitrogen|7  N Nitrogen]]
rect 808 36 833 68  [[Oxygen|8  O Oxygen]]
+
rect 808 37 833 68  [[Oxygen|8  O Oxygen]]
rect 837 36 862 68  [[Fluorine|9  F Fluorine]]
+
rect 837 37 862 68  [[Fluorine|9  F Fluorine]]
rect 865 36 890 68  [[Neon|10 N Neon]]
+
rect 865 37 890 68  [[Neon|10 N Neon]]
 
rect 0  73  25  107 [[Sodium|11 Na Sodium]]
 
rect 0  73  25  107 [[Sodium|11 Na Sodium]]
 
rect 28  71  50  107 [[Magnesium|12 Mg Magnesium]]
 
rect 28  71  50  107 [[Magnesium|12 Mg Magnesium]]
Line 125: Line 125:
 
rect 641 224 666 260 [[Darmstadtium|110 Ds Darmstadtium]]
 
rect 641 224 666 260 [[Darmstadtium|110 Ds Darmstadtium]]
 
rect 669 224 694 260 [[Roentgenium|111 Rg Roentgenium]]
 
rect 669 224 694 260 [[Roentgenium|111 Rg Roentgenium]]
rect 698 224 719 260 [[Ununbium|112 Uub Ununbium]]
+
rect 698 224 719 260 [[Copernicium|112 Cn Copernicium]]
rect 723 224 748 260 [[Ununtrium|113 Uut Ununtrium]]
+
rect 723 224 748 260 [[nihonium|113 Nh Nihonium]]
rect 751 224 776 260 [[Ununquadium|114 Uuq Ununquadium]]
+
rect 751 224 776 260 [[Flerovium|114 Fl Flerovium]]
rect 780 224 805 260 [[Ununpentium|115 Uup Ununpentium]]
+
rect 780 224 805 260 [[Moscovium|115 Mc Moscovium]]
rect 808 224 833 260 [[Ununhexium|116 Uuh Ununhexium]]
+
rect 808 224 833 260 [[Livermorium|116 Lv Livermorium]]
rect 837 224 862 260 [[Ununseptium|117 Uus Ununseptium]]
+
rect 837 224 862 260 [[Tennessine|117 Ts Tennessine]]
rect 865 224 890 260 [[Ununoctium|118 Uuo Ununoctium]]
+
rect 865 224 890 260 [[Oganesson|118 Og Oganesson]]
 
</imagemap>
 
</imagemap>
 
:If a second image appears above this line we're in business.
 
:If a second image appears above this line we're in business.
Line 251: Line 251:
 
rect 641 224 666 260 [[Darmstadtium|110 Ds Darmstadtium]]
 
rect 641 224 666 260 [[Darmstadtium|110 Ds Darmstadtium]]
 
rect 669 224 694 260 [[Roentgenium|111 Rg Roentgenium]]
 
rect 669 224 694 260 [[Roentgenium|111 Rg Roentgenium]]
rect 698 224 719 260 [[Ununbium|112 Uub Ununbium]]
+
rect 698 224 719 260 [[Copernicium|112 Cn Copernicium]]
 
rect 723 224 748 260 [[Ununtrium|113 Uut Ununtrium]]
 
rect 723 224 748 260 [[Ununtrium|113 Uut Ununtrium]]
rect 751 224 776 260 [[Ununquadium|114 Uuq Ununquadium]]
+
rect 751 224 776 260 [[Flerovium|114 Fl Flerovium]]
 
rect 780 224 805 260 [[Ununpentium|115 Uup Ununpentium]]
 
rect 780 224 805 260 [[Ununpentium|115 Uup Ununpentium]]
rect 808 224 833 260 [[Ununhexium|116 Uuh Ununhexium]]
+
rect 808 224 833 260 [[Livermorium|116 Lv Livermorium]]
 
rect 837 224 862 260 [[Ununseptium|117 Uus Ununseptium]]
 
rect 837 224 862 260 [[Ununseptium|117 Uus Ununseptium]]
 
rect 865 224 890 260 [[Ununoctium|118 Uuo Ununoctium]]
 
rect 865 224 890 260 [[Ununoctium|118 Uuo Ununoctium]]
Line 266: Line 266:
 
|-
 
|-
 
| [[list of elements by name|Name]], [[list of elements by symbol|Symbol]], [[list of elements by number|Number]]
 
| [[list of elements by name|Name]], [[list of elements by symbol|Symbol]], [[list of elements by number|Number]]
| {{{name}}}, {{{symbol}}}, {{{number}}}<noinclude>[[Category:Wikipedia imagemaps|{{PAGENAME}}]]</noinclude>
+
| {{{name}}}, {{{symbol}}}, {{{number}}}<noinclude>[[Category:Wikipedia image maps]]</noinclude>

Latest revision as of 17:39, 7 June 2020

{{{number}}} {{{left}}}{{{name}}}{{{right}}}
{{{above}}}

{{{symbol}}}

{{{below}}}
Awaiting {{{1}}} imagemap fix, see discussion

Error: Must specify an image in the first line.

If a second image appears above this line we're in business.

Below using a static element symbol {{{symbol}}} to demo.

Error: Image is invalid or non-existent.

General
Name, Symbol, Number {{{name}}}, {{{symbol}}}, {{{number}}}