Template:Area NPCs Table: Difference between revisions

From HorizonXI Wiki
(Created page with "<onlyinclude><includeonly>{{#dpl: |category={{{area|{{PAGENAME}}}}} |include={NPC}:location:type |table=class="horizon-table npc-table",Name,Location,Type }}</includeonly></onlyinclude> ==Usage== For use on Category:...NPCs pages. Just paste on the page and it will generate a list of all NPCs of that category. It is possible to use the optional argument "area" to specify a quest area, e.g. "Windurst Woods NPCs", in case the page name doesn't match what you want to disp...")
 
No edit summary
 
Line 1: Line 1:
<onlyinclude><includeonly>{{#dpl:
{{Delete|Not using this table for the category pages but using redirects to point to the tables on the area pages. So this template is not needed.}}
|category={{{area|{{PAGENAME}}}}}
|include={NPC}:location:type
|table=class="horizon-table npc-table",Name,Location,Type
}}</includeonly></onlyinclude>
==Usage==
For use on Category:...NPCs pages. Just paste on the page and it will generate a list of all NPCs of that category.
 
It is possible to use the optional argument "area" to specify a quest area, e.g. "Windurst Woods NPCs", in case the page name doesn't match what you want to display.
 
===Example===
If pasted on the [[:Category:Windurst Woods NPCs]] page:
<pre>{{Area NPCs Table}}</pre>
On any other page:
<pre>{{Area NPCs Table|area=Windurst Woods NPCs}}</pre>
Gives:
{{Area NPCs Table|area=Windurst Woods NPCs}}

Latest revision as of 10:51, 26 June 2024