Template:LocationAttr/doc
The LocationAttr template is used to display location attributes which do not fit in any other location template category. These attributes include save locations, zoom point locations, and lottery locations.
Usage
In almost all cases, using this template should be preceded by an Other notable attributes heading on the article it is being transcluded onto. This is because there is no label marking the table 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.
{{LocationAttr|header|float=right}}
- header: A required parameter which marks this as the start of an teleportal 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 location attribute table is represented by a single template call. There are 3 specialty entry types along with the generic entry type.
{{LocationAttr|entry|info=The game can be saved in this location.|game=[[Dragon Warrior]]|console=NES}}
- entry: A required parameter which marks this as a single location attribute table entry.
- info: General info about the attribute.
- game: The game this attribute represents. 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 and info parameters are the same.
Save entry
The save entry is a pre-populated entry for marking a location as a save point.
{{LocationAttr|save|game=[[Dragon Quest VI]]|console=SNES}}
The game and console parameters are the same as for a normal entry.
Zoom entry
The zoom entry is a pre-populated entry for marking a location as a zoom point.
{{LocationAttr|zoom|game=[[Dragon Quest VI]]|console=SNES}}
The game and console parameters are the same as for a normal entry.
Lottery entry
The lottery entry is a pre-populated entry for marking a location as having a lottery location.
{{LocationAttr|lottery|game=[[Dragon Quest II]]|console=SNES}}
The game and console parameters are the same as for a normal entry.
The footer call marks the end of the location attribute table.
{{LocationAttr|footer}}
- footer: A required parameter marking the template as the footer.
Example
Sample
This location can be reached using the Zoom spell.
The tombola can be played at this location.
Code
{{LocationAttr|header}}
{{LocationAttr|save|game=[[Dragon Quest II]]|console=NES}}
{{LocationAttr|zoom|game=[[Dragon Quest]]|console=GBC}}
{{LocationAttr|lottery|game=[[Dragon Quest II]]|console=NES,GBC}}
{{LocationAttr|entry|info=This is a location where party members can be changed.|game=[[Dragon Warrior III]]|console=NES}}
{{LocationAttr|footer}}