Difference between revisions of "Template:Learn table"

From mtgpq wiki
Jump to: navigation, search
(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...")
 
Line 28: Line 28:
 
}}
 
}}
  
</noinclude><includeonly>{| class="wikitable" style="display:inline-table"
+
</noinclude><includeonly>{| class="wikitable"
 
! style="text-align:left" {{!}} {{Ability icon|Learn|14}} {{{1}}}
 
! style="text-align:left" {{!}} {{Ability icon|Learn|14}} {{{1}}}
 
{{#if:{{{2|}}}|
 
{{#if:{{{2|}}}|

Revision as of 04:37, 12 May 2021

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:

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

Produces:

Learn Campus Guide Common
Lesson Environmental Sciences Common
Lesson Fractal Summoning Common