{"id":9172,"date":"2010-05-16T11:15:24","date_gmt":"2010-05-16T11:15:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/magic-the-gathering-card-tooltips\/"},"modified":"2025-12-24T14:10:58","modified_gmt":"2025-12-24T14:10:58","slug":"magic-the-gathering-card-tooltips","status":"publish","type":"plugin","link":"https:\/\/lmo.wordpress.org\/plugins\/magic-the-gathering-card-tooltips\/","author":6168461,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.8.0","stable_tag":"3.8.0","tested":"6.9.4","requires":"2.8.6","requires_php":"","requires_plugins":null,"header_name":"Magic the Gathering Card Tooltips","header_author":"Sebastian Zaha","header_description":"","assets_banners_color":"","last_updated":"2025-12-24 14:10:58","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/SebastianZaha\/wordpress_mtg_tooltips","header_author_uri":"https:\/\/deckbox.org","rating":4.2,"author_block_rating":0,"active_installs":100,"downloads":11770,"num_ratings":6,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"grimdonkey","date":"2010-05-16 11:18:03"},"1.0.1":{"tag":"1.0.1","author":"grimdonkey","date":"2010-05-16 11:54:03"},"1.0.2":{"tag":"1.0.2","author":"grimdonkey","date":"2010-05-16 12:09:25"},"1.0.3":{"tag":"1.0.3","author":"grimdonkey","date":"2010-05-26 11:40:20"},"2.0.0":{"tag":"2.0.0","author":"grimdonkey","date":"2010-08-10 15:25:06"},"3.0.0":{"tag":"3.0.0","author":"grimdonkey","date":"2012-01-29 16:24:06"},"3.0.1":{"tag":"3.0.1","author":"grimdonkey","date":"2012-01-29 16:56:47"},"3.0.2":{"tag":"3.0.2","author":"grimdonkey","date":"2012-01-31 20:13:16"},"3.0.3":{"tag":"3.0.3","author":"grimdonkey","date":"2012-07-18 15:36:16"},"3.1.0":{"tag":"3.1.0","author":"grimdonkey","date":"2013-01-29 21:37:06"},"3.1.1":{"tag":"3.1.1","author":"grimdonkey","date":"2013-10-30 11:24:08"},"3.1.2":{"tag":"3.1.2","author":"grimdonkey","date":"2013-10-30 12:28:54"},"3.1.3":{"tag":"3.1.3","author":"grimdonkey","date":"2015-10-06 14:10:18"},"3.1.4":{"tag":"3.1.4","author":"grimdonkey","date":"2016-08-15 10:49:42"},"3.1.5":{"tag":"3.1.5","author":"grimdonkey","date":"2016-09-30 13:39:31"},"3.1.6":{"tag":"3.1.6","author":"grimdonkey","date":"2016-09-30 13:43:04"},"3.1.7":{"tag":"3.1.7","author":"grimdonkey","date":"2019-05-06 19:29:48"},"3.2.0":{"tag":"3.2.0","author":"grimdonkey","date":"2022-07-25 10:50:49"},"3.3.0":{"tag":"3.3.0","author":"grimdonkey","date":"2023-07-28 15:42:40"},"3.4.0":{"tag":"3.4.0","author":"grimdonkey","date":"2024-09-26 18:20:55"},"3.5.0":{"tag":"3.5.0","author":"grimdonkey","date":"2025-01-22 14:17:27"},"3.6.0":{"tag":"3.6.0","author":"grimdonkey","date":"2025-02-02 14:01:13"},"3.7.0":{"tag":"3.7.0","author":"grimdonkey","date":"2025-12-24 13:24:20"},"3.8.0":{"tag":"3.8.0","author":"grimdonkey","date":"2025-12-24 14:10:58"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":1,"4":3,"5":2},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","2.0.0","3.0.0","3.0.1","3.0.2","3.0.3","3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.2.0","3.3.0","3.4.0","3.5.0","3.6.0","3.7.0","3.8.0"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":3426904,"resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":3426904,"resolution":"1","location":"plugin"}},"screenshots":{"1":"The mouseover effect","2":"An example of a really small deck listing, produced by the code shown in the description"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[16668,41717,16670,41718,24914],"plugin_category":[],"plugin_contributors":[86393],"plugin_business_model":[],"class_list":["post-9172","plugin","type-plugin","status-publish","hentry","plugin_tags-ccg","plugin_tags-deckbox","plugin_tags-magic-the-gathering","plugin_tags-mtg","plugin_tags-tcg","plugin_contributors-grimdonkey","plugin_committers-grimdonkey"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/magic-the-gathering-card-tooltips.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/magic-the-gathering-card-tooltips\/trunk\/screenshot-1.png?rev=3426904","caption":"The mouseover effect"},{"src":"https:\/\/ps.w.org\/magic-the-gathering-card-tooltips\/trunk\/screenshot-2.png?rev=3426904","caption":"An example of a really small deck listing, produced by the code shown in the description"}],"raw_content":"<!--section=description-->\n<p>The plugin adds shortcodes that transform mtg card names and decks to provide a mouseover image. For cards use the [mtg_card][\/mtg_card] shortcode (or the shortened version [c][\/c]). 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.<\/p>\n\n<p>A similar tag can be used to quickly create deck listings: [mtg_deck][\/mtg_deck] (or the shortened version [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 <em>not<\/em> include card numbers on the category name lines, they will automatically be computed and displayed by the plugin. A short example follows.<\/p>\n\n<p>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.<\/p>\n\n<pre><code>[d title=\"Really Small Deck\" style=\"embedded\"]\n    Creatures\n    2 Bloodbraid Elf\n    4 Grizzly Bears\n\n    Spells\n    4 Lightning Bolt\n\n    Sideboard\n    4 Cultivate\n[\/d]\n<\/code><\/pre>\n\n<p>The screenshot section includes an image of the above deck listing.<\/p>\n\n<p><strong>Embedded Card Display<\/strong>: Individual card shortcodes also support the embedded style, displaying the card image inline instead of as a tooltip:<\/p>\n\n<pre><code>[card style=\"embedded\"]Lightning Bolt[\/card]\n[c style=\"embedded\"]Tarmogoyf (FUT) 153[\/c]\n<\/code><\/pre>\n\n<p><strong>Arena Format Support<\/strong>: You can now paste deck lists directly from MTG Arena (or other compatible exports - like Moxfield) with set codes and collector numbers:<\/p>\n\n<pre><code>[deck]\n4 Lightning Bolt (M10) 146\n4 Mountain (FIN)\n2 Snapcaster Mage\n[\/deck]\n<\/code><\/pre>\n\n<p>The plugin will display only the card name and link to the specific printing when set code and number are provided. Set codes are case-insensitive. This format also works with the [card] shortcode: [card]Lightning Bolt (M10) 146[\/card]<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Head over to the \"Install Plugins\" section of your Admin Panel, and use the \"Upload\" link to install the zip file.<\/li>\n<li>Activate the plugin through the 'Plugins' menu.<\/li>\n<li>Manually write the [c] tags for cards, or add a shortcode block for decks ([d]).<\/li>\n<\/ol>\n\n<p>Alternatively, you can search for \"Magic the Gathering\" from the Admin panel Plugins section, select this plugin and click 'Install'.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='do%20you%20support%20other%20games%3F'><h3>Do you support other games?<\/h3><\/dt>\n<dd><p>Yes, there is a separate plugin for World of Warcraft TCG card tooltips, you can find it at <a href=\"http:\/\/wordpress.org\/extend\/plugins\/world-of-warcraft-card-tooltips\/\">http:\/\/wordpress.org\/extend\/plugins\/world-of-warcraft-card-tooltips\/<\/a>.<\/p><\/dd>\n<dt id='is%20the%203.0%20and%202.0%20version%20compatible%20with%20the%20older%20ones%3F'><h3>Is the 3.0 and 2.0 version compatible with the older ones?<\/h3><\/dt>\n<dd><p>Completely compatible: your old posts will remain the same as before, even though your new posts will use the tag syntax.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>3.8.0<\/h4>\n\n<ul>\n<li>Add embedded style support for individual card shortcodes<\/li>\n<li>Cards with style=\"embedded\" display the card image inline instead of as a tooltip<\/li>\n<li>Add rounded corners to card images for better visual appearance<\/li>\n<\/ul>\n\n<h4>3.7.0<\/h4>\n\n<ul>\n<li>Add support for MTG Arena deck format with set codes and collector numbers<\/li>\n<li>Cards can now specify exact printings using format: \"Card Name (SET) 123\"<\/li>\n<li>Display text shows only card name, links include set\/number for accurate tooltips<\/li>\n<li>Works in both deck listings and card shortcodes<\/li>\n<li>Test on latest wordpress (6.9)<\/li>\n<\/ul>\n\n<h4>3.6.0<\/h4>\n\n<ul>\n<li>Cleanup plugin options processing and sanitization. Use a nonce in the form.<\/li>\n<\/ul>\n\n<h4>3.5.0<\/h4>\n\n<ul>\n<li>Fix handling of the style attribute on deck tags<\/li>\n<li>Test on latest wordpress (6.7.1)<\/li>\n<\/ul>\n\n<h4>3.4.0<\/h4>\n\n<ul>\n<li>Rephrase the readme to refer to shortcode blocks in the visual editor, since newer wordpress versions do not have the old tinymce editor for which we had the icons.<\/li>\n<li>Test on latest wordpress (6.6.2)<\/li>\n<\/ul>\n\n<h4>3.3.0<\/h4>\n\n<ul>\n<li>Set table width to 100% for decks. max-width is still at 510px so it should\nnot change anything for existing users. The max-width can be set from\nthe plugin options to allow larger deckview sizes.<\/li>\n<\/ul>\n\n<h4>3.2.0<\/h4>\n\n<ul>\n<li>Fixed tooltips on mobile, updated wp compat to 6.0.<\/li>\n<\/ul>\n\n<h4>3.1.6<\/h4>\n\n<ul>\n<li>Improve responsiveness, do not force width in px. Move Lands by default to second column.<\/li>\n<\/ul>\n\n<h4>3.1.5<\/h4>\n\n<ul>\n<li>Improve responsiveness, do not force width in px. Move Lands by default to second column.<\/li>\n<\/ul>\n\n<h4>3.1.0<\/h4>\n\n<ul>\n<li>Added support for bbpress. Shortcodes are not working there by default.<\/li>\n<\/ul>\n\n<h4>3.0.3<\/h4>\n\n<ul>\n<li>Small fix: removed unnecessary echo<\/li>\n<\/ul>\n\n<h4>3.0.2<\/h4>\n\n<ul>\n<li>Added configuration options for font size and line height for deck listings<\/li>\n<\/ul>\n\n<h4>3.0.1<\/h4>\n\n<ul>\n<li>Small fixes to the embedded view.<\/li>\n<\/ul>\n\n<h4>3.0.0<\/h4>\n\n<ul>\n<li>Implement embedded view for decks (no floating card tooltips on mouseover, but the card image\nis present to the right of the listing)<\/li>\n<li>Add a few new shortcodes [c], [card], [d] and [deck]<\/li>\n<li>Add a customization option for the width of the deck listing display<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Rewrote the card button to use shortcode tags.<\/li>\n<li>Implemented deck listing support.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Button in editor was not showing. Now it works.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Cleanup header information in php file to correctly represent released version.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Test on newer Wordpress versions, cleanup readme file.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial plugin release<\/li>\n<\/ul>","raw_excerpt":"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  &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/9172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=9172"}],"author":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/grimdonkey"}],"wp:attachment":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=9172"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=9172"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=9172"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=9172"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=9172"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=9172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}