MTG Wiki
Advertisement
Infobox mechanic
Mechanic
Introduced [[{{{first}}}]]
Last used [[{{{first}}}]]
Scryfall Search
oracle:"Infobox mechanic"

Syntax

{{Infobox mechanic
| name = (optional, if different from page name)
| name2 = (optional, for different second name}
| icon = (optional if exists: Duels [name] symbol.png)
| icon2 = (optional if exists: Duels [name] symbol.png)
| type = (if keyword: Activated|Characteristic|Evasion|Spell|Static|Triggered)
| first = 
| first_mech = (optional, use to identify when the keyword's mechanic was introduced, even if it wasn't a keyword yet (such as Fear or Shroud))
| last = (optional, if different from first)
| text =
| notext = (optional, if there is no official reminder text available)
| text_type = (default: Reminder, can be changed if reminder text is not applicable)
| stats =
| search = (optional, use to refine scryfall search. May be wrapped in double straight quotation marks if white space is needed at the beginning or end of the search term, e.g. "enchant ")
| search2 = (optional, use to refine different second scryfall search)
| enclose = (optional, can be used to modify the search terms. / enables regular expressions)
| searchlabel = (optional, can customize label for search, does not include "s by default)
| searchlabel2 = (optional, can customize label for search2)
}}

This template is used summarize game mechanics for the primary infobox used on the corresponding page. It is used by several other templates for more specific types of mechanics, like [[Template:Keyword]] and [[Template:Action]].

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

Name of the mechanic, preferably concise and/or from an official source

Default
The page on which the template is used is assumed to be the mechanic's name if none is provided
Lineoptional
name2name2

Name of second mechanic that is a variation of the main mechanic

Example
Megamorph
Stringoptional
iconicon

Image file name for an icon representing this mechanic, for instance from Duels or Arena

Default
May check if an image exists which is named after the mechanic in a specific format
Fileoptional
icon2icon2

Image file name for a 2nd icon representing this mechanic, for instance from Duels or Arena

Default
May check if an image exists which is named after the mechanic in a specific format
Fileoptional
infoboxinfobox

no description

Unknownoptional
typetype

no description

Unknownoptional
First functional usefirst_mech

First set in which the mechanic appeared functionally. Only use if mechanic was keyworded later.

Example
Alpha
Page nameoptional
First appearancefirst

First set in which this mechanic appeared. If a keyword, first set in which the keyword itself was defined.

Example
Champions of Kamigawa
Page namerequired
Last appearancelast

Most recent set in which mechanic was used, if used in more than one set.

Default
Same as the "first" set (assumes it was never re-used)
Example
Evergreen, Modern Horizons
Page namesuggested
text_typetext_type

no description

Unknownoptional
notextnotext

no description

Unknownoptional
Card texttext

Card text used with this mechanic, possibly in a generalized format if it is templated in several ways or has "blanks" to fill in.

Example
Exile target [permanent], then return that card to the battlefield...
Stringsuggested
Storm Scale ratingstorm

Official rating by Mark Rosewater on his Storm Scale

Example
8
Numberoptional
Storm referencestorm_ref

Link to the tweet, tumblr, blog post, or other content from Mark Rosewater in which he gave the Storm Scale rating.

Example
https://magic.wizards.com/en/articles/archive/making-magic/storm-scale-mirrodin-and-scars-mirrodin-blocks-2018-06-11
URLoptional
Color statisticsstats

Statistics on which colors this mechanic appears with. Highly recommended to use [[Template:Stats]].

Example
{{stats|C=1|W=2|U=3|B=4|R=5|G=6|M=7|A=8|L=9}}
Linesuggested
Search querysearch

Search to use to find cards with this mechanic in their Oracle text, such as on Gatherer or Scryfall.

Default
The mechanic name is searched if no other is provided. Sometimes this is undesirable, such as when the name is informal and doesn't appear in card text; manually set the field to blank in that case.
Unknownsuggested
Search enclosure markenclose

Punctuation mark to wrap search term in. Allows use of / for regular expressions

Default
"
Example
/ or "
Unknownoptional
search2search2

no description

Unknownoptional
Advertisement