#if ($attachmentcount > 0)
$attachmentcount
#end
#set( $views = $mediaarchive.getAssetStatsManager().getViewsForAsset($asset))
$views
#if ($asset.getKeywords().size() > 0)
[[Tags]]
#foreach ($tag in $asset.getKeywords())
#if ( ${foreach.count} <= 10 )
$tag
#elseif ( ${foreach.count} == 11 )
...
#end
#end
#end
#if ($asset.getCategories().size() > 0)
[[Categories]]
#foreach ($category in $asset.getCategories())
#if ( ${foreach.count} <= 8 )
$category
#elseif ( ${foreach.count} == 9 )
...
#end
#end
#end
#set($contact = $mediaarchive.getSearcher("contact").query().exact("thumbnail", $asset.id).searchOne())
#if($contact)
[[Contact]]
$contact
#end
#if($canviewshoppingcart)
#if($asset.shoppingcartlink)
[[Shopping Cart]]
$pages.include("/$applicationid/views/modules/asset/editor/editshoppingcart/shoppingcartbutton.html",$context)
#end
#end