Template:Zone/NPCs: Difference between revisions
imported>Aramachus m Aramachus moved page Template:Areas/NPCs to Template:Zone/NPCs: naming convention used in the wiki is Zone instead of Area |
imported>Aramachus mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#dpl: |
<includeonly><onlyinclude>{{#dpl: |
||
| category={{{1}}} NPCs |
| category={{{1}}} NPCs |
||
| include={NPC¦ |
| 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 |
||
}}</onlyinclude></includeonly> |
}}</onlyinclude></includeonly> |
||
| Line 8: | Line 8: | ||
==Examples== |
==Examples== |
||
<pre>{{ |
<pre>{{Zone/NPCs|Valkurm Dunes}}</pre> |
||
{{ |
{{Zone/NPCs|Valkurm Dunes}} |
||
<pre>{{ |
<pre>{{Zone/NPCs|Lower Jeuno}}</pre> |
||
{{ |
{{Zone/NPCs|Lower Jeuno}} |
||
Revision as of 23:39, 8 April 2024
Usage
Template which returns a table of all NPCs in a given area
Examples
{{Zone/NPCs|Valkurm Dunes}}
Extension:DynamicPageList4 (DPL4), version 4.0.0: Error: MediaWiki\Extension\DynamicPageList4\Query::buildAndSelect - Template:Zone-NPCs: The DynamicPageList4 extension (version 4.0.0) produced a SQL statement which led to a Database error.<br/>The reason may be an internal error of DynamicPageList4 or an error that you made; especially when using parameters like 'categoryregexp' or 'titleregexp'. Usage of non-greedy <code>*?</code> matching patterns are not supported.<br/>The error message was:<br/><code>Error 1054: Unknown column 'cl1.cl_to' in 'ON' Function: MediaWiki\Extension\DynamicPageList4\Query::buildAndSelect - Template:Zone-NPCs Query: SET STATEMENT max_statement_time=10 FOR SELECT DISTINCT p.page_namespace AS `page_namespace`,p.page_id AS `page_id`,p.page_title AS `page_title` FROM `page` `p` JOIN `categorylinks` `cl1` ON (((p.page_id = cl1.cl_from) AND (cl1.cl_to = 'Valkurm_Dunes_NPCs'))) WHERE p.page_is_redirect = 0 LIMIT 500 </code>
{{Zone/NPCs|Lower Jeuno}}
Extension:DynamicPageList4 (DPL4), version 4.0.0: Error: MediaWiki\Extension\DynamicPageList4\Query::buildAndSelect - Template:Zone-NPCs: The DynamicPageList4 extension (version 4.0.0) produced a SQL statement which led to a Database error.<br/>The reason may be an internal error of DynamicPageList4 or an error that you made; especially when using parameters like 'categoryregexp' or 'titleregexp'. Usage of non-greedy <code>*?</code> matching patterns are not supported.<br/>The error message was:<br/><code>Error 1054: Unknown column 'cl1.cl_to' in 'ON' Function: MediaWiki\Extension\DynamicPageList4\Query::buildAndSelect - Template:Zone-NPCs Query: SET STATEMENT max_statement_time=10 FOR SELECT DISTINCT p.page_namespace AS `page_namespace`,p.page_id AS `page_id`,p.page_title AS `page_title` FROM `page` `p` JOIN `categorylinks` `cl1` ON (((p.page_id = cl1.cl_from) AND (cl1.cl_to = 'Lower_Jeuno_NPCs'))) WHERE p.page_is_redirect = 0 LIMIT 500 </code>