Difference between revisions of "Template:Itembox"

From StarMade Wiki
m
m
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
|Ctrling|CtrlBy|Item= {{DbSub|{{{1}}}|{{{2}}}|0}}
 
|Ctrling|CtrlBy|Item= {{DbSub|{{{1}}}|{{{2}}}|0}}
 
|{{DbParser|{{{1}}}|{{{2}}}|{{{3}}}}}
 
|{{DbParser|{{{1}}}|{{{2}}}|{{{3}}}}}
}}|<div>[[File:{{DbParser|{{{1}}}|link}}.png|20px|link={{DbParser|{{{1}}}|link}}]]<!-- line for clarity  --- if no second parameter, display icon + link
+
}}|<div onmouseover="document.getElementById('InfoDbBox').style.visibility='visible'" onmouseout="document.getElementById('InfoDbBox').style.visibility='hidden'">[[File:{{DbParser|{{{1}}}|link}}.png|20px|link={{DbParser|{{{1}}}|link}}]]<!-- line for clarity  --- if no second parameter, display icon + link
-->[[{{DbParser|{{{1}}}|link}}|{{DbParser|{{{1}}}|link}}]]<div style="visibility: hidden; position: absolute; z-index: 1; top: -5px; left: 105%;" onmouseover="this.style.visibility='visible'" onmouseout="this.style.visibility='hidden'">{{blockbox|1|{{{1}}}}}</div></div>}}
+
-->[[{{DbParser|{{{1}}}|link}}|{{DbParser|{{{1}}}|link}}]]<div id="InfoDbBox" style="visibility: hidden; position: absolute; z-index: 1; top: -5px; left: 105%;" >{{blockbox|1|{{{1}}}}}</div></div>}}

Latest revision as of 22:26, 14 May 2018

20px[[|]]