Table of Contents
mtg Plugin
Compatible with DokuWiki
Greebo
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Installation
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
Examples/Usage
A simple card reference:
{{mtg:Grapeshot}}
Some more complex card references:
{{mtg:Grapeshot|TSP}}
The above will create a link to WotC's Gatherer for Grapeshot and a hover image for the Time Spiral printing.
{{mtg:Boros Charm|GTC}}
The above will create a link to WotC's Gatherer for Boros Charm and a hover image for the Gatecrash printing.
Syntax
Basic syntax:
{{mtg:cardname}}
- cardname must be the exact name of any MtG card
Complete syntax
{{mtg:cardname|edition}}
- cardname must be the exact name of any MtG card
- |edition is optional, if present is the three letter edition code (TSP for time spiral)
Configuration and Settings
Both the URL (a tag) and image (img tag) HTML references are assigned the mtg class for CSS adjustments.
Development
Change Log
- strip characters Scryfall doesn't support (2018-08-19 04:43)
- ensure floating card image is above toc (2018-08-19 04:37)
- Initial commit (2018-08-19 04:32)