Template:Infobox item: Difference between revisions

Set defaultimageclass to pixel-image to do nearest neighbor scaling on item images
m not needed
Line 1: Line 1:
<includeonly>{{#invoke:infobox|infobox
{{#invoke:infobox|infobox
| defaultimagesize = 160px
| defaultimagesize = 160px
| defaultimageclass = pixel-image
| defaultimageclass = pixel-image
Line 10: Line 10:
{{ #if: {{{heals|}}} | {{infobox row|label=[[Food|Restores]]|field={{{heals}}} }} }}
{{ #if: {{{heals|}}} | {{infobox row|label=[[Food|Restores]]|field={{{heals}}} }} }}
{{ #if: {{{effects|}}} | {{infobox row|label=[[Status effect]]s|field={{{effects}}} }} }}
{{ #if: {{{effects|}}} | {{infobox row|label=[[Status effect]]s|field={{{effects}}} }} }}
}}</includeonly><noinclude>
}}<noinclude>
<!-- categories/interwikis on the /doc subpage, not here -->
<!-- categories/interwikis on the /doc subpage, not here -->
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>