Template:Infobox keyword: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Hanmac
mNo edit summary
>Hanmac
mNo edit summary
Line 7: Line 7:
| first_mech = {{{first_mech|}}}
| first_mech = {{{first_mech|}}}
| last = {{{last|{{{first|}}}}}}
| last = {{{last|{{{first|}}}}}}
| text = {{{before|}}} {{{name|{{PAGENAME}}}}} {{{extra|}}}{{#if:{{{N|}}}| N {{#if:{{{cost|}}}|{{-}}}}}} {{#if:{{{cost|}}}| (cost)}} ''({{{reminder}}})'' {{#if: {{{name2|}}}{{{reminder2|}}} | <br/> {{{before2|{{{before|}}}}}} {{{name2|{{{name|{{PAGENAME}}}}}}}}} {{{extra2|{{{extra|}}}}}}{{#if:{{{N|}}}| N {{#if:{{{cost|}}}|{{-}}}}}} {{#if:{{{cost|}}}| (cost)}} ''({{{reminder2}}})''  }}
| text = {{{before|}}} {{{name|{{PAGENAME}}}}} {{{extra|}}}{{#if:{{{N|}}}| N {{#if:{{{cost|}}}|{{-}}}}}} {{#if:{{{cost|}}}| (cost)}} ''({{{reminder}}})'' {{#if: {{{name2|}}}{{{reminder2|}}} | <br/> {{{before2|{{{before|}}}}}} {{{name2|{{{name|{{PAGENAME}}}}}}}} {{{extra2|{{{extra|}}}}}}{{#if:{{{N|}}}| N {{#if:{{{cost|}}}|{{-}}}}}} {{#if:{{{cost|}}}| (cost)}} ''({{{reminder2}}})''  }}
| notext = {{{noreminder|}}}
| notext = {{{noreminder|}}}
| stats = {{{stats|}}}
| stats = {{{stats|}}}

Revision as of 07:36, 7 January 2016

Template:Infobox mechanics

Syntax

{{Infobox keyword
| name = (optional, if different from page name)
| duels_symbol = Duels [name] symbol.png (if exists)
| type = Activated|Characteristic|Evasion|Spell|Static|Triggered
| type2 = (optional, some keywords have a second type. Graft for example)
| type3 = (optional, some keywords have a third type. Vanishing for example)
| 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 last)
| reminder =
| stats =
| search = (optional, use to refine gatherer search)
| N = (optional, shows if the keyword does use a number after its name)
| cost = (optional, shows if the keyword does have a cost)
| before = (optional, add extra info before the name)
| extra = (optional, add extra info before the reminder)
| name2 = (optional, used when a keyword very similar to the original one is introduced, i.e. morph and megamorph)
| reminder2 = (optional, the reminder text for the name2 ability)
}}