Template:NPCLoc: Difference between revisions

From HorizonXI Wiki
(added options to work with the location add parameter)
mNo edit summary
 
Line 1: Line 1:
<onlyinclude><includeonly>{{#if:{{{format|}}}|{{#switch:{{lc:{{{format}}}}}
<onlyinclude><includeonly>{{#if:{{{format|}}}|{{#switch:{{lc:{{{format}}}}}<!--
| short = {{#dpl: allowcachedresults = true | title = {{{1}}} | include = {NPC}:location | skipthispage = no}}
-->| short = {{#dpl: allowcachedresults = true | title = {{{1}}} | include = {NPC}:location | skipthispage = no}}<!--
| coordinates = <!-- code not yet implemented, needs another phantom template that extracts the coordinates from the location-->{{#dpl: allowcachedresults = true | title = {{{1}}} | include = NPC:location | skipthispage = no}}
-->| coordinates = <!-- code not yet implemented, needs another phantom template that extracts the coordinates from the location-->{{#dpl: allowcachedresults = true | title = {{{1}}} | include = NPC:location | skipthispage = no}}<!--
| #default = {{#dpl: allowcachedresults = true | title = {{{1}}} | include = {NPC¦NPCLoc.dpl} | skipthispage = no}}
-->| #default = {{#dpl: allowcachedresults = true | title = {{{1}}} | include = {NPC¦NPCLoc.dpl} | skipthispage = no}}
}}
}}<!--
| {{#dpl: allowcachedresults = true | title = {{{1}}} | include = {NPC¦NPCLoc.dpl} | skipthispage = no}}
-->| {{#dpl: allowcachedresults = true | title = {{{1}}} | include = {NPC¦NPCLoc.dpl} | skipthispage = no}}
}}
}}<!--
</includeonly></onlyinclude>
--></includeonly></onlyinclude>
==Usage==
==Usage==



Latest revision as of 22:18, 3 September 2024

Usage

Returns the location of the NPC as shown on the NPC page

Examples

{{NPCLoc|Goggehn}}

Ru'Lude Gardens (H-10), in the Embassy of Bastok (Jeuno)

{{NPCLoc|Halver}}

Chateau d'Oraguille (I-9)

{{NPCLoc|Piketo-Puketo}}

Windurst Waters, North (D-9), in the Culinarians' Guild (Windurst)

{{NPCLoc|Piketo-Puketo|format=short}}

Windurst Waters, North (D-9)