Difference between revisions of "Template:Itembox"
From StarMade Wiki
m |
m |
||
(2 intermediate revisions 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%;" | + | -->[[{{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>}} |