Site notice |
---|
Welcome! Please check To-Do List to see what pages need help, who is working on what, etc.
|
Difference between revisions of "Template:Drop table/Chance"
From Mega Man Wiki
Vellidragon (talk | contribs) (Creates an inline-block div with a possible drop and percent chance, which is as wide as the chance and can be custom-coloured.) |
Vellidragon (talk | contribs) (Alternative cropping mode with mouseover text for very narrow divs. Set alt= to anything to use.) |
||
Line 1: | Line 1: | ||
<div style="width:{{{chance|100}}}%;background:{{{1|#E7E7E7}}};text-align:center;display:inline-block;"><small>{{{chance|100}}}%</small><br/>{{{drop|Nothing}}}</div><noinclude>{{doc}}[[Category:Battle Network era templates]][[Category:Cell templates]]</noinclude> | {{#if:{{{alt|}}}|<div style="width:{{{chance|100}}}%;background:{{{1|#E7E7E7}}};text-align:center;display:inline-block;white-space:nowrap;" title="{{{chance|100}}}% - {{{drop|Nothing}}}"><small>{{{chance|100}}}%</small><br/>{{{drop|Nothing}}}</div> | ||
|<div style="width:{{{chance|100}}}%;background:{{{1|#E7E7E7}}};text-align:center;display:inline-block;"><small>{{{chance|100}}}%</small><br/>{{{drop|Nothing}}}</div>}} | |||
<noinclude>{{doc}}[[Category:Battle Network era templates]][[Category:Cell templates]]</noinclude> |
Revision as of 00:00, 19 March 2023
100%
Nothing
Nothing