Template:Spell Levels

{{#switch:{{{mattype}}} ! colspan="3" | Spell 1 ! Level !! !! Madols (Thaumarks) {{#switch: }} ! colspan="5" | Spell 1 ! Level !! {{{mat1title|{{{mat1}}}}}} !! !! !! Madols (Thaumarks) {{#switch: }} {| class="article-table mw-collapsible mw-collapsed" style="text-align:center; width:50%;" ! colspan="5" | Spell 1 ! Level !! Notepads !! Textbooks !! Grimoires !! Madols (Thaumarks) {{#switch:{{{rarity}}} }} {{!}}} {{{!}} class="article-table mw-collapsible mw-collapsed" style="text-align:center; width:50%;" ! colspan="5" {{!}} Spell 2 {{!}}- ! Level !! Notepads !! Textbooks !! Grimoires !! Madols (Thaumarks) {{!}}- {{#switch:{{{rarity}}} }} {{!}}} }}
 * event1 = {| class="article-table mw-collapsible mw-collapsed" style="text-align:center; width:50%;"
 * R = {{Spell Levels/1Event R|1|}}
 * SR = {{Spell Levels/1Event SR|1|}}
 * }
 * event3 = {| class="article-table mw-collapsible mw-collapsed" style="text-align:center; width:50%;"
 * R = {{Spell Levels/3Event R|1|{{{mat1}}}||}}
 * SR = {{Spell Levels/3Event SR|1|{{{mat1}}}||}}}
 * }
 * default =
 * R =
 * SR =
 * SSR =
 * R =
 * SR =
 * SSR =