Template:Zone/NPCs: Difference between revisions

From HorizonXI Wiki
(Created page with "<includeonly><onlyinclude>{{#dpl: | category={{{1}}} NPCs | include={NPC¦Areas/NPCs.dpl} | table=class="horizon-table npc-table table-sm center-col-2",-,Name,Location,Type }}</onlyinclude></includeonly> ==Usage== Template which returns a table of all NPCs in a given area ==Examples== <pre>{{Areas/NPCs|Valkurm Dunes}}</pre> {{Areas/NPCs|Valkurm Dunes}} <pre>{{Areas/NPCs|Lower Jeuno}}</pre> {{Areas/NPCs|Lower Jeuno}}")
 
m (added pagename as default if no parameter is given)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{#dpl:
<includeonly><onlyinclude>{{#dpl:
| category={{{1}}} NPCs
| category={{{1|{{PAGENAME}}}}}/NPCs
| include={NPC¦Areas/NPCs.dpl}
| include={NPC¦Zone/NPCs.dpl}
| table=class="horizon-table npc-table table-sm center-col-2",-,Name,Location,Type
| table=class="horizon-table npc-table table-sm center-col-2",-,Name,Location,Type
| skipthispage=no
}}</onlyinclude></includeonly>
}}</onlyinclude></includeonly>
==Usage==
==Usage==
Line 8: Line 9:


==Examples==
==Examples==
<pre>{{Areas/NPCs|Valkurm Dunes}}</pre>
<pre>{{Zone/NPCs|Valkurm Dunes}}</pre>
{{Areas/NPCs|Valkurm Dunes}}
{{Zone/NPCs|Valkurm Dunes}}


<pre>{{Areas/NPCs|Lower Jeuno}}</pre>
<pre>{{Zone/NPCs|Lower Jeuno}}</pre>
{{Areas/NPCs|Lower Jeuno}}
{{Zone/NPCs|Lower Jeuno}}

Latest revision as of 22:38, 29 August 2024