Template:Reputation Table

From Horizon Wiki Mirror
Revision as of 07:55, 17 June 2024 by imported>Aramachus (Created page with "<onlyinclude><includeonly>{{#dpl: |category={{{area|{{PAGENAME}}}}} |include={Quest Header¦Reputation Table.dpl} |table=class="horizon-table npc-table",Quest Name,Start,Start Location }}</includeonly></onlyinclude> ==Usage== For use on Category:Reputation... pages. Just paste on the page and it will generate a list of all quests of that category. It is possible to use the optional argument "area" to specify a reputation area, e.g. "Windurst Reputation" in case the pag...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

For use on Category:Reputation... pages. Just paste on the page and it will generate a list of all quests of that category.

It is possible to use the optional argument "area" to specify a reputation area, e.g. "Windurst Reputation" in case the page name doesn't match what you want to display.

Example

If pasted on the Category:Windurst Reputation page:

{{Reputation Table}}

On any other page:

{{Reputation Table|area=Windurst Reputation}}

Gives:

Extension:DynamicPageList4 (DPL4), version 4.0.0: Error: MediaWiki\Extension\DynamicPageList4\Query::buildAndSelect - Template:Reputation_Table: 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:Reputation_Table 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 = 'Windurst_Reputation'))) WHERE p.page_is_redirect = 0 LIMIT 500 </code>