CardPrices.io Card Links

Description

For deck guides, set reviews and tier lists. Type a card name in double brackets and it links to that card’s price page on CardPrices.io, with the art and current market price on hover.

  • [[Ash Blossom & Joyous Spring]] links a card from your default game.
  • [[pokemon:Charizard ex]] links a card from another game.
  • Names that match no card stay plain text, so a typo never makes a broken link.
  • Links are written into your page’s HTML, not added later by JavaScript.
  • [cardprices_card name="Dark Magician" code="LOB-005"] embeds a live price widget with a 30-day chart.

Supported games: Yu-Gi-Oh!, Pokémon, Pokémon Japan, Magic: The Gathering, One Piece, Lorcana, Digimon, Dragon Ball Super Fusion World, Dragon Ball Z, Flesh and Blood, Star Wars Unlimited, Riftbound, Gundam, Union Arena, Cardfight!! Vanguard, Weiss Schwarz, Shadowverse, Sorcery, Grand Archive, Force of Will, Battle Spirits Saga, Gate Ruler, hololive and WIXOSS.

Prices are TCGplayer Near Mint market prices and update daily.

External services

This plugin uses the CardPrices.io service (https://cardprices.io), which is run by the plugin’s author.

  • When a post containing [[Card Name]] is shown, the plugin asks https://cardprices.io/embed/{game}/preview/{card name} whether the card exists and for its page address. Only the game and card name are sent. Answers are cached on your site for a week.
  • With hover previews on, a reader’s browser asks the same address for the card’s art and price when they hover a card link. The request carries the reader’s IP address and browser details, as any web request does. Card images load from the CardPrices.io image servers.
  • The price widget shortcode embeds https://cardprices.io/embed/{game}/card/{card name} in an iframe.

CardPrices.io does not set cookies or track readers through these requests.
Terms of service: https://cardprices.io/terms-and-conditions
Privacy policy: https://cardprices.io/privacy

Installation

  1. Install and activate the plugin.
  2. Go to Settings CardPrices.io Card Links and pick your default game.
  3. Write [[Card Name]] in any post.

FAQ

Does it slow my pages down?

Each card name is looked up once and cached for a week. A page view checks at most 20 new names; any beyond that are linked without checking and looked up on a later view. The preview script is about 4 KB gzipped and loads asynchronously.

Can I turn off the hover preview?

Yes, in Settings CardPrices.io Card Links. The links stay.

What about cards whose names contain a colon?

Only a supported game id before the colon is read as a game, so [[Number 39: Utopia]] works as written.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“CardPrices.io Card Links” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • First release.