Template:CharacterSpellList/doc: Difference between revisions

updating for content changes
updated note functionality
Line 14: Line 14:
*spell: The name of the spell.  Should be an interwiki link.
*spell: The name of the spell.  Should be an interwiki link.
*level: The level at which the spell is learned.  For spells which are learned by a different method than leveling, this parameter should be N/A, and a note should be made in the description outside the table.
*level: The level at which the spell is learned.  For spells which are learned by a different method than leveling, this parameter should be N/A, and a note should be made in the description outside the table.
===Note===
A note can be added to the table if additional details are necessary.
<pre>{{CharacterSpellList|note|text=This is a note}}</pre>
*note: A required parameter marking the note.
*text: The text to be displayed as a note.
===Footer===
===Footer===
The footer call marks the end of the spell table.
The footer call marks the end of the spell table.
Line 26: Line 31:
{{CharacterSpellList|entry|spell=[[Whack]]|level=15}}
{{CharacterSpellList|entry|spell=[[Whack]]|level=15}}
{{CharacterSpellList|entry|spell=[[Zoom]]|level=N/A}}
{{CharacterSpellList|entry|spell=[[Zoom]]|level=N/A}}
{{CharacterSpellList|note|text=The Zoom spelled is learned by a special event in the town of [[Zoomingale]].}}
{{CharacterSpellList|footer}}
{{CharacterSpellList|footer}}
The Zoom spelled is learned by a special event in the town of [[Zoomingale]].
 
===Code===
===Code===
<pre>
<pre>
Line 36: Line 42:
{{CharacterSpellList|entry|spell=[[Whack]]|level=15}}
{{CharacterSpellList|entry|spell=[[Whack]]|level=15}}
{{CharacterSpellList|entry|spell=[[Zoom]]|level=N/A}}
{{CharacterSpellList|entry|spell=[[Zoom]]|level=N/A}}
{{CharacterSpellList|note|text=The Zoom spelled is learned by a special event in the town of [[Zoomingale]].}}
{{CharacterSpellList|footer}}
{{CharacterSpellList|footer}}
The Zoom spelled is learned by a special event in the town of [[Zoomingale]].
</pre>
</pre>