mycred_scratch_cards_remaining

Codex / mycred/game / Shortcodes / mycred_scratch_cards_remaining

Description

This shortcode shows a table with the remaining scratch cards in a set.

Requires the Scratch Cards add-on to be installed and enabled.

Available since version 1.0

Shortcode Attributes

Attribute Type Required Default Description
set int Yes - The Card Set ID to run in this shortcode.

CSS Styling

.scratch-card-setup-table { }
th.mycred-scratch-card-value { }
th.mycred-scratch-card-remaining { }

Example

Example 1: Default usage.

[mycred_scratch_cards_remaining set=123]

Last edited June 23, 2016