Template:Infobox keyword: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Yandere-sliver
mNo edit summary
>Tuamir
m (adding links to ability types)
Line 2: Line 2:
| name = {{{name|{{PAGENAME}}}}}
| name = {{{name|{{PAGENAME}}}}}
| name2 = {{{name2|}}}
| name2 = {{{name2|}}}
| type = {{{type}}} {{#if:{{{type2|}}}|(1st ability)<br/> {{{type2}}} (2nd ability) {{#if:{{{type3|}}}|<br/> {{{type3}}} (3rd ability) }} }}
| type = [[{{{type}}} ability|{{{type}}}]] {{#if:{{{type2|}}}|(1st ability)<br/> [[{{{type2}}} ability|{{{type2}}}]] (2nd ability) {{#if:{{{type3|}}}|<br/> [[{{{type3}}} ability|{{{type3}}}]] (3rd ability) }} }}
| icon = {{{duels_symbol|}}}
| icon = {{{duels_symbol|}}}
| first = {{{first|}}}
| first = {{{first|}}}
Line 17: Line 17:
| name = (optional, if different from page name)
| name = (optional, if different from page name)
| duels_symbol = Duels [name] symbol.png (if exists)
| duels_symbol = Duels [name] symbol.png (if exists)
| type = Activated|Characteristic|Evasion|Static|Triggered
| type = Activated|Characteristic|Evasion|Spell|Static|Triggered
| 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)

Revision as of 05:11, 3 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)
}}