Template:CharacterSpellList/doc: Difference between revisions
From Dragon Quest Wiki
FlyingRagnar (talk | contribs) (Created page) |
FlyingRagnar (talk | contribs) (Added more detail) |
||
Line 11: | Line 11: | ||
*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. Should also include console information if a spell is learned at different levels in different versions of the same game (i.e. (NES, GBC)) | *level: The level at which the spell is learned. Should also include console information if a spell is learned at different levels in different versions of the same game (i.e. (NES, GBC)) 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 21: | Line 21: | ||
{{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]] (NES)|level=12}} | |||
{{CharacterSpellList|entry|spell=[[Whack]] (GBC)|level=15}} | |||
{{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]]. | |||
===Code=== | ===Code=== | ||
<pre> | <pre> | ||
Line 27: | Line 31: | ||
{{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]] (NES)|level=12}} | |||
{{CharacterSpellList|entry|spell=[[Whack]] (GBC)|level=15}} | |||
{{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]]. | |||
</pre> | </pre> |
Revision as of 00:03, 24 February 2010
The CharacterSpellList template is used to display a list of spells a character can learn.
Usage
Header
A header call to this template should be the first usage of this template on any page.
{{CharacterSpellList|header}}
- header: A required parameter which marks this as the start of a spell list table.
Entry
Each entry call designates a single spell.
{{CharacterSpellList|entry|spell=Heal|level=10}}
- entry: A required parameter marking an entry.
- spell: The name of the spell. Should be an interwiki link.
- level: The level at which the spell is learned. Should also include console information if a spell is learned at different levels in different versions of the same game (i.e. (NES, GBC)) 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.
The footer call marks the end of the spell table.
{{CharacterSpellList|footer}}
- footer: A required parameter marking the template as the footer.
Example
Sample
{{{title}}} | |
---|---|
Spell | Level Learned |
Heal | 10 |
Hocus Pocus | 45 |
Whack (NES) | 12 |
Whack (GBC) | 15 |
Zoom | N/A |
The Zoom spelled is learned by a special event in the town of Zoomingale.
Code
{{CharacterSpellList|header}} {{CharacterSpellList|entry|spell=[[Heal]]|level=10}} {{CharacterSpellList|entry|spell=[[Hocus Pocus]]|level=45}} {{CharacterSpellList|entry|spell=[[Whack]] (NES)|level=12}} {{CharacterSpellList|entry|spell=[[Whack]] (GBC)|level=15}} {{CharacterSpellList|entry|spell=[[Zoom]]|level=N/A}} {{CharacterSpellList|footer}} The Zoom spelled is learned by a special event in the town of [[Zoomingale]].