{template="embedHeader" group="embed" app="core" params="$comment, $item->mapped('title'), $comment->mapped('date'), $url"}
{{if $image}}
{{$useImage = $image;}}
{{elseif $contentImage = $item->contentImages(1)}}
{{$attachType = key( $contentImage[0] );}}
{{$useImage = \IPS\File::get( $attachType, $contentImage[0][ $attachType ] );}}
{{endif}}
{{if $useImage}}
{{endif}}
{template="embedOriginalItem" group="embed" app="core" params="$item"}
{$comment->truncated(TRUE)|raw}
{{if settings.reputation_enabled and \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and \count( $comment->reactions() )}}
-
{template="reactionOverview" app="core" group="global" params="$comment, TRUE, 'small'"}
{{endif}}