Template:Infobox keyword: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Hanmac
mNo edit summary
>Yandere-sliver
No edit summary
Line 2: Line 2:
| name = {{{name|{{PAGENAME}}}}}
| name = {{{name|{{PAGENAME}}}}}
| name2 = {{{name2|}}}
| name2 = {{{name2|}}}
| type = {{{type}}}
| type = {{{type}}} {{#if:{{{type2|}}}|<br/> {{{type2}}} }}
| icon = {{{duels_symbol|}}}
| icon = {{{duels_symbol|}}}
| first = {{{first|}}}
| first = {{{first|}}}
Line 11: Line 11:
| stats = {{{stats|}}}
| stats = {{{stats|}}}
| search = {{{search|{{{name|{{PAGENAME}} }}} }}}
| search = {{{search|{{{name|{{PAGENAME}} }}} }}}
}}<includeonly>[[Category:Keywords/{{{type}}}]][[Category:Keywords]]</includeonly><noinclude>
}}<includeonly>[[Category:Keywords/{{{type}}}]] {{#if:{{{type2|}}}|[[Category:Keywords/{{{type2}}}]]}} [[Category:Keywords]]</includeonly><noinclude>
==Syntax==
==Syntax==
{| style="background: transparent;"
{| style="background: transparent;"
Line 18: Line 18:
| 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|Static|Triggered
| type2 = (optional, some keywords have a second type. Graft for example)
| first =  
| 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)
| 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)

Revision as of 12:57, 31 December 2015

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|Static|Triggered
| type2 = (optional, some keywords have a second type. Graft 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)
}}