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)
 
(7 intermediate revisions by 6 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 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}}}