Template:PrizeBubble: Difference between revisions
Jump to navigation
Jump to search
DokkeFyxen (talk | contribs) mNo edit summary |
DokkeFyxen (talk | contribs) mNo edit summary |
||
Line 20: | Line 20: | ||
-->margin-top:{{#expr:<!-- | -->margin-top:{{#expr:<!-- | ||
-->{{#expr: {{{bubble-size|128}}} + {{{item-size|92}}} }} / -{{{bubble-size|128}}} }} }}px;"}} | -->{{#expr: {{{bubble-size|128}}} + {{{item-size|92}}} }} / -{{{bubble-size|128}}} }} }}px;"}} | ||
|style="vertical-align:center; text-align:center; height:{{{bubble-size|128}}}px; width:{{{bubble-size|128}}}px; |[[File:{{{image|Warning_Missing_Icon.png}}}|{{{item-size|92}}}px|class=prizebubble-mask:after|{{{text}}}]] | |style="vertical-align:center; text-align:center; height:{{{bubble-size|128}}}px; width:{{{bubble-size|128}}}px; |[[File:{{{image|Warning_Missing_Icon.png}}}|{{{item-size|92}}}px|class=prizebubble-mask:after|{{{text|Prize Bubble}}}]] | ||
|} | |} | ||
</span>[[File:Bubble.png|{{{bubble-size|128}}}px|class=prizebubble-overlay]]</div></includeonly><noinclude> | </span>[[File:Bubble.png|{{{bubble-size|128}}}px|class=prizebubble-overlay]]</div></includeonly><noinclude> | ||
Line 34: | Line 34: | ||
Creates a prize bubble based on the image you specify, with adjustable item size. Do NOT include px after the size number. | Creates a prize bubble based on the image you specify, with adjustable item size. Do NOT include px after the size number. | ||
==Usage== | ==Usage== | ||
<code><nowiki>{{PrizeBubble|image=Item.png|bubble-size=128|item-size=92}}</nowiki></code> | <code><nowiki>{{PrizeBubble|image=Item.png|bubble-size=128|item-size=92|text=Hover Text}}</nowiki></code> | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |