Template:Zone/NPCs.dpl: Difference between revisions

From HorizonXI Wiki
(Created page with "<onlyinclude><includeonly>%TITLE% | {{#explode:{{#explode:{{{location|}}}| (|1}}|)|0}} | [[{{{type|}}}]]</includeonly></onlyinclude> ==Usage== dpl phantom template for Template:Areas/NPCs")
 
m (made type for npcs conditional instead of leading to faulty output)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly>[[%PAGE%|%TITLE%]] | {{#explode:{{#explode:{{{location|}}}| (|1}}|)|0}} | [[{{{type|}}}]]</includeonly></onlyinclude>
<onlyinclude><includeonly>[[%PAGE%|%TITLE%]]
| {{#explode:{{#explode:{{{location|}}}| (|1}}|)|0}}
| {{#if:{{{type|}}}|[[{{{type|}}}]] {{#if:{{{type add|}}}|({{{type add}}})|}}}}</includeonly></onlyinclude>
==Usage==
==Usage==
dpl phantom template for [[Template:Areas/NPCs]]
dpl phantom template which '''formats the rows''' of [[Template:Zone/NPCs]]
 
==Example==
Using [[Template:Zone/NPCs]]
 
<pre>{{Zone/NPCs|Valkurm Dunes}}</pre>
 
{{Zone/NPCs|Valkurm Dunes}}

Latest revision as of 10:22, 5 June 2025

Usage

dpl phantom template which formats the rows of Template:Zone/NPCs

Example

Using Template:Zone/NPCs

{{Zone/NPCs|Valkurm Dunes}}
Name Location Type
Medicine Axe H-7 Outpost Merchant
Nyata-Mobuta, W.W. H-7 Conquest Overseer (Outpost Guard)
Quanteilleron, R.K. H-7 Conquest Overseer (Outpost Guard)
Tsunashige, I.M. H-7 Conquest Overseer (Outpost Guard)
Fighting Ant, I.M. L-10 Conquest Overseer (Border Guard)
Prunilla, R.K. L-10 Conquest Overseer (Border Guard)
Tebubu, W.W. L-10 Conquest Overseer (Border Guard)