Template:Image/storeinfo

{{#ifexist: Media:{{{1|}}}|{{#dplvar:set|_image_name|{{{1|}}}|_image_exist|1|_image_width|{{#imgw:{{{1|}}}}}|_image_height|{{#imgh:{{{1|}}}}}|_image_cached|{{#time:U}}}}{{#ifexpr:{{#dplvar:_image_width}}|{{#ifexpr:{{#dplvar:_image_height}}|{{#cargo_store:_table = Imageinfo|image={{#dplvar:_image_name}}|width={{#dplvar:_image_width}}|height={{#dplvar:_image_height}}|cached={{#dplvar:_image_cached}}}}}}|{{#dplvar:set|_image_name|{{{1|}}}|_image_exist||_image_width|0|_image_height|0|_image_cached|{{#time:U}}}}}} {{#cargo_attach:_table=Imageinfo}}