Help:Card tags

From Magic: The Gathering Wiki
Jump to navigation Jump to search

Card tags produce a link to a Scryfall page for a specified Magic card. Unlike ordinary hyperlinks, these links have a visually distinct underline, and offer a tooltip card image when a reader hovers over the link.

Card template

Use of the {{card}} template is preferred. It offers several options to select a specific printing of a card, which can be important if the artwork or Oracle text of the card is changed in later printings.

The template can also change the link text to something other than the name of the card. This may occasionally be useful, but should generally be avoided. Readers should be able expect that links displaying card names generally offer tooltips and lead to Scryfall, while other texts link to wiki articles. Changing the text of a card link violates that expectation.

  1. {{card|Jace Beleren}}
  2. {{card|Jace Beleren|Lorwyn}}
  3. {{card|Jace Beleren|Promo|PMEI}}
  4. {{card|Jace Beleren||PMEI}}
  5. {{card|Golgari Guildgate|Guilds of Ravnica|#=248}}
    {{card|Golgari Guildgate|Guilds of Ravnica|#=249}}
  6. {{card|Black Lotus|title=a lotus which is black}}

Bare tagging

It is also possible to write a "bare" card link using the c tag. The {{card}} template produces c tags internally.

  1. <c>Black Lotus</c>

Through the Omenpaths

Mouseover previews don't work for Through the Omenpaths cards unless you take extra steps. There are two possible workarounds.

  • Broken: <c>Fleem, Goben's Creation</c> or {{card|Fleem, Goben's Creation}}
  • Workaround 1: Use the original card name, override it with "title", and specify the set code.
    • {{card|Green Goblin|title=Fleem, Goben's Creation||OM1}} or <card set="OM1" title="Fleem, Goben's Creation">Green Goblin</card>
    • Fleem, Goben's Creation
    • Works with every card
  • Workaround 2: Specify the set code and collector number.
    • <c set="OM1" number="30">Fleem, Goben's Creation</c> or {{card|Fleem, Goben's Creation||OM1|#=30}}
    • Fleem, Goben's Creation
    • Does not work with the front faces of double-faced cards, but works with every other card

See also

Note

The c tag is not defined in HTML, but is instead recognized and parsed by the ScryfallLinks MediaWiki extension.