Template:LockedDoor/doc

From Dragon Quest Wiki
< Template:LockedDoor
Revision as of 09:54, 19 February 2010 by FlyingRagnar (talk | contribs) (Created page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The LockedDoor template is used to display locked doors at various locations in Dragon Quest games.

Usage

In almost all cases, using this template should be preceded by a Locked Doors heading on the article it is being transcluded onto. This is because there is no label marking the table as locked door data within this template. This is consistent with other location templates.

Header

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

{{LockedDoor|header|float=right}}
  • header: A required parameter which marks this as the start of a locked door table.
  • float: The float parameter is optional. It represents the CSS float style and should be 'left', 'right', or 'center'. The default is left.

Entries

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

{{LockedDoor|entry|locktype=[[Silver Key]]|info=B2 left corner|game=[[Dragon Warrior]]|console=NES}}
  • entry: A required parameter which marks this as a single locked door table entry.
  • keytype: The type of key this door requires to be opened. Should be an interwiki link to the key article.
  • info: General info about the location of the door.
  • game: The game this door is in. Should be an interwiki link. This parameter can contain multiple games if applicable.
  • console: The console version of the game. Note: This parameter should contain multiple console values separated by commas if the game, keytype and info parameters are the same.

Footer

The footer call marks the end of the LockedDoor table.

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

Example

Sample

{{{title}}}
Key Type Info
Silver Key B2 bottom right corner
Final Key In throne room

Code

{{LockedDoor|header}}
{{LockedDoor|entry|keytype=[[Silver Key]]|info=B2 bottom right corner|game=[[Dragon Warrior II]]|console=NES}}
{{LockedDoor|entry|keytype=[[Final Key]]|info=In throne room|game=[[Dragon Warrior III]]|console=GBC}}
{{LockedDoor|footer}}