1 {assign var='topReaction' value=$__wcf->getReactionHandler()->getTopReaction($cachedReactions)}
3 {if $render === 'tiny'}
4 <span class="topReactionTiny jsTooltip" title="{lang reaction=$topReaction[reaction] count=$topReaction[count] other=$topReaction[other]}wcf.like.reaction.topReaction{/lang}">
5 {@$topReaction[reaction]->renderIcon()}
6 <span class="reactionCount">{$topReaction[count]|shortUnit}</span>
8 {elseif $render === 'short'}
9 <span class="topReactionShort jsTooltip" title="{lang reaction=$topReaction[reaction] count=$topReaction[count] other=$topReaction[other]}wcf.like.reaction.topReaction{/lang}">
10 {@$topReaction[reaction]->renderIcon()}
11 <span class="reactionCount">{$topReaction[count]|shortUnit}</span>
13 {elseif $render === 'full'}
14 <span class="topReactionFull">
15 {@$topReaction[reaction]->renderIcon()} {lang reaction=$topReaction[reaction] count=$topReaction[count] other=$topReaction[other]}wcf.like.reaction.topReaction{/lang}