Template:Infobox keyword: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Yandere-sliver
(reintroduced name2 and reminder 2)
>Yandere-sliver
No edit summary
Line 1: Line 1:
{{Infobox mechanics
{{Infobox mechanics
| notext = {{{noreminder|}}}
| stats = {{{stats|}}}
| search = {{{search|{{{name|{{PAGENAME}}}}}}
| name = {{{name|{{PAGENAME}}}}}
| name = {{{name|{{PAGENAME}}}}}
| type = {{{type}}}
| type = {{{type}}}
Line 6: 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}}})'' {{#if: {{name2}} | <br/> {{{before|}}} {{{name2}}}}} {{{extra|}}}{{#if:{{{N|}}}| N {{#if:{{{cost|}}}|{{-}}}}}} {{#if:{{{cost|}}}| (cost)}} ''({{{reminder2}}})'' }}
| text = {{{before|}}} {{{name|{{PAGENAME}}}}} {{{extra|}}}{{#if:{{{N|}}}| N {{#if:{{{cost|}}}|{{-}}}}}} {{#if:{{{cost|}}}| (cost)}} ''({{{reminder}}})''  
| notext = {{{noreminder|}}}
  {{#if: {{name2}} | <br/> {{{before|}}} {{{name2}}}}} {{{extra|}}}{{#if:{{{N|}}}| N {{#if:{{{cost|}}}|{{-}}}}}} {{#if:{{{cost|}}}| (cost)}} ''({{{reminder2}}})'' }}
| stats = {{{stats|}}}
}}
| search = {{{search|{{{name|{{PAGENAME}}}}}}}}
}}<includeonly>[[Category:Keywords/{{{type}}}]][[Category:Keywords]]</includeonly><noinclude>
}}<includeonly>[[Category:Keywords/{{{type}}}]][[Category:Keywords]]</includeonly><noinclude>
==Syntax==
==Syntax==

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