11,286
edits
FlyingRagnar (talk | contribs) (Added more detail) |
FlyingRagnar (talk | contribs) (updating for content changes) |
||
Line 1: | Line 1: | ||
The CharacterSpellList template is used to display a list of spells a character can learn. | The CharacterSpellList template is used to display a list of spells a character can learn. Each set of calls to this template represents the list of spells for a '''single character''' in a '''single version''' of a game. | ||
==Usage== | ==Usage== | ||
===Header=== | ===Header=== | ||
A header call to this template should be the first usage of this template on any page. | A header call to this template should be the first usage of this template on any page. | ||
<pre>{{CharacterSpellList|header}}</pre> | <pre>{{CharacterSpellList|header|title=Dragon Quest II|subtitle=NES}}</pre> | ||
*header: A required parameter which marks this as the start of a spell list table. | *header: A required parameter which marks this as the start of a spell list table. | ||
*title: A required parameter specifying the title of the table. Typically the name of the game. | |||
*subtitle: An optional parameter specifying a subtitle for the table. Typically the console version of a game when there is more than one. | |||
===Entry=== | ===Entry=== | ||
Each entry call designates a single spell. | Each entry call designates a single spell. | ||
Line 11: | Line 13: | ||
*entry: A required parameter marking an entry. | *entry: A required parameter marking an entry. | ||
*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. | *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. | ||
===Footer=== | ===Footer=== | ||
The footer call marks the end of the spell table. | The footer call marks the end of the spell table. | ||
Line 18: | Line 20: | ||
==Example== | ==Example== | ||
===Sample=== | ===Sample=== | ||
{{CharacterSpellList|header}} | {{CharacterSpellList|header|title=Dragon Quest II|subtitle=GBC}} | ||
{{CharacterSpellList|entry|spell=[[Heal]]|level=10}} | {{CharacterSpellList|entry|spell=[[Heal]]|level=10}} | ||
{{CharacterSpellList|entry|spell=[[Hocus Pocus]]|level=45}} | {{CharacterSpellList|entry|spell=[[Hocus Pocus]]|level=45}} | ||
{{CharacterSpellList|entry|spell=[[Whack]] | {{CharacterSpellList|entry|spell=[[Whack]]|level=12}} | ||
{{CharacterSpellList|entry|spell=[[Whack]] | {{CharacterSpellList|entry|spell=[[Whack]]|level=15}} | ||
{{CharacterSpellList|entry|spell=[[Zoom]]|level=N/A}} | {{CharacterSpellList|entry|spell=[[Zoom]]|level=N/A}} | ||
{{CharacterSpellList|footer}} | {{CharacterSpellList|footer}} | ||
Line 28: | Line 30: | ||
===Code=== | ===Code=== | ||
<pre> | <pre> | ||
{{CharacterSpellList|header}} | {{CharacterSpellList|header|title=Dragon Quest II|subtitle=GBC}} | ||
{{CharacterSpellList|entry|spell=[[Heal]]|level=10}} | {{CharacterSpellList|entry|spell=[[Heal]]|level=10}} | ||
{{CharacterSpellList|entry|spell=[[Hocus Pocus]]|level=45}} | {{CharacterSpellList|entry|spell=[[Hocus Pocus]]|level=45}} | ||
{{CharacterSpellList|entry|spell=[[Whack]] | {{CharacterSpellList|entry|spell=[[Whack]]|level=12}} | ||
{{CharacterSpellList|entry|spell=[[Whack]] | {{CharacterSpellList|entry|spell=[[Whack]]|level=15}} | ||
{{CharacterSpellList|entry|spell=[[Zoom]]|level=N/A}} | {{CharacterSpellList|entry|spell=[[Zoom]]|level=N/A}} | ||
{{CharacterSpellList|footer}} | {{CharacterSpellList|footer}} | ||
The Zoom spelled is learned by a special event in the town of [[Zoomingale]]. | The Zoom spelled is learned by a special event in the town of [[Zoomingale]]. | ||
</pre> | </pre> |