Difference between revisions of "Template:Card of the day"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude> == Usage == Generates content for a Card of the Day panel on the Main page. There are no parameters. == Example == The following shorthand: <pre><nowiki> {{fle...")
 
 
Line 32: Line 32:
  
 
</noinclude><includeonly><div id="CardOfTheDay" style="width: 277px; margin: 0 auto;">
 
</noinclude><includeonly><div id="CardOfTheDay" style="width: 277px; margin: 0 auto;">
{{Card panel|Abbot of Keral Keep}}
+
<!--{{Card panel|Abbot of Keral Keep}}-->{{Card panel|{{Card of the day selection}}}}
 
</div></includeonly>
 
</div></includeonly>

Latest revision as of 11:09, 10 March 2019

Usage

Generates content for a Card of the Day panel on the Main page.

There are no parameters.

Example

The following shorthand:


{{flexbox-header}}

<!-- FIRST COLUMN -->
{{flexbox-item-header|order=1|style=width:40%;margin:10px 0.5% 10px 0; flex:1 auto;}}
  {{Main page chunk| bgcolor=#FFF7FC| headcolor=#F4E0E0
    | title = Card of the Day
    | content = {{Card of the day}}
  }}
{{flexbox-footer}}
{{flexbox-footer}}

Produces:

Card of the Day

409986.png Archon of Absolution CommonUncommon|Rare|MythicMasterpiece
Throne of Eldraine Throne of Eldraine
14 mana  ·  Creatures (5/4)  ·  White