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>
<includeonly>
<table border=1 cellspacing=0 cellpadding=0>
<table border=0 cellspacing=0 cellpadding=0>
<tr valign=top><td><table border=0>
<tr valign=top><td><table border=0>
<tr valign=top><th align=right>Name:</th><td>{{{name}}}</td></tr>
<tr valign=top><th align=right>Name:</th><td>{{{name}}}</td></tr>
Line 8: Line 8:
{{#if:{{{flavor|}}}|<tr valign=top><th align=right>Flavor:</th><td>''{{{flavor}}}''</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:{{{flavour|}}}|<tr valign=top><th align=right>Flavor:</th><td>{{{flavour}}}</td></tr>}}
{{#if:{{{expansion|}}}|<tr valign=top><th align=right>Expansison:</th><td>{{{expansion}}}</td></tr>}}
{{#if:{{{pt|}}}|<tr valign=top><th align=right>P/T:</th><td>{{{pt}}}</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>
<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>
</table></td>
<td>[[Image:{{#if:{{{image|}}}|{{{image}}}|Magic_Card_Back.jpg}}|200px]]</td>
<td>[[Image:{{#if:{{{image|}}}|{{{image}}}|Magic_Card_Back.jpg}}|200px]]</td>
Line 21: Line 23:
|text = Pizzawalk, protection from shaving razors
|text = Pizzawalk, protection from shaving razors
|flavor = This isn't overpowered you just suck.
|flavor = This isn't overpowered you just suck.
|expansion = Mom's Basement
|pt = 1/1
|pt = 1/1
|rarity = rare
|rarity = rare
|artist = Anonymous
}}
}}
==Usage==
==Usage==
Line 28: Line 32:
{{mtgcard
{{mtgcard
|name = Card Name
|name = Card Name
|image = some_uploaded_file.jpg
|cost = 7KWRUG
|cost = 7KWRUG
|types = Creature - Instant - Sorcery - Neckbeard
|types = Creature - Instant - Sorcery - Neckbeard
|text = Pizzawalk, protection from shaving razors
|text = Pizzawalk, protection from shaving razors
|flavor = This isn't overpowered you just suck.
|flavor = This isn't overpowered you just suck.
|expansion = Mom's Basement
|pt = 1/1
|pt = 1/1
|rarity = rare
|rarity = rare
|artist = Anonymous
}}
}}
</pre>
</pre>
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.
</noinclude>
</noinclude>

Revision as of 22:28, 29 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.
Expansison: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
|rarity = rare
|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.