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)
rank user pages owned percentage
1.  DarTar 65 15.9%
2.  BrianKoontz 64 15.7%
3.  YanB 45 11%
4.  VincentMayoux 37 9.1%
5.  NilsLindenberg 5 1.2%


{{highscores style="simple"}}

1.  DarTar 65 15.9%
2.  BrianKoontz 64 15.7%
3.  YanB 45 11%
4.  VincentMayoux 37 9.1%
5.  NilsLindenberg 5 1.2%


{{highscores rank="edits"}}

Top 10 contributor(s)
rank user edits percentage
1.  DarTar 880 36.1%
2.  BrianKoontz 553 22.7%
3.  YanB 374 15.3%
4.  VincentMayoux 320 13.1%
5.  NilsLindenberg 159 6.5%
6.  WikkaInstaller 37 1.5%
7.  DotMG 25 1%
8.  JavaWoman 19 0.8%
9.  TormodHaugen 7 0.3%
10.  ChrisCase 3 0.1%


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

Top 3 contributor(s)
rank user edits percentage
1.  DarTar 880 36.1%
2.  BrianKoontz 553 22.7%
3.  YanB 374 15.3%





Authors
Chriss Tessmer
Dario Taraborelli


CategoryEN
There are 5 comments on this page. [Show comments]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki