plugin-icon

Magic the Gathering Card Tooltips

Easily transform Magic the Gathering card names into links that show the card image in a tooltip when hovering over them. You can also quickly create …
Puanlar
4.2
Son güncellenme
July 28, 2023
Sürüm
3.3.0
Aktif kurulumlar
200

The plugin adds a button in the visual post editor. To use it, just select the text that represents a Magic the Gathering card name and click the button. The card name will be enclosed in [mtg_card][/mtg_card] tags (or the shorthand [c][/c] tag). When viewing the post, the card name will show up as a link to the card’s page on https://deckbox.org . Hovering over the link will show the card’s image in a tooltip.

A similar tag can be used to quickly create deck listings: [mtg_deck][/mtg_deck] (or the shorthand [d][/d]). A deck listing should contain a list of cards and categories. All cards have a number before their name. All other lines are interpreted as category names. Do not include card numbers on the category name lines, they will automatically be computed and displayed by the plugin. A short example follows.

The default style for displaying decks is a card listing with each card having a mouseover tooltip. This style can be changed to an embedded view, where the listing has a card image to the right of the deck. This can be toggled in the plugin settings for all decks, or specifically for a deck by setting the style attribute to the tag, as can be seen below.

[d title="Really Small Deck" style="embedded"] Creatures 2 Bloodbraid Elf 4 Grizzly Bears Spells 4 Lightning Bolt Sideboard 4 Cultivate [/d]

The screenshot section includes an image of the above deck listing.

ÜcretsizCreator paketinde
Yükleme işlemini tamamlayarak, WordPress.com'un Hizmet Şartları ile Üçüncü Taraf Eklenti Şartlarını kabul etmiş olursunuz.
Aktif kurulumlar
200
Test edilen son sürüm
6.3.0
Bu eklenti, WordPress tarafından barındırılan kurulumunuzda kullanılmak üzere indirilebilir.