MTG Utilities: Cards and Decks

The coding for making card links and deck lists is completed. This page will teach you how to use them in your posts. Besides typing the shortcodes, you can also use the corresponding buttons on the toolbar when creating or editing your post.

CARD LINKS

To make links to cards, enclose the card name with [ card] [/card] tags. As a result, the reader will see the card name as a link to an online card database. (Default is magiccards.info. This option can be modified by the WordPress admin.)
Ex.
[ card]Lord of Atlantis[/card] becomes Lord of Atlantis

Alternate Name

An optional attribute is ‘alt’. You use it when you want to display some other text besides the card name. Syntax is like this:
[ card alt=”Displayed Text”]Card name[/card]
Ex.
[ card alt=”Finkel”]shadowmage infiltrator[/card] becomes Finkel

Card Image

Users can hover the mouse over the card link to display a pop-up image of the card. An author can also display an image of the card on the page by using the optional attribute ‘image=1’. (This option must be enabled by the WordPress admin.)
[ card image=1]Card name[/card]
Ex.
[ card image=1]Lord of Atlantis[/card] becomes

DECK LISTS

You can insert a deck list neatly into your post with the [ deck] [/deck] tags. Put the amount (optional) and name of each card on its own line and it will turn into a link. Separate sections with a blank line. Sections are distributed as evenly as possible across two columns–if odd sections, the middle section appears in the left column. Just write ‘Sideboard’ on its own line to begin a sideboard. You can comment each card with two hyphens — or curly brackets {} after the card. Double slash // at the beginning of a line also becomes a bolded comment (suitable for section headers). Use the optional ‘title’ attribute to give your deck a name.
Ex.
[ deck title=”Amuseum’s Deck”]
// Lands
20 Island {by Terese Nielsen}

// Creatures
4 Lord of Atlantis –Melissa Benson original pls.

// Spells
4 Counterspell

// Sideboard
Flashfreeze
Gainsay
Tidebinder Mage

[/deck]

produces this:

Amuseum's Deck
Lands
20 Island {by Terese Nielsen}

Creatures
4 Lord of Atlantis --Melissa Benson original pls.
Spells
4 Counterspell
Sideboard
Flashfreeze
Gainsay
Tidebinder Mage

Ex. a deck copied from MWS deck directly (this plugin hides extraneous code used by MWS format, so it’s safe to just copy and paste the whole thing from the text file.)

Jace's Deck
Lands
3 Tropical Island
2 Bayou
1 Underground Sea
1 Dryad Arbor
1 Volrath's Stronghold
1 Wasteland
4 Misty Rainforest
3 Polluted Delta
1 Verdant Catacombs
1 Snow-Covered Island
1 Snow-Covered Forest
1 Snow-Covered Swamp

Creatures
4 Noble Hierarch
3 Tarmogoyf
2 Eternal Witness
1 Progenitus
Spells
3 Jace, the Mind Sculptor
3 Natural Order
3 Green Sun's Zenith
4 Force of Will
4 Mental Misstep
4 Brainstorm
2 Intuition
1 Life from the Loam
3 Dismember
2 Go for the Throat
1 Maelstrom Pulse
Sideboard
3 Pernicious Deed
4 Extirpate
2 Spell Pierce
3 Krosan Grip
3 Damping Matrix
Liked it? Take a second to support amuseum on Patreon!

4 thoughts on “MTG Utilities: Cards and Decks”

Leave a Reply

Your email address will not be published. Required fields are marked *

*