Template:LocationAttr/doc: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 5: Line 5:
====Save entry====
====Save entry====
The save entry is a pre-populated entry for marking a location as a save point.
The save entry is a pre-populated entry for marking a location as a save point.
{{LocationAttr|save}}
<pre>{{LocationAttr|save}}</pre>
<pre>{{LocationAttr|save}}</pre>
====Zoom entry====
====Zoom entry====
The zoom entry is a pre-populated entry for marking a location as a zoom point.
The zoom entry is a pre-populated entry for marking a location as a zoom point.
{{LocationAttr|zoom}}
<pre>{{LocationAttr|zoom}}</pre>
<pre>{{LocationAttr|zoom}}</pre>
====Lottery entry====
====Lottery entry====
The lottery entry is a pre-populated entry for marking a location as having a lottery location.
The lottery entry is a pre-populated entry for marking a location as having a lottery location.
{{LocationAttr|lottery}}
<pre>{{LocationAttr|lottery}}</pre>
<pre>{{LocationAttr|lottery}}</pre>
====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}}
<pre>{{LocationAttr|party}}</pre>
====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}}
<pre>{{LocationAttr|monster}}</pre>
====Casino entry====
{{LocationAttr|casino}}
The casino entry is a pre-populated entry for marking a location as having a casino or other gambling facility.
<pre>{{LocationAttr|casino}}</pre>
====Bank entry====
The bank entry is a pre-populated entry for marking a location as having a bank or vault location.
{{LocationAttr|bank}}
<pre>{{LocationAttr|bank}}</pre>
====Poison entry====
The poison entry is a pre-populated entry for marking a location as having a poisonous marsh/swamp.
{{LocationAttr|poison}}
<pre>{{LocationAttr|poison}}</pre>
====Lava entry====
The lava entry is a pre-populated entry for marking a location as having a lava marsh/swamp.
{{LocationAttr|lava}}
<pre>{{LocationAttr|lava}}</pre>
===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 in the game with a Bank.}}</pre>
{{LocationAttr|text=This is the only location with ninjas.}}
<pre>{{LocationAttr|text=This is the only location with ninjas.}}</pre>
 
You can also assign an icon for the entry.
{{LocationAttr|other|image=FyggIcon.png|text=This is a location where a [[Fygg]] can be collected.}}
<pre>{{LocationAttr|other|image=FyggIcon.png|text=This is a location where a [[Fygg]] can be collected.}}</pre>
 
{{LocationAttr|other|image=DQXI Camp icon.png|text=This is a location where the party can set up camp for the night.}}
<pre>{{LocationAttr|other|image=DQXI Camp icon.png|text=This is a location where the party can set up camp for the night.}}</pre>
 
{{LocationAttr|other|image=DQXI Horse Call icon.png|text=This is a location where a [[Horse and monster riding|horse]] can be called.}}
<pre>{{LocationAttr|other|image=DQXI Horse Call icon.png|text=This is a location where a [[Horse and monster riding|horse]] can be called.}}</pre>


==Example==
==Example==
Line 21: Line 59:
{{LocationAttr|zoom}}
{{LocationAttr|zoom}}
{{LocationAttr|lottery}}
{{LocationAttr|lottery}}
{{LocationAttr|text=This is a location where party members can be changed.}}
{{LocationAttr|party}}
{{LocationAttr|monster}}
{{LocationAttr|casino}}
{{LocationAttr|bank}}
{{LocationAttr|other|image=DQXI Camp icon.png|text=This is a location where the party can set up camp for the night.}}
{{LocationAttr|other|image=DQXI Horse Call icon.png|text=This is a location where a [[Horse and monster riding|horse]] can be called.}}
{{LocationAttr|text=This is a location where party members can change class.}}
===Code===
===Code===
<pre>
<pre>
Line 27: Line 71:
{{LocationAttr|zoom}}
{{LocationAttr|zoom}}
{{LocationAttr|lottery}}
{{LocationAttr|lottery}}
{{LocationAttr|text=This is a location where party members can be changed.}}
{{LocationAttr|party}}
{{LocationAttr|monster}}
{{LocationAttr|casino}}
{{LocationAttr|bank}}
{{LocationAttr|other|image=DQXI Camp icon.png|text=This is a location where the party can set up camp for the night.}}
{{LocationAttr|other|image=DQXI Horse Call icon.png|text=This is a location where a [[Horse and monster riding|horse]] can be called.}}
{{LocationAttr|text=This is a location where party members can change class.}}
</pre>
</pre>

Latest revision as of 17:24, 22 March 2022

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[edit source]

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[edit source]

The save entry is a pre-populated entry for marking a location as a save point.

      This is a location where the game can be saved.

{{LocationAttr|save}}

Zoom entry[edit source]

The zoom entry is a pre-populated entry for marking a location as a zoom point.

      This location can be reached using the Zoom spell.

{{LocationAttr|zoom}}

Lottery entry[edit source]

The lottery entry is a pre-populated entry for marking a location as having a lottery location.

      The tombola can be played at this location.

{{LocationAttr|lottery}}

Party entry[edit source]

The party entry is a pre-populated entry for marking a location as having a location where party members can be changed.

   Party members can be exchanged at this location.

{{LocationAttr|party}}

Monster entry[edit source]

The monster entry is a pre-populated entry for marking a location as having a location where monster companions can be changed.

      Monster companions can be exchanged at this location.

{{LocationAttr|monster}}

Casino entry[edit source]

      This location includes a casino or other gambling facility.

The casino entry is a pre-populated entry for marking a location as having a casino or other gambling facility.

{{LocationAttr|casino}}

Bank entry[edit source]

The bank entry is a pre-populated entry for marking a location as having a bank or vault location.

      This location includes a bank or vault.

{{LocationAttr|bank}}

Poison entry[edit source]

The poison entry is a pre-populated entry for marking a location as having a poisonous marsh/swamp.

      This location contains poisonous marshes/swamps.

{{LocationAttr|poison}}

Lava entry[edit source]

The lava entry is a pre-populated entry for marking a location as having a lava marsh/swamp.

      This location contains lava marshes/swamps.

{{LocationAttr|lava}}

Other entry[edit source]

For any other entry use the following syntax.

      This is the only location with ninjas.

{{LocationAttr|text=This is the only location with ninjas.}}

You can also assign an icon for the entry.

      This is a location where a Fygg can be collected.

{{LocationAttr|other|image=FyggIcon.png|text=This is a location where a [[Fygg]] can be collected.}}


      This is a location where the party can set up camp for the night.

{{LocationAttr|other|image=DQXI Camp icon.png|text=This is a location where the party can set up camp for the night.}}


      This is a location where a horse can be called.

{{LocationAttr|other|image=DQXI Horse Call icon.png|text=This is a location where a [[Horse and monster riding|horse]] can be called.}}

Example[edit source]

Sample[edit source]

      This is a location where the game can be saved.

      This location can be reached using the Zoom spell.

      The tombola can be played at this location.

   Party members can be exchanged at this location.

      Monster companions can be exchanged at this location.

      This location includes a casino or other gambling facility.

      This location includes a bank or vault.

      This is a location where the party can set up camp for the night.

      This is a location where a horse can be called.

      This is a location where party members can change class.

Code[edit source]

{{LocationAttr|save}}
{{LocationAttr|zoom}}
{{LocationAttr|lottery}}
{{LocationAttr|party}}
{{LocationAttr|monster}}
{{LocationAttr|casino}}
{{LocationAttr|bank}}
{{LocationAttr|other|image=DQXI Camp icon.png|text=This is a location where the party can set up camp for the night.}}
{{LocationAttr|other|image=DQXI Horse Call icon.png|text=This is a location where a [[Horse and monster riding|horse]] can be called.}}
{{LocationAttr|text=This is a location where party members can change class.}}