Template:Infobox keyword: Difference between revisions
Jump to navigation
Jump to search
>Yandere-sliver (reintroduced name2 and reminder 2) |
>Jerodast m (→Syntax: explain stats slightly more) |
||
(43 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox mechanic | ||
| name = {{{name|{{PAGENAME}}}}} | | infobox = Keyword Ability | ||
| type = {{{type}}} | | name = {{{name|{{PAGENAME}}}}} | ||
| icon = {{{ | | name2 = {{{name2|}}} | ||
| type = {{#if:{{{type|}}}|[[{{{type}}} ability|{{{type}}}]]}} {{#if:{{{type2|}}}|(1st ability)<br/> [[{{{type2}}} ability|{{{type2}}}]] (2nd ability) {{#if:{{{type3|}}}|<br/> [[{{{type3}}} ability|{{{type3}}}]] (3rd ability) }} }} | |||
| icon = {{{icon|}}} | |||
| icon2 = {{{icon2|}}} | |||
| first = {{{first|}}} | | first = {{{first|}}} | ||
| first_mech = {{{first_mech|}}} | | first_mech = {{{first_mech|}}} | ||
| last = {{{last|}}} | | last = {{{last|{{{first|}}}}}} | ||
| text = {{{before|}}} {{{name|{{PAGENAME}}}}} {{{extra|}}}{{#if:{{{N|}}}| N {{#if:{{{cost|}}}|{{-}}}}}} {{#if:{{{cost|}}}| | | text = {{{before|}}} {{ucfirst:{{lc:{{{name|{{PAGENAME}}}}}}}}} {{{extra|}}}{{#if:{{{N|}}}| N {{#if:{{{cost|}}}|{{-}}}}}} {{#if:{{{cost|}}}| [cost]}} {{#if: {{{reminder|}}} | ''({{{reminder}}})'' }} {{#if: {{{name2|}}}{{{reminder2|}}} | <br/> {{{before2|{{{before|}}}}}} {{ucfirst:{{lc:{{{name2|{{{name|{{PAGENAME}}}}}}}}}}}} {{{extra2|{{{extra|}}}}}}{{#if:{{{N|}}}| N {{#if:{{{cost|}}}|{{-}}}}}} {{#if:{{{cost|}}}| [cost]}} {{#if: {{{reminder2|}}} | ''({{{reminder2}}})'' }} }} | ||
| notext = {{{noreminder|}}} | | notext = {{{noreminder|}}} | ||
| storm = {{{storm|}}} | |||
| storm_ref = {{{storm_ref|}}} | |||
| stats = {{{stats|}}} | | stats = {{{stats|}}} | ||
| search = {{{search|{{{name|{{PAGENAME}}}}}}}} | | search = {{{search|{{{name|{{PAGENAME}} }}} }}} | ||
}}<includeonly>[[Category:Keywords/{{{type}}}]][[Category:Keywords]]</includeonly><noinclude> | | search2 = {{{search2|}}} | ||
| enclose = {{{enclose|"}}} | |||
| searchtype = {{{searchtype|keyword}}} | |||
}}<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 used on pages for a [[keyword ability]]. It is derived from {{tl|Infobox mechanic}}. | |||
Use {{tl|Infobox action}} for [[keyword action]]s. | |||
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) | ||
| type = Activated|Characteristic|Evasion|Static|Triggered | | icon2 = (optional, 2nd image name for Duels or Arena icon) | ||
| first = | | 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) | | 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 | | 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 = (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 = (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) | ||
| name2 = (optional, used when a keyword very similar to the original one is introduced, i.e. morph and megamorph) | | 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) | | 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) | |||
}}</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) }} |