Template:Zone/NPCs.dpl: Difference between revisions

From HorizonXI Wiki
mNo edit summary
m (made type for npcs conditional instead of leading to faulty output)
 
Line 1: Line 1:
<onlyinclude><includeonly>[[%PAGE%|%TITLE%]]
<onlyinclude><includeonly>[[%PAGE%|%TITLE%]]
| {{#explode:{{#explode:{{{location|}}}| (|1}}|)|0}}
| {{#explode:{{#explode:{{{location|}}}| (|1}}|)|0}}
| [[{{{type|}}}]] {{#if:{{{type add|}}}|({{{type add}}})|}}</includeonly></onlyinclude>
| {{#if:{{{type|}}}|[[{{{type|}}}]] {{#if:{{{type add|}}}|({{{type add}}})|}}}}</includeonly></onlyinclude>
==Usage==
==Usage==
dpl phantom template which '''formats the rows''' of [[Template:Zone/NPCs]]
dpl phantom template which '''formats the rows''' of [[Template:Zone/NPCs]]

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)