Template:SpellCharacterList: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
mNo edit summary
(transcluding documentation)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
See [[Template:SpellCharacterList/doc]] for documentation on this template.<br/>
{{{{PAGENAME}}/doc}}
[[Category:Spell templates|SpellCharacterList]]
[[Category:Spell templates|{{PAGENAME}}]]
[[Category:List templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
<onlyinclude><includeonly>
<onlyinclude><includeonly>
{{ #switch: {{{1}}}  
{{ #switch: {{{1}}}  
| header = {{{!}} cellpadding="5" cellspacing="0" width="250px" class="spellTemplateTable" }}
| header = {{{!}} cellpadding="5" cellspacing="0" width="250px" class="spellTemplateTable"
{{!}}-
{{!}}-
{{!}} class="spellTemplateHeader" {{!}} Character
{{!}} class="spellTemplateHeader" {{!}} Character
Line 12: Line 13:
| entry = {{!}}-  
| entry = {{!}}-  
{{!}} class="spellTemplateCell" {{!}} {{{character}}}
{{!}} class="spellTemplateCell" {{!}} {{{character}}}
{{!}}-
{{!}} class="spellTemplateCell" {{!}} {{{level}}}
{{!}} class="spellTemplateCell" {{!}} {{{level}}}
{{!}}-
| footer = {{!}}} }}
| footer = {{!}}} }}
</includeonly></onlyinclude>
</includeonly></onlyinclude>

Latest revision as of 03:26, 22 October 2010

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.

Footer[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}}