Difference between revisions of "Template:Spell No Levels"

From NsdWiki
Jump to: navigation, search
(Remove attribute, change XP to "Rarity")
(better)
Line 1: Line 1:
 
<includeonly>{{#if:{{{school|}}}|{{Spell {{{school}}}}}|}}{{#if:{{{school2|}}}|{{Spell {{{school2}}}}}|}}{{#if:{{{school3|}}}|{{Spell {{{school3}}}}}|}}{{#if:{{{school4|}}}|{{Spell {{{school4}}}}}|}}{{#if:{{{target|}}}|[[Category:Spells with a target of {{{target}}}]]||}}{{#if:{{{distance|}}}|[[Category:Spells with a distance of {{{distance}}}]]||}}</includeonly>
 
<includeonly>{{#if:{{{school|}}}|{{Spell {{{school}}}}}|}}{{#if:{{{school2|}}}|{{Spell {{{school2}}}}}|}}{{#if:{{{school3|}}}|{{Spell {{{school3}}}}}|}}{{#if:{{{school4|}}}|{{Spell {{{school4}}}}}|}}{{#if:{{{target|}}}|[[Category:Spells with a target of {{{target}}}]]||}}{{#if:{{{distance|}}}|[[Category:Spells with a distance of {{{distance}}}]]||}}</includeonly>
{|
+
{{#ifeq: {{NAMESPACE}}|Book|
! Rarity
+
<table>
| {{{xp|1}}}
+
<tr>
|-
+
  <th>Rarity</th>
! Action Points
+
  <td>{{{xp|1}}}</td>
| {{{ap|4}}}
+
  <th>AP</th>
|-
+
  <td>{{{ap|4}}}</td>
! Target
+
</tr>
| {{{target|N/A}}}
+
<tr>
|-
+
  <th>Target</th>
! Distance
+
  <td>{{{target|N/A}}}</td>
| {{{distance|N/A}}}
+
  <th>Distance</th>
|-
+
  <td>{{{distance|N/A}}}</td>
! Time
+
</tr>
| {{{time|N/A}}}
+
<tr>
|-
+
  <th>Lasts</th>
! Save
+
  <td>{{{time|N/A}}}</td>
| {{{save|N/A}}}
+
  <th>Save</th>
|}
+
  <td>{{{save|}}}</td>
 +
</tr>
 +
{{#if:{{{counter|}}}|
 +
<tr>
 +
  <th>Counter</th>
 +
  <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|}}}|
 +
<tr><th>Save</th><td>{{{save|}}}</td></tr>
 +
}}
 +
{{#if:{{{counter|}}}|
 +
<tr><th>Counter</th><td>{{{counter|}}}</td></tr>
 +
}}
 +
</table>
 +
}}
  
 
{{{description}}}
 
{{{description}}}
  
 
{{{levels}}}
 
{{{levels}}}

Revision as of 00:22, 15 May 2012

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

{{{description}}}

{{{levels}}}