Wikka Documentation : HighscoresActionInfo

HomePage :: Index :: RecentChanges :: Search :: Login/Register

Highscores Action Documentation

This the documentation page for the {{highscores}} action.

Documentation


Displays a list of top contributors. Since 1.1.6.4 contributors can be ranked by different metrics: number of pages owned, edits or comments.

Long description
This action displays a table with users ranked after the quantity of their contributions to the wiki. After the username, the number of contributions and their percentage over the whole wiki is displayed.

Usage:
{{highscores [top="20"] [rank="edits"] [style="complex"]}}

Parameters

since 1.1.6.4

Parameters
nametyperequired?defaultdescription
topintoptional10the number of rows to be displayed
rankstringoptionalpagesselect the metric used to rank contributors (pages, edits, comments)
stylestringoptionalcomplexdisplays a simple table (simple) or a table with caption and headers (complex)

Examples:

{{highscores}}

Top 5 contributor(s) by number of pages owned
rank user pages owned percentage
1.  BrianKoontz 62 15.5%
2.  DarTar 57 14.2%
3.  YanB 45 11.2%
4.  VincentMayoux 37 9.2%
5.  NilsLindenberg 5 1.2%


{{highscores style="simple"}}

1.  BrianKoontz 62 15.5%
2.  DarTar 57 14.2%
3.  YanB 45 11.2%
4.  VincentMayoux 37 9.2%
5.  NilsLindenberg 5 1.2%


{{highscores rank="edits"}}

Top 10 contributor(s) by number of edits
rank user edits percentage
1.  DarTar 880 36.6%
2.  BrianKoontz 531 22.1%
3.  YanB 374 15.5%
4.  VincentMayoux 320 13.3%
5.  NilsLindenberg 159 6.6%
6.  DotMG 25 1%
7.  JavaWoman 19 0.8%
8.  TormodHaugen 7 0.3%
9.  ChrisCase 3 0.1%
10.  OlivierBorowski 1 0%


{{highscores rank="edits" top="3"}}

Top 3 contributor(s) by number of edits
rank user edits percentage
1.  DarTar 880 36.6%
2.  BrianKoontz 531 22.1%
3.  YanB 374 15.5%





Authors
Chriss Tessmer
Dario Taraborelli


CategoryEN
There are 5 comments on this page. [Show comments]
Creative Common Attribution-ShareAlike License
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0249 seconds