Difference between revisions of "Template:Spell"
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#if:{{{nocategory|}}}||{{#switch: {{{lvl}}} | cantrip = Category:Spell 0 | 1st = Category:Spell 1 | 2nd = Category:Spell 2 | 3rd = Category:Spell...") |
|||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly> |
− | + | <div style="font-size: 14px; line-height: 1.25; font-weight: bold;">{{{name}}}</div> | |
− | + | <table> | |
− | + | {{#if:{{{school|}}}|<tr> | |
− | + | <th>School</th> | |
− | + | <td>{{{school|}}}</td> | |
− | + | </tr> | |
− | + | }} | |
− | + | {{#if:{{{ritual|}}}|<tr> | |
− | + | <th>Ritual?</th> | |
− | + | <td>{{{ritual|}}}</td> | |
− | {{ | + | </tr> |
− | + | }} | |
− | {{ | + | {{#if:{{{lvl|}}}|<tr> |
− | {{ | + | <th>School(s)</th> |
− | + | <td>{{{lvl|}}}</td> | |
− | + | </tr> | |
− | | | + | }} |
− | {{#if:{{{ | + | {{#if:{{{casttime|}}}|<tr> |
+ | <th>Casting time</th> | ||
+ | <td>{{{casttime|}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | {{#if:{{{range|}}}|<tr> | ||
+ | <th>Range</th> | ||
+ | <td>{{{range|}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | {{#if:{{{comp|}}}|<tr> | ||
+ | <th>Components</th> | ||
+ | <td>{{{comp|}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | {{#if:{{{dur|}}}|<tr> | ||
+ | <th>Duration</th> | ||
+ | <td>{{{dur|}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | {{#if:{{{summary|}}}|<tr> | ||
+ | <th>Summary</th> | ||
+ | <td>{{{summary|}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | </table> | ||
+ | {{#ifeq: {{NAMESPACE}} | Spell | {{#if:{{{school|}}}|[[Category:{{{school}}} School]]}} | }} | ||
+ | |||
</includeonly> | </includeonly> |