Difference between revisions of "Template:Spell"

From NsdWiki
Jump to: navigation, search
(change includeonly)
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{school|}}}|{{Spell {{{school}}}}}|}}{{#if:{{{school2|}}}|{{Spell {{{school2}}}}}|}}{{#if:{{{school3|}}}|{{Spell {{{school3}}}}}|}}{{#if:{{{school4|}}}|{{Spell {{{school4}}}}}|}}{{#if:{{{school5|}}}|{{Spell {{{school5}}}}}|}}{{#if:{{{school6|}}}|{{Spell {{{school6}}}}}|}}{{#if:{{{school7|}}}|{{Spell {{{school7}}}}}|}}{{#if:{{{school8|}}}|{{Spell {{{school8}}}}}|}}{{#if:{{{target|}}}|[[Category:Spells with a target of {{{target}}}]]||}}{{#if:{{{distance|}}}|[[Category:Spells with a distance of {{{distance}}}]]||}}{{#if:{{{xp|}}}|[[Category:Spells with a rarity of {{{xp}}}]]||}}</includeonly>
+
<includeonly>{{Essence badge|{{{essence|unknown}}}}}{{#if:{{{school|}}}|{{Spell {{{school}}}}} |}}{{#if:{{{school2|}}}|{{Spell {{{school2}}}}} |}}{{#if:{{{school3|}}}|{{Spell {{{school3}}}}} |}}{{#if:{{{school4|}}}|{{Spell {{{school4}}}}} |}}{{#if:{{{school5|}}}|{{Spell {{{school5}}}}} |}}{{#if:{{{school6|}}}|{{Spell {{{school6}}}}} |}}{{#if:{{{school7|}}}|{{Spell {{{school7}}}}} |}}{{#if:{{{school8|}}}|{{Spell {{{school8}}}}} |}}{{#if:{{{school9|}}}|{{Spell {{{school9}}}}} |}}{{#if:{{{school10|}}}|{{Spell {{{school10}}}}} |}}{{#if:{{{school11|}}}|{{Spell {{{school11}}}}} |}}{{#if:{{{school12|}}}|{{Spell {{{school12}}}}} |}}{{#if:{{{target|}}}|[[Category:Spells with a target of {{{target}}}]]||}}{{#if:{{{distance|}}}|[[Category:Spells with a distance of {{{distance}}}]]||}}{{#if:{{{xp|}}}|[[Category:Spells with a rarity of {{{xp}}}]]||}}</includeonly>
{|
+
{{#ifeq: {{NAMESPACE}}|Book|
{{#if:{{{xp|1}}}|
+
<table>
! Rarity
+
<tr>
{{!}} {{{xp|1}}}
+
  <th>Rarity</th>
{{!}}-
+
  <td>{{{xp|1}}}</td>
}}
+
  <th>Distance</th>
{{#if:{{{ap|4}}}|
+
  <td>{{{distance|N/A}}}</td>
! AP
+
</tr>
{{!}} {{{ap|4}}}
+
<tr>
{{!}}-
+
  <th>AP</th>
}}
+
  <td>{{{ap|4}}}</td>
{{#if:{{{target|N/A}}}|
+
  <th>Lasts</th>
! Target
+
  <td>{{{time|N/A}}}</td>
{{!}} {{{target|N/A}}}
+
</tr>
{{!}}-
+
<tr>
}}
+
  <th>Target</th>
{{#if:{{{distance|N/A}}}|
+
  <td>{{{target|N/A}}}</td>
! Distance
+
  <th>Save</th>
{{!}} {{{distance|N/A}}}
+
  <td>{{{save|}}}</td>
{{!}}-
+
</tr>
}}
+
{{#if:{{{counter|}}}|
{{#if:{{{time|N/A}}}|
+
<tr>
! Lasts
+
  <th>Counter</th>
{{!}} {{{time|N/A}}}
+
  <td colspan="3">{{{counter|}}}</td>
{{!}}-
+
</tr>
 
}}
 
}}
 +
</table>
 +
|
 +
<table>
 +
<tr>
 +
  <th>Rarity</th>
 +
  <td>{{{xp|1}}}</td>
 +
</tr>
 +
<tr>
 +
  <th>AP</th>
 +
  <td>{{{ap|4}}}</td>
 +
</tr>
 +
<tr>
 +
  <th>Target</th>
 +
  <td>{{{target|N/A}}}</td>
 +
</tr>
 +
<tr>
 +
  <th>Distance</th>
 +
  <td>{{{distance|N/A}}}</td>
 +
</tr>
 +
<tr>
 +
  <th>Lasts</th>
 +
  <td>{{{time|N/A}}}</td>
 +
</tr>
 
{{#if:{{{save|}}}|
 
{{#if:{{{save|}}}|
! Save
+
<tr><th>Save</th><td>{{{save|}}}</td></tr>
{{!}} {{{save|}}}
 
{{!}}-
 
 
}}
 
}}
 
{{#if:{{{counter|}}}|
 
{{#if:{{{counter|}}}|
! Counter
+
<tr><th>Counter</th><td>{{{counter|}}}</td></tr>
{{!}} {{{counter|}}}
+
}}
{{!}}-
+
</table>
 
}}
 
}}
|}
 
  
 
{{{description}}}
 
{{{description}}}
  
{{section|Intensity Effects|}}
+
{{contextHeader|Intensity Effects}}
 +
{{{intensity|}}}
 
<ol style="list-style:upper-roman">
 
<ol style="list-style:upper-roman">
 
<li>{{{level1}}}</li>
 
<li>{{{level1}}}</li>

Latest revision as of 14:14, 14 March 2021

Rarity 1
AP 4
Target N/A
Distance N/A
Lasts N/A

{{{description}}}

Intensity Effects

  1. {{{level1}}}
  2. {{{level2}}}
  3. {{{level3}}}
  4. {{{level4}}}
  5. {{{level5}}}