Template:Mtgcard: Difference between revisions

From 2d4chan
Jump to navigation Jump to search
1d4chan>NotBrandX
mNo edit summary
1d4chan>NotBrandX
No edit summary
Line 1: Line 1:
<includeonly><table border=0 cellspacing=0 cellpadding=0><tr valign=top><td valign=top style='width:50em'><table border=0 width=100%><tr valign=top><th align=right>Name:</th><td>{{{name}}}</td></tr><tr valign=top><th align=right>Cost:</th><td>{{#if:{{{cost|}}}|{{{cost}}}|None}}</td></tr><tr valign=top><th align=right>Types:</th><td>{{#if:{{{types|}}}|{{{types}}}|n/a}}</td></tr>{{#if:{{{text|}}}|<tr valign=top><th align=right>Text:</th><td>{{{text}}}</td></tr>}}{{#if:{{{flavor|}}}|<tr valign=top><th align=right>Flavor:</th><td>''{{{flavor}}}''</td></tr>}}{{#if:{{{flavour|}}}|<tr valign=top><th align=right>Flavor:</th><td>{{{flavour}}}</td></tr>}}{{#if:{{{expansion|}}}|<tr valign=top><th align=right>Expansion:</th><td>{{{expansion}}}</td></tr>}}{{#if:{{{pt|}}}|<tr valign=top><th align=right>P/T:</th><td>{{{pt}}}</td></tr>}}<tr valign=top><th align=right>Rarity:</th><td>{{#if:{{{rarity|}}}|{{{rarity}}}|common}}</td></tr>{{#if:{{{artist|}}}|<tr valign=top><th align=right>Artist:</th><td>{{{artist}}}</td></tr>}}</table></td><td>[[Image:{{#if:{{{image|}}}|{{{image}}}|Magic_Card_Back.jpg}}|200px]]</td></tr></table></includeonly>
<includeonly><table border=0 cellspacing=0 cellpadding=0><tr valign=top><td valign=top style='width:50em'><table border=0 width=100%><tr valign=top><th align=right>Name:</th><td>{{{name}}}</td></tr><tr valign=top><th align=right>Cost:</th><td>{{#if:{{{cost|}}}|{{{cost}}}|None}}</td></tr><tr valign=top><th align=right>Types:</th><td>{{#if:{{{types|}}}|{{{types}}}|n/a}}</td></tr>{{#if:{{{text|}}}|<tr valign=top><th align=right>Text:</th><td>{{{text}}}</td></tr>}}{{#if:{{{flavor|}}}|<tr valign=top><th align=right>Flavor:</th><td>''{{{flavor}}}''</td></tr>}}{{#if:{{{flavour|}}}|<tr valign=top><th align=right>Flavor:</th><td>{{{flavour}}}</td></tr>}}{{#if:{{{expansion|}}}|<tr valign=top><th align=right>Expansion:</th><td>{{{expansion}}}</td></tr>}}{{#if:{{{pt|}}}|<tr valign=top><th align=right>P/T:</th><td>{{{pt}}}</td></tr>}}{{#if:{{{loyalty|}}}|<tr valign=top><th align=right>Loyalty:</th><td>{{{loyalty}}}</td></tr>}}<tr valign=top><th align=right>Rarity:</th><td>{{#if:{{{rarity|}}}|{{{rarity}}}|common}}</td></tr>{{#if:{{{artist|}}}|<tr valign=top><th align=right>Artist:</th><td>{{{artist}}}</td></tr>}}</table></td><td>[[Image:{{#if:{{{image|}}}|{{{image}}}|Magic_Card_Back.jpg}}|200px]]</td></tr></table></includeonly>
<noinclude>
<noinclude>
{{mtgcard
{{mtgcard
Line 22: Line 22:
|expansion = Mom's Basement
|expansion = Mom's Basement
|pt = 1/1
|pt = 1/1
|loyalty = 3
|rarity = rare
|rarity = rare
|image = Some_Picture.jpg
|image = Some_Picture.jpg
Line 33: Line 34:
All other fields are optional.
All other fields are optional.


For plainswalkers, use 'loyalty =' instead of 'pt =', and the 'text =' should be a list of &lt;br> seperated items like so:
<pre>
|text = +2: give every other player a piece of gum.<br>-2: mooch a piece of gum from
target player<br>-10: steal a slice of pizza from target player
|loyalty = 2
</pre>
Power/toughness and Loyalty should not be used on the same card; you won't be prevented, but you'll embarrass yourself.
[[Category:Magic: The Gathering]]
</noinclude>
</noinclude>

Revision as of 11:12, 30 September 2013


Name:Card Name
Cost:7KWRUG
Types:Creature - Instant - Sorcery - Neckbeard
Text:Pizzawalk, protection from shaving razors
Flavor:This isn't overpowered you just suck.
Expansion:Mom's Basement
P/T:1/1
Rarity:rare
Artist:Anonymous

Usage

{{mtgcard
|name = Card Name
|cost = 7KWRUG
|types = Creature - Instant - Sorcery - Neckbeard
|text = Pizzawalk, protection from shaving razors
|flavor = This isn't overpowered you just suck.
|expansion = Mom's Basement
|pt = 1/1
|loyalty = 3
|rarity = rare
|image = Some_Picture.jpg
|artist = Anonymous
}}

Name is required.

Cost defaults to '0'. Types defaults to 'n/a'. Rarity defaults to 'common'. Image defaults to the MtG card back.

All other fields are optional.


For plainswalkers, use 'loyalty =' instead of 'pt =', and the 'text =' should be a list of <br> seperated items like so:

|text = +2: give every other player a piece of gum.<br>-2: mooch a piece of gum from
 target player<br>-10: steal a slice of pizza from target player
|loyalty = 2

Power/toughness and Loyalty should not be used on the same card; you won't be prevented, but you'll embarrass yourself.