Template:Item: Difference between revisions
Jump to navigation
Jump to search
→Odd Size Image: Added more information and an example without.
imported>Deantwo (Added a "oddsizeimage" option, because I am freaking tired of images breaking when using the template.) |
imported>Deantwo (→Odd Size Image: Added more information and an example without.) |
||
Line 94: | Line 94: | ||
===Odd Size Image === | ===Odd Size Image === | ||
If an image is bigger than 50px they will break, setting "oddsizeimage=true" will override this. | |||
'''Without setting "oddsizeimage":''' | |||
<nowiki>{{Item</nowiki> | |||
<nowiki>|bgcolor1 = #cce6ff</nowiki> | |||
<nowiki>|bgcolor2 = #99ccff</nowiki> | |||
<nowiki>|name = Particle Accelerator</nowiki> | |||
<nowiki>|image = ParticleAccelerator.gif</nowiki> | |||
<nowiki>}}</nowiki> | |||
{{Item | |||
|bgcolor1 = #cce6ff | |||
|bgcolor2 = #99ccff | |||
|name = Particle Accelerator | |||
|image = ParticleAccelerator.gif | |||
}} | |||
'''With setting "oddsizeimage":''' | |||
<nowiki>{{Item</nowiki> | <nowiki>{{Item</nowiki> | ||
<nowiki>|bgcolor1 = #cce6ff</nowiki> | <nowiki>|bgcolor1 = #cce6ff</nowiki> | ||
Line 100: | Line 120: | ||
<nowiki>|image = ParticleAccelerator.gif</nowiki> | <nowiki>|image = ParticleAccelerator.gif</nowiki> | ||
<nowiki>|oddsizeimage = true</nowiki> | <nowiki>|oddsizeimage = true</nowiki> | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
Line 112: | Line 128: | ||
|image = ParticleAccelerator.gif | |image = ParticleAccelerator.gif | ||
|oddsizeimage = true | |oddsizeimage = true | ||
}} | }} | ||
</noinclude> | </noinclude> |