mycred_lottery_winnings

Codex / mycred/game / Shortcodes / mycred_lottery_winnings

Description

This shortcode allows you to show how many points users can win for the nominated lottery.

Requires the Lottery add-on to be installed and enabled.

Available since version 1.2

Shortcode Attributes

Attribute Type Required Default Description
id int Yes - The lottery ID to show.

CSS Styling

// Results table
table#mycred-lottery-winnings { }

// Columns
table#mycred-lottery-winnings th.correct-picks { }
table#mycred-lottery-winnings th.prize { }
table#mycred-lottery-winnings th.no-winners { }

Example

Example 1: Default usage.

[mycred_lottery_winnings id=123]

Last edited June 23, 2016