Template:LocationItem/doc
The LocationItem template is used to display items acquired at various locations in Dragon Quest games. It applies to items found in treasure chests, in various furniture, or from non-player characters.
Usage
In almost all cases, using this template should be preceded by an Items heading on the article it is being transcluded onto. This is because there is no label marking the table as items 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.
{{LocationItem|header|float=right}}
- header: A required parameter which marks this as the start of an items table.
Entries
Each entry in the items table is represented by a single template call.
{{LocationItems|entry|item=[[Boxer Shorts]]|location=B2 left corner|game=[[Dragon Warrior]]|console=NES}}
- entry: A required parameter which marks this as a single item table entry.
- item: The item name. Should be a link to an interwiki article.
- location: Location of the item. Should be descriptive enough that it is easy to locate.
- game: The game this item 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, item, and location parameters are the same!
The footer call marks the end of the item table.
{{LocationItem|footer}}
- footer: A required parameter marking the template as the footer.
Example
Sample
| Item | Location |
|---|---|
| Antidote Herb | Barrel in southwest house |
| Leather Shield | Behind Final Key door |
Code
{{LocationItem|header}}
{{LocationItem|entry|item=[[Antidote Herb]]|location=Barrel in southwest house|game=[[Dragon Warrior II]]|console=NES}}
{{LocationItem|entry|item=[[Leather Shield]]|location=Treasure chest behind [[Final Key]] door|game=[[Dragon Warrior III]]|console=GBC}}
{{LocationItem|footer}}}