Description Usage Arguments Value Note Warning See Also Examples
Given a card's color (or color identity), return the Alara
and/or Tarkir wedge assoicated with the card. By default, label_tri
requires the card to be both all the group's colors, but if
inclusive = TRUE
, cards with less than three colors are labeled with
all groups they could belong to.
1 2 |
color_code |
vector of characters of the card's color/color identity,
using WUBRG notation. Letters must be capital and in alphabetic order. If
using with |
inclusive |
if |
shard_or_wedge |
Should |
convert_to_list |
Should |
a vector of strings with all group(s) matching the color_code
cards with hybrid costs are treated as belonging to both colors, as though they were gold cards.
If you're using label_tri
inside
[dplyr]mutate
, you'll need to pair it with
[purrr]map
. Seevingette("using_label_functions")
.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.