Template:SpellCharacterList/doc: Difference between revisions
From Dragon Quest Wiki
FlyingRagnar (talk | contribs) (Created doc) |
Antiyonder (talk | contribs) No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
The SpellCharacterList template is used to display a set of characters who can learn a specific spell in | The SpellCharacterList template is used to display a set of characters who can learn a specific spell in {{Main Series}} games. It specifically applies to the set of characters which can learn a single spell in a '''single game'''. | ||
==Usage== | ==Usage== | ||
Line 9: | Line 9: | ||
===Entries=== | ===Entries=== | ||
Each entry in the character table is represented by a single template call. | Each entry in the character table is represented by a single template call. | ||
<pre>{{SpellCharacterList|entry|character=[[Ragnar]]|level=10}}</pre> | <pre>{{SpellCharacterList|entry|character=[[Ragnar McRyan]]|level=10}}</pre> | ||
*entry: A required parameter which marks this as a single character table entry. | *entry: A required parameter which marks this as a single character table entry. | ||
*character: The name of the character. Should be an interwiki link. Also, if this character only applies to a specific console version of the game, this should be noted in parentheses (i.e. (NES, GBC)). | *character: The name of the character. Should be an interwiki link. Also, if this character only applies to a specific console version of the game, this should be noted in parentheses (i.e. ({{NES}}, {{GBC}})). | ||
*level: The level at which the spell is learned for this specific character/game version. | *level: The level at which the spell is learned for this specific character/game version. | ||
===Footer=== | ===Footer=== | ||
Line 20: | Line 20: | ||
===Sample=== | ===Sample=== | ||
{{SpellCharacterList|header}} | {{SpellCharacterList|header}} | ||
{{SpellCharacterList|entry|character=[[Ragnar]] (NES, GBC)|level=10}} | {{SpellCharacterList|entry|character=[[Ragnar McRyan]] ({{NES}}, {{GBC}})|level=10}} | ||
{{SpellCharacterList|entry|character=[[Bianca]] ( | {{SpellCharacterList|entry|character=[[Bianca Whitaker]] ({{SFC}})|level=22}} | ||
{{SpellCharacterList|footer}} | {{SpellCharacterList|footer}} | ||
===Code=== | ===Code=== | ||
<pre> | <pre> | ||
{{SpellCharacterList|header}} | {{SpellCharacterList|header}} | ||
{{SpellCharacterList|entry|character=[[Ragnar]] (NES, GBC)|level=10}} | {{SpellCharacterList|entry|character=[[Ragnar McRyan]] ({{NES}}, {{GBC}})|level=10}} | ||
{{SpellCharacterList|entry|character=[[Bianca]] ( | {{SpellCharacterList|entry|character=[[Bianca Whitaker]] ({{SFC}})|level=22}} | ||
{{SpellCharacterList|footer}} | {{SpellCharacterList|footer}} | ||
</pre> | </pre> |
Latest revision as of 20:34, 10 January 2024
The SpellCharacterList template is used to display a set of characters who can learn a specific spell in Dragon Quest games. It specifically applies to the set of characters which can learn a single spell in a single game.
Usage[edit]
In almost all cases, using this template should be preceded by a heading for the game and a subheading of 'Characters'. This specifies what information the table actually contains.
Header[edit]
A header call to this template should be the first usage of this template on any page.
{{SpellCharacterList|header}}
- header: A required parameter which marks this as the start of a spell character table.
Entries[edit]
Each entry in the character table is represented by a single template call.
{{SpellCharacterList|entry|character=[[Ragnar McRyan]]|level=10}}
- entry: A required parameter which marks this as a single character table entry.
- character: The name of the character. Should be an interwiki link. Also, if this character only applies to a specific console version of the game, this should be noted in parentheses (i.e. (NES, GBC)).
- level: The level at which the spell is learned for this specific character/game version.
[edit]
The footer call marks the end of the character table.
{{SpellCharacterList|footer}}
- footer: A required parameter marking the template as the footer.
Example[edit]
Sample[edit]
Character | Level |
Ragnar McRyan (NES, GBC) | 10 |
Bianca Whitaker (SFC) | 22 |
Code[edit]
{{SpellCharacterList|header}} {{SpellCharacterList|entry|character=[[Ragnar McRyan]] ({{NES}}, {{GBC}})|level=10}} {{SpellCharacterList|entry|character=[[Bianca Whitaker]] ({{SFC}})|level=22}} {{SpellCharacterList|footer}}