Not a developer? Go to MovableType.com

Documentation

AssetScoreAvg

A function tag that provides the avarage score of the asset in context. Scores grouped by namespace of a plugin are summed to calculate total score of an asset, and average is calculated by dividing the total score by the number of scorings or 'votes'.

Attributes:

  • namespace (required)

    Specify namespace for avarage score to be calculated. Namespace is defined by each plugin which leverages rating API.

Example:

    <$mt:AssetScoreAvg namespace="FiveStarRating"$>
Back

Leave a Comment