Template:Infobox keyword

From MTG Wiki
Revision as of 14:08, 23 April 2023 by >Jerodast (→‎Syntax: Aligned documentation a bit more evenly, added blank stats template for easier usage, clarified N/cost params, switched template links to use nicer template, ordered some params more intuitively)
Jump to navigation Jump to search
Infobox keyword
Keyword Ability
Introduced [[]]
Last used [[]]
Reminder Text Infobox keyword
Scryfall Search
keyword:"Infobox keyword"

Syntax

This template is used on pages for a keyword ability. It is derived from {{Infobox mechanic}}.

Use {{Infobox action}} for keyword actions.

Recommended to use {{stats}} in stats parameter.

{{Infobox keyword
| name =  (optional, if different from page name)
| icon =  (optional, image name for Duels or Arena icon)
| icon2 = (optional, 2nd image name for Duels or Arena icon)
| type =  Activated|Characteristic|Evasion|Spell|Static|Triggered (REQUIRED)
| type2 = (optional, some keywords have a second type, Graft for example)
| type3 = (optional, some keywords have a third type, Vanishing for example)
| first =      (REQUIRED: first set this keyword was officially used in)
| 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)
| before =   (optional, add extra info before the name)
| extra =    (optional, add extra info before the reminder)
| reminder = (RECOMMENDED: official reminder text, ideally from printed cards, or other official sources like Arena)
| N =     (optional, N=yes or N=N means the keyword uses a number after its name which varies each usage, e.g. Crew 1 or Crew 6)
| cost =  (optional, cost=yes means the keyword has a cost after its name which varies each usage, e.g. Kicker {2}{R} or Kicker-Sacrifice a land)
| stats = {{stats|W=|U=|B=|R=|G=|A=|L=|C=|M=}} (RECOMMENDED: statistics of cards using the keyword)
| search =     (optional, use to refine Scryfall search)
| searchtype = (optional, can be used to modify the search type, defaults to keyword unless specified)
| enclose =    (optional, encloses Scryfall search with this character, defaulting to "; set to / to use regular expressions)
| name2 =     (optional, used when a keyword very similar to the original one is introduced, i.e. morph and megamorph)
| before2 =   (optional, add extra info before the name2)
| extra2 =    (optional, add extra info before the reminder2)
| reminder2 = (optional, the reminder text for the name2 ability)
| search2 =   (optional, use to refine Scryfall search for the name2 ability)
| storm =     (optional, current rating on the Storm Scale)
| storm_ref = (optional, reference for current Storm Scale rating)
}}