Card Converter

Card Converter Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 2,925 downloads
Card Converter Icon

Try plugin: Card Converter

We'll create fresh WordPress site with Card Converter installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Card Converter

Replace playing card abbreviations with a CSS playing card.

0


0


0


0


0

updated: 9 years ago
since: 19 years ago
author: Nick Momrik

Description

Replace playing card abbreviations with a CSS playing card.

Notes

  • Make sure to only use one card abbreviation in between each set of tags. If you want to display multiple cards, you will need to use multiple tags. This was done to allow unsuited cards and unranked cards to be used.
  • Uppercase and lowercase letters are both allowed for card abbreviations.
  • 10 is converted to T.
  • 1 is converted to A.
  • Both ? and X are allowed for card ranks. ? means you have no idea what a card was. X is meant for any “rag,” such as when people use the term AX suited they mean they had an Ace and a rag both of the same suit.
  • Unsuited cards are allowed.
  • Unranked suits are allowed. X will be used as the card rank.
  • I tested using <CARD> as the tag and WP automatically converted it to lowercase.
  • Using anything other than letters, numbers, or ? inside the tags will cause the plugin to skip over it.

Examples

  • Rank & Suit
    AcAd
    KCTC
  • Unsuited
    8j?
  • Unranked
    Ch
  • Invalid cards
    V
    0
    Ph
    Eb
    ch
    1ds