Difference between revisions of "Template:Itembox"
From StarMade Wiki
m |
m |
||
Line 1: | Line 1: | ||
− | |||
{{#if:{{{2|}}}|{{#switch: {{{2}}} | {{#if:{{{2|}}}|{{#switch: {{{2}}} | ||
|Ctrling|CtrlBy|Item= {{DbSub|{{{1}}}|{{{2}}}|0}} | |Ctrling|CtrlBy|Item= {{DbSub|{{{1}}}|{{{2}}}|0}} | ||
|{{DbParser|{{{1}}}|{{{2}}}|{{{3}}}}} | |{{DbParser|{{{1}}}|{{{2}}}|{{{3}}}}} | ||
− | }}|<div | + | }}|<div>[[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 | + | -->[[{{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>}} |
Revision as of 21:58, 14 May 2018
20px[[|]]