User:LegacymtgsalvationUser1033/Infobox card: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>@legacy41915546
mNo edit summary
>@legacy41915546
mNo edit summary
Line 112: Line 112:


If card is illegal, "<nowiki>color:#D31313;</nowiki>"; if legal, "<nowiki>color:#3E823E;</nowiki>".
If card is illegal, "<nowiki>color:#D31313;</nowiki>"; if legal, "<nowiki>color:#3E823E;</nowiki>".
[[Category:Infobox]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 06:55, 9 January 2013

This template was used to create infobox for cards.

{{{name}}}

[[Image:{{{image}}}|175px]]

Color {{{color}}}
Cost: {{{cost}}}
Type: {{{type}}}
Text: {{{text}}}
Flavor
text:
{{{flavor}}}
Stats: {{{stats}}}
Rarity: {{{rarity}}}
Set: {{{set}}}
Number: {{{number}}}
Artist: {{{artist}}}
DCI Format:
{{{dci}}}


Syntax

{{Infobox card
| name = 
| image = 
| color = 
| cost = 
| type = 
| text = 
| flavor = 
| stats = 
| rarity = 
| set = 
| number = 
| artist = 
| dci = 
}}

Usage

Parameter Explanation
name The name of the card.
image The card's image (E.g., Searing Rays (INV).jpg).
color The card's color
cost The card's casting cost
type
text
flavor
stats
rarity
set
number The card's number. Use [[Previous Card|<]] Current Card # [[Next Card|>]]
artist
dci DCI Format.
<span style="color:#3E823E;"> for Legal.
<span style="color:#D31313;"> for Banned.
<span style="color:#FF9A1B;"> for Restricted.

If card is illegal, "color:#D31313;"; if legal, "color:#3E823E;".