Open main menu

mtgpq wiki β

Changes

Template:Learn table

1,203 bytes added, 04:37, 12 May 2021
Created page with "<noinclude> == Usage == The Learn table template displays a Learn card and a list of associated Lesson cards. Eventually this table should use an existing template like Tem..."
<noinclude>
== Usage ==
The Learn table template displays a Learn card and a list of associated Lesson cards.

Eventually this table should use an existing template like [[Template:Card List Mini]]. This has not been done yet because card data for Learn and Lesson cards has not yet been entered into the wiki.

== Parameters ==
The first parameter is the name of the Learn card.

Each subsequent parameter (up to 4) are the names of associated Lesson cards.

== Example ==

The following shorthand:
<pre><nowiki>
{{Learn table
|Campus Guide {{Rarity|C}}
|Environmental Sciences {{Rarity|C}}
|Fractal Summoning {{Rarity|C}}
}}
</nowiki></pre>

Produces:
{{Learn table
|Campus Guide {{Rarity|C}}
|Environmental Sciences {{Rarity|C}}
|Fractal Summoning {{Rarity|C}}
}}

</noinclude><includeonly>{| class="wikitable" style="display:inline-table"
! style="text-align:left" {{!}} {{Ability icon|Learn|14}} {{{1}}}
{{#if:{{{2|}}}|
{{!}}-
{{!}} {{Ability icon|Lesson|14}} {{{2}}}
}}{{#if:{{{3|}}}|<br>
{{!}}-
{{!}} {{Ability icon|Lesson|14}} {{{3}}}
}}{{#if:{{{4|}}}|<br>
{{!}}-
{{!}} {{Ability icon|Lesson|14}} {{{4}}}
}}{{#if:{{{5|}}}|<br>
{{!}}-
{{!}} {{Ability icon|Lesson|14}} {{{5}}}
}}
|}</includeonly>