Template:Mtgcard: Difference between revisions
Jump to navigation
Jump to search
1d4chan>NotBrandX m text isn't valign to top, despite explictly declaring it so? |
1d4chan>NotBrandX mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><table border=0 cellspacing=0 cellpadding=0><tr valign=top><td valign=top style='vertical-align:top'><table border=0> | ||
<table border=0 cellspacing=0 cellpadding=0> | |||
<tr valign=top><td valign=top><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> | ||
<tr valign=top><th align=right>Cost:</th><td>{{#if:{{{cost|}}}|{{{cost}}}|None}}</td></tr> | <tr valign=top><th align=right>Cost:</th><td>{{#if:{{{cost|}}}|{{{cost}}}|None}}</td></tr> | ||
| Line 12: | Line 10: | ||
<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>}} | {{#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> | </tr></table></includeonly> | ||
</tr></table> | |||
</includeonly> | |||
<noinclude> | <noinclude> | ||
{{mtgcard | {{mtgcard | ||
Revision as of 03:36, 30 September 2013
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.