Template:Infobox mechanic

From Magic the Archiving
Jump to navigation Jump to search

<infobox>

 <title source="title1"/>
 <image source="image1">

</image> <group> <header source="header1">Section Header</header> </group> </infobox>

Infobox mechanic
Mechanic
Introduced [[{{{first}}}]]
Last used [[{{{first}}}]]
Scryfall Search
Template:Scryfall search

Description[edit]

This template is used as the primary infobox on pages for game mechanics, summarizing its key details. It is used by several other templates for more specific types of mechanics:

This template should be used directly on pages for mechanics that don't fit into those subcategories.

Using this template or its subtemplates automatically categorizes the page it's used on, like Category:Miscellaneous mechanics.

Syntax[edit]

{{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 = (required. First set mechanic was used. First set it was used by name, if it is a keyword mechanic.)
| 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 ")
| searchtype = (optional, can be used to modify the search type, e.g. oracle, keyword, or flavor. Default is fulloracle. Set to none to not include search link.)
| enclose = (optional, enclosing symbol for search terms. Default is ". Using / enables regular expressions.)
| searchlabel = (optional, used to display a different label than the search text itself. Often recommended with regular expression searches.)
| search2 = (optional, use to refine different second scryfall search. All the same related parameters apply.)
}}