Template:Infobox keyword: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Yandere-sliver
No edit summary
>Yandere-sliver
mNo edit summary
Line 9: Line 9:
| first_mech = {{{first_mech|}}}
| first_mech = {{{first_mech|}}}
| last = {{{last|}}}
| last = {{{last|}}}
| text = {{{before|}}} {{{name|{{PAGENAME}}}}} {{{extra|}}}{{#if:{{{N|}}}| N {{#if:{{{cost|}}}|{{-}}}}}} {{#if:{{{cost|}}}| (cost)}} ''({{{reminder}}})''  
| text = {{{before|}}} {{{name|{{PAGENAME}}}}} {{{extra|}}}{{#if:{{{N|}}}| N {{#if:{{{cost|}}}|{{-}}}}}} {{#if:{{{cost|}}}| (cost)}} ''({{{reminder}}})'' {{#if: {{name2}} | <br/> {{{before|}}} {{{name2}}}}} {{{extra|}}}{{#if:{{{N|}}}| N {{#if:{{{cost|}}}|{{-}}}}}} {{#if:{{{cost|}}}| (cost)}} ''({{{reminder2}}})''  }}
  {{#if: {{name2}} | <br/> {{{before|}}} {{{name2}}}}} {{{extra|}}}{{#if:{{{N|}}}| N {{#if:{{{cost|}}}|{{-}}}}}} {{#if:{{{cost|}}}| (cost)}} ''({{{reminder2}}})''  }}
}}
}}<includeonly>[[Category:Keywords/{{{type}}}]][[Category:Keywords]]</includeonly><noinclude>
}}<includeonly>[[Category:Keywords/{{{type}}}]][[Category:Keywords]]</includeonly><noinclude>
==Syntax==
==Syntax==

Revision as of 20:13, 29 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
| 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)
}}