Template:Infobox keyword: Difference between revisions
Jump to navigation
Jump to search
>RudleyDudley No edit summary |
>Jerodast m (→Syntax: explain stats slightly more) |
||
(One intermediate revision by the same user not shown) | |||
Line 20: | Line 20: | ||
}}<includeonly>{{#if:{{{type|}}}|[[Category:Keywords/{{{type}}}]]|[[Category:Keywords]]}}{{#if:{{{type2|}}}|[[Category:Keywords/{{{type2}}}]]}}{{#if:{{{type3|}}}|[[Category:Keywords/{{{type3}}}]]}}</includeonly><noinclude> | }}<includeonly>{{#if:{{{type|}}}|[[Category:Keywords/{{{type}}}]]|[[Category:Keywords]]}}{{#if:{{{type2|}}}|[[Category:Keywords/{{{type2}}}]]}}{{#if:{{{type3|}}}|[[Category:Keywords/{{{type3}}}]]}}</includeonly><noinclude> | ||
==Syntax== | ==Syntax== | ||
This template is derived from | This template is used on pages for a [[keyword ability]]. It is derived from {{tl|Infobox mechanic}}. | ||
Use | Use {{tl|Infobox action}} for [[keyword action]]s. | ||
Recommended to use | Recommended to use {{tl|stats}} in stats parameter. | ||
{| style="background: transparent;" | {| style="background: transparent;" | ||
|<pre>{{Infobox keyword | |<pre>{{Infobox keyword | ||
| name = (optional, if different from page name) | | name = (optional, if different from page name) | ||
| icon = (optional, image name for Duels or Arena icon) | | icon = (optional, image name for Duels or Arena icon) | ||
| icon2 = (optional, 2nd image name for Duels or Arena icon) | | icon2 = (optional, 2nd image name for Duels or Arena icon) | ||
| type = Activated|Characteristic|Evasion|Spell|Static|Triggered | | type = Activated|Characteristic|Evasion|Spell|Static|Triggered (REQUIRED) | ||
| type2 = (optional, some keywords have a second type, Graft for example) | | type2 = (optional, some keywords have a second type, Graft for example) | ||
| type3 = (optional, some keywords have a third type, Vanishing for example) | | type3 = (optional, some keywords have a third type, Vanishing for example) | ||
| first = (REQUIRED: first set this keyword was officially used in) | | 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) | | 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) | | 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) | | 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: color distribution of cards using the keyword, as card counts not percentages) | |||
| cost = (optional, | | search = (optional, use to refine Scryfall search) | ||
| stats = (RECOMMENDED: | | searchtype = (optional, can be used to modify the search type, defaults to keyword unless specified) | ||
| search = (optional, use to refine Scryfall search) | | enclose = (optional, encloses Scryfall search with this character, defaulting to "; set to / to use regular expressions) | ||
| 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) | ||
| 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) | | reminder2 = (optional, the reminder text for the name2 ability) | ||
| search2 = (optional, use to refine Scryfall search 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) | |||
| storm = (optional, current rating on the Storm Scale) | |||
| storm_ref = (optional reference for | |||
}}</pre> | }}</pre> | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 14:22, 23 April 2023
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: color distribution of cards using the keyword, as card counts not percentages) | 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) }} |