{{$photoCount = $item->imageObjects() ? \count( $item->imageObjects() ) : 0;}} {{$staff = \IPS\Member::load( $item->added_by );}} {{$itemUrl = ( $item->object() instanceof \IPS\Content\Item ) ? $item->object()->url( "getPrefComment" ) : $item->object()->url();}}
{{if $photoCount}} {{$firstPhoto = $item->imageObjects()[0];}} {$item->ourPicksTitle} {{endif}} {{if $photoCount > 1}}
    {{foreach $item->imageObjects() as $file}}
  • {{endforeach}}
{{endif}}
{{if $text = $item->getText('internal', true)}}
{$text|raw}
{{endif}}
    {{if $item->objectReactionClass AND \IPS\IPS::classUsesTrait( $item->objectReactionClass, 'IPS\Content\Reactable' ) and settings.reputation_enabled}}
  • {template="reactionOverview" group="global" app="core" params="$item->objectReactionClass, FALSE"}
  • {{endif}} {{if $counts = $item->objectDataCount}}
  • {$counts['words']}
  • {{endif}}