Template:LocationAttr: Difference between revisions

From Dragon Quest Wiki
No edit summary
mNo edit summary
 
(42 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
See [[Template:LocationAttr/doc]] for documentation on this template.<br/>
{{{{PAGENAME}}/doc}}
[[Category:Location templates|LocationAttr]]
[[Category:Location templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
<onlyinclude><includeonly>
<onlyinclude><includeonly>
<div style="margin-bottom: 5px; border:1px solid #80BFFF; width:50%">
{{ #switch: {{{1}}}  
{{ #switch: {{{1}}}  
| header = {{{!}} cellpadding="5" cellspacing="0" width="450px" class="locationTemplateTable"  {{#if: {{{float|}}} | float:{{{float}}}; clear:both; | float:left; clear:both; }}"
| save = &nbsp;&nbsp; [[File:Save icon.png|30px|class=pixels]] &nbsp;&nbsp; This is a location where the game can be saved.
{{!}}-
| zoom = &nbsp;&nbsp; [[File:Zoom icon.png|30px|class=pixels]] &nbsp;&nbsp; This location can be reached using the [[Zoom]] spell.
{{!}} class="locationTemplateHeader" {{!}} Info
| lottery = &nbsp;&nbsp; [[File:Lottery icon.png|30px|class=pixels]] &nbsp;&nbsp; The [[Tombola|tombola]] can be played at this location.
{{!}} class="locationTemplateHeader" {{!}} Game
| party = &nbsp;&nbsp; [[File:Party icon.png|30px|class=pixels]] Party members can be exchanged at this location.
{{!}} class="locationTemplateHeader" {{!}} Console
| monster = &nbsp;&nbsp; [[File:Monster icon.png|30px|class=pixels]]&nbsp;&nbsp; Monster companions can be exchanged at this location.
{{!}}-
| casino = &nbsp;&nbsp; [[File:Casino icon.png|30px|class=pixels]]&nbsp;&nbsp; This location includes a [[casino]] or other gambling facility.
| entry = {{!}}-
| bank = &nbsp;&nbsp; [[File:Bank icon.png|30px|class=pixels]] &nbsp;&nbsp; This location includes a [[bank]] or [[vault]].
{{!}} class="locationTemplateCell" {{!}} {{{info}}}
| poison = &nbsp;&nbsp; [[File:Poison puddle.png|30px|class=pixels]] &nbsp;&nbsp; This location contains poisonous marshes/swamps.
{{!}} class="locationTemplateCell" {{!}} {{{game}}}
| lava = &nbsp;&nbsp; [[File:Snstar2006-Lava puddle.png|30px|class=pixels]] &nbsp;&nbsp; This location contains lava marshes/swamps.
{{!}} class="locationTemplateCell" {{!}} {{{console}}}
| other = &nbsp;&nbsp; [[File:{{{image}}}|30px|class=pixels]] &nbsp;&nbsp; {{{text}}}
{{!}}-
| #default = &nbsp;&nbsp; [[File:Location Attributes Icon.png|class=pixels]] &nbsp;&nbsp; {{{text}}}
| save = {{!}}-
}}
{{!}} class="locationTemplateCell" {{!}} This is a location where the game can be saved.
</div></includeonly></onlyinclude>
{{!}} class="locationTemplateCell" {{!}} {{{game}}}
{{!}} class="locationTemplateCell" {{!}} {{{console}}}
{{!}}-
| zoom = {{!}}-
{{!}} class="locationTemplateCell" {{!}} This location can be reached using the [[Zoom]] spell.
{{!}} class="locationTemplateCell" {{!}} {{{game}}}
{{!}} class="locationTemplateCell" {{!}} {{{console}}}
{{!}}-
| lottery = {{!}}-
{{!}} class="locationTemplateCell" {{!}} The [[Lottery]] can be played at this location.
{{!}} class="locationTemplateCell" {{!}} {{{game}}}  
{{!}} class="locationTemplateCell" {{!}} {{{console}}}
{{!}}-
| footer = {{!}}} }}
</includeonly></onlyinclude>

Latest revision as of 11:43, 31 May 2020

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]

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]

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

   Save icon.png    This is a location where the game can be saved.

{{LocationAttr|save}}

Zoom entry[edit]

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

   Zoom icon.png    This location can be reached using the Zoom spell.

{{LocationAttr|zoom}}

Lottery entry[edit]

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

   Lottery icon.png    The tombola can be played at this location.

{{LocationAttr|lottery}}

Party entry[edit]

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

   Party icon.png Party members can be exchanged at this location.

{{LocationAttr|party}}

Monster entry[edit]

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

   Monster icon.png   Monster companions can be exchanged at this location.

{{LocationAttr|monster}}

Casino entry[edit]

   Casino icon.png   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]

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

   Bank icon.png    This location includes a bank or vault.

{{LocationAttr|bank}}

Poison entry[edit]

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

   Poison puddle.png    This location contains poisonous marshes/swamps.

{{LocationAttr|poison}}

Lava entry[edit]

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

   Snstar2006-Lava puddle.png    This location contains lava marshes/swamps.

{{LocationAttr|lava}}

Other entry[edit]

For any other entry use the following syntax.

   Location Attributes Icon.png    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.

   FyggIcon.png    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.}}


   DQXI Camp icon.png    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.}}


   DQXI Horse Call icon.png    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]

Sample[edit]

   Save icon.png    This is a location where the game can be saved.

   Zoom icon.png    This location can be reached using the Zoom spell.

   Lottery icon.png    The tombola can be played at this location.

   Party icon.png Party members can be exchanged at this location.

   Monster icon.png   Monster companions can be exchanged at this location.

   Casino icon.png   This location includes a casino or other gambling facility.

   Bank icon.png    This location includes a bank or vault.

   DQXI Camp icon.png    This is a location where the party can set up camp for the night.

   DQXI Horse Call icon.png    This is a location where a horse can be called.

   Location Attributes Icon.png    This is a location where party members can change class.

Code[edit]

{{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.}}