Template:Mtgcard: Difference between revisions
Jump to navigation
Jump to search
1d4chan>NotBrandX No edit summary |
m (15 revisions imported) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<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> | ||
<table border=0 cellspacing=0 cellpadding=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>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> | |||
{{#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> | |||
<noinclude> | <noinclude> | ||
{{mtgcard | {{mtgcard | ||
Line 38: | 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 | |||
|artist = Anonymous | |artist = Anonymous | ||
}} | }} | ||
Line 48: | 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 <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> |
Latest revision as of 13:16, 24 June 2023
Usage[edit]
{{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.