MTG Card Popup

Component ID

1565862

Component name

MTG Card Popup

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Allows you to have Magic the Gathering card images as popups for card links.

It is implemented as a text format filter.

Installation

  • Download the jQuery Cluetip plugin and extract it to sites/all/libraries/jquery-cluetip. The jquery.cluetip.min.js file should be at sites/all/libraries/jquery-cluetip/jquery.cluetip.min.js.
  • Install and enable this module.
  • Go to the text format you wish to enable the filter for.
  • Make sure the "Convert autocard tags to popups." checkbox is checked.

Usage

Once enabled and configured for a text format card links can be created by surrounding the card name with [card][/card].
For example to create a link to the card Fog you would enter [card]Fog[/card].

You can have different display text for the link by entering it as [card=Lightning Bolt]Bolt[/card].
This will create a link with the displayed text Bolt that will pop up an image of Lightning Bolt.

Special characters can be used such as [card]Æther Vial[/card], [card]Glissa, the Traitor[/card], or [card]Kaboom![/card].

Split cards are entered by separating card names by double slashes such as [card]Fire // Ice[/card]