Anonymous

Template:ItemBox: Difference between revisions

From Melvor Idle
Use infobox class
(Amend category to return 'None' if no category is found)
(Use infobox class)
Line 3: Line 3:
Based on [[Template:Item]], but pulling data from [[Module:Items/data]] filtered through [[Module:Items]]
Based on [[Template:Item]], but pulling data from [[Module:Items/data]] filtered through [[Module:Items]]


<onlyinclude><includeonly>{{#vardefine:item|{{{1|{{PAGENAME}}}}}}}{| class="wikitable"  style="float:right; clear:right; max-width:250px; margin-left:10px"
<onlyinclude><includeonly>{{#vardefine:item|{{{1|{{PAGENAME}}}}}}}{| class="wikitable infobox"
|-  
|-  
! {{#var:item}}
! {{#var:item}}