<%doc> USAGE DOCUMENTATION :: PLEASE LEAVE THIS AT THE TOP OF THIS FILE For Mako templating syntax documentation please visit: http://docs.makotemplates.org/en/latest/ Filename: library_user_stats.html Version: 0.1 Variable names: data [array] data[array_index] :: Usable parameters == Global keys == friendly_name Returns the friendly name of the user. user_id Returns the user id of the user. user_thumb Returns the avatar of the user. total_plays Returns the play count for the user. DOCUMENTATION :: END % if data: % for a in data:

- % if a['user_id']:
  ${a['friendly_name']}
  % else:
  ${a['friendly_name']}
  % endif

  ### ${a['total_plays']}

  plays

% endfor % else:
No stats to show.
% endif