Changes

Jump to navigation Jump to search

Template:ItemBox

234 bytes added, 01:11, 27 April 2015
check for image
|-
|
<!-- Check for image. If pagename.jpg doesn't exist use it. If pagename.jpg does not exists check for pagename.png and use that if it exists.Also, add png otherwise display "Needs Image" 's to a category so we can see what images need to be converted. Finally, if both pagename.jpg and pagename.png don't exist add the pagename to a category listing of missing images -->
{{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.jpg}}}
| [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|120x120px|A {{{name|{{PAGENAME}}}}}]]
| {{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.png}}}
| [[Image: {{{image|{{{name|{{PAGENAME}}}}}.png}}}|center|120x120px|A {{{name|{{PAGENAME}}}}}]] [[Category:png convert]] | [[Image: {{{Category:needs jpg image|{{{name|{{PAGENAME}}}}}Needs image.]] [[Category:needs jpg}}}|center|120x120px|A {{{name|{{PAGENAME}}}}}image]]
}}
}}
380

edits

Navigation menu