Template:CharacterList/doc: Difference between revisions

From Dragon Quest Wiki
(Created page)
 
m (moved Template:EquipmentCharacter/doc to Template:CharacterList/doc: More generic name, since this template can be used for equipment or spells)
(No difference)

Revision as of 18:39, 20 February 2010

The CharacterList template is used to display a set of characters who can equip a certain piece of equipment in Dragon Quest games. It specifically applies to the set of characters which share some common attribute (commonly a piece of equipment that can be equipped or a spell that can be learned) in a single game.

Usage

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

A header call to this template should be the first usage of this template on any page.

{{CharacterList|header}}
  • header: A required parameter which marks this as the start of a character table.

Entries

Each entry in the character table is represented by a single template call.

{{CharacterList|entry|character=[[Ragnar]]|console=NES}}
  • entry: A required parameter which marks this as a single character table entry.
  • character: The name of the character. Should be an interwiki link.
  • console: The console version of the game. Can and should denote multiple consoles when appropriate.

Footer

The footer call marks the end of the character table.

{{CharacterList|footer}}
  • footer: A required parameter marking the template as the footer.

Example

Sample

Characters


Ragnar
Bianca

Code

{{CharacterList|header}}
{{CharacterList|entry|character=[[Ragnar]]|console=NES,GBC}}
{{CharacterList|entry|character=[[Bianca]]|console=SNES,PS2}}
{{CharacterList|footer}}