Template:MTG/doc

 is a template taken from the Magic: The Gathering wiki that creates a link to Scryfall (a database of MTG cards) that displays the card's artwork when hovered over. For example, becomes.

The syntax is as follows:



|card name= is the name of the card, exactly as it appears on the card. |set name= is the card's set's pagename on the Magic: The Gathering wiki. This defaults to "Doctor Who" so can usually be omitted. |scryfall set code= is for the set's code on Scryfall. It defaults to "WHO" so can usually be omitted. |#= is the card's collectors number as it appears on Scryfall and can be used for displaying alternate artwork. |title= lets you override the card's title as it appears in the link.

Examples

 *   :
 *   :
 *   :
 *  </tt> :
 *  </tt> :
 *  </tt> :
 *  </tt> :
 *  ' </tt> : '
 *  </tt> :
 *  </tt> :

Technical details
This template uses Extension:ScryfallLinks.

Template data
{	"params": { "1": {			"label": "Card Name", "description": "The name of the card.", "example": "The Fourth Doctor; Davros, Dalek Creator; Mountain", "type": "string", "required": true },		"2": {			"label": "Set Name", "description": "The name of the set the card appeared in. Defaults to 'Doctor Who'.", "example": "Doctor Who; Limited Edition; Shadows over Innistrad; Theros: Beyond Death; Magic 2015", "type": "string", "suggested": false },		"3": {			"label": "Scryfall Set Code", "description": "The set's code as it appears on Scryfall. Defaults to 'WHO'.", "example": "WHO, LEA, SOI, TAKH, PKTK", "type": "string" },		"title": { "label": "Display Name", "description": "Override the card name in the link with custom text.", "example": "Davro's MTG card", "type": "string" },		"#": {			"label": "Collector Number", "description": "The collector number as it appears on Scryfall. Usefull for choosing a card with specific art.", "example": "13, 41f", "type": "string" }	},	"description": "Creates an external link to a specific card on Scryfall that displays the card's art when hovered over.", "format": "inline" }