Template:LocationAttr/doc: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 26: | Line 26: | ||
===Other entry=== | ===Other entry=== | ||
For any other entry use the following syntax. | For any other entry use the following syntax. | ||
<pre>{{LocationAttr|text=This is the only location | <pre>{{LocationAttr|text=This is the only location with ninjas.}}</pre> | ||
==Example== | ==Example== | ||
| Line 37: | Line 37: | ||
{{LocationAttr|casino}} | {{LocationAttr|casino}} | ||
{{LocationAttr|bank}} | {{LocationAttr|bank}} | ||
{{LocationAttr|text=This is a location where party members can | {{LocationAttr|text=This is a location where party members can change class.}} | ||
===Code=== | ===Code=== | ||
<pre> | <pre> | ||
| Line 47: | Line 47: | ||
{{LocationAttr|casino}} | {{LocationAttr|casino}} | ||
{{LocationAttr|bank}} | {{LocationAttr|bank}} | ||
{{LocationAttr|text=This is a location where party members can | {{LocationAttr|text=This is a location where party members can change class.}} | ||
</pre> | </pre> | ||
Revision as of 12:46, 27 July 2010
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.
Save entry
The save entry is a pre-populated entry for marking a location as a save point.
{{LocationAttr|save}}
Zoom entry
The zoom entry is a pre-populated entry for marking a location as a zoom point.
{{LocationAttr|zoom}}
Lottery entry
The lottery entry is a pre-populated entry for marking a location as having a lottery location.
{{LocationAttr|lottery}}
Party entry
The party entry is a pre-populated entry for marking a location as having a location where party members can be changed.
{{LocationAttr|party}}
Monster entry
The monster entry is a pre-populated entry for marking a location as having a location where monster companions can be changed.
{{LocationAttr|monster}}
Casino entry
The casino entry is a pre-populated entry for marking a location as having a casino or other gambling facility.
{{LocationAttr|casino}}
Bank entry
The lottery entry is a pre-populated entry for marking a location as having a bank or vault location.
{{LocationAttr|bank}}
Other entry
For any other entry use the following syntax.
{{LocationAttr|text=This is the only location with ninjas.}}
Example
Sample
This location can be reached using the Zoom spell.
The tombola can be played at this location.
This location includes a casino or other gambling facility.
Code
{{LocationAttr|save}}
{{LocationAttr|zoom}}
{{LocationAttr|lottery}}
{{LocationAttr|party}}
{{LocationAttr|monster}}
{{LocationAttr|casino}}
{{LocationAttr|bank}}
{{LocationAttr|text=This is a location where party members can change class.}}