Access Keys:
Skip to content (Access Key - 0)

sudoku-highscores macro

Overview:

The {sudoku-highscores} macro displays high scores for the sudoku-js macro and sudoku macro...

When a user submits their Sudoku board, the scores are stored based on the difficulty setting (easy, medium, hard) of the game and the amount of time it took them to complete the board.

The {sudoku-highscores} macro is used to display the high scores - either for a specific person (the logged in user) or for everyone (within a space).

Parameters:

Add the macro to a page or personal profile as follows:

{sudoku-highscores:display=disp}
Parameter Type Required Default Notes
display enum automatic If you don't specify this parameter (as shown in Example 1 below) then the display will either be:
  • personal - if the macro is used in a user profile
  • leaderboard - if the macro is used elsewhere
    To override the automatic display, for example to show personal scores on a normal page, simply specify the desired value.

Examples:

Hints and Tips:

Use the sudoku-highscores macro to display a table of high scores on your site.

See Also:



Ask questions, get help and report bugs & issues on our Community Site

View old comments


Adaptavist Theme Builder Powered by Atlassian Confluence