Template:Zone/Quests.dpl2: Difference between revisions

From Horizon Wiki Mirror
Content deleted Content added
imported>Aramachus
Undo revision 74850 by Aramachus (talk)
imported>Aramachus
No edit summary
 
Line 1: Line 1:
<onlyinclude><includeonly>[[%PAGE%|%TITLE%]]
<onlyinclude><includeonly>[[%PAGE%|%TITLE%]]
| {{#if:{{{Type|}}}|[[:Category:{{{Type}}}|{{{Type}}}]]|}}
| {{#if:{{{Start|}}}|[[{{{Start}}}]]|''None''}}
| {{#if:{{{Start|}}}|[[{{{Start}}}]]|''None''}}
| {{{Start Location|}}}
| {{{Start Location|}}}
| {{#if:{{{Fame Level|}}}|{{ht|{{{Fame}}} Fame|{{{Fame Level}}}}}|}}
| {{{Rewards|}}}
| {{{Rewards|}}}
</includeonly></onlyinclude>
</includeonly></onlyinclude>
Line 15: Line 17:


<pre>
<pre>
{{Zone/Quests|Valkurm Dunes}}
{{Zone/Quests|Valkurm Dunes|involved in=true}}
</pre>
</pre>
{{Zone/Quests|Valkurm Dunes}}
{{Zone/Quests|Valkurm Dunes|involved in=true}}

Latest revision as of 17:14, 12 November 2024

Usage

dpl phantom template which formats the rows of Template:Zone/Quests.

This variant shows the full zone name in the Start Location field. See Template:Zone/Quests.dpl for the alternative that only displays the coordinates.

Example

Using Template:Zone/Quests

All Quests which involve Valkurm Dunes

{{Zone/Quests|Valkurm Dunes|involved in=true}}

Extension:DynamicPageList4 (DPL4), version 4.0.0: Error: MediaWiki\Extension\DynamicPageList4\Query::buildAndSelect - Template:Zone-Quests.dpl2: 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-Quests.dpl2 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 `linktarget` `lt`,`pagelinks` `pl`,`page` `p` JOIN `categorylinks` `cl1` ON (((p.page_id = cl1.cl_from) AND (cl1.cl_to = 'Quests'))) WHERE p.page_is_redirect = 0 AND (pl.pl_target_id = lt.lt_id) AND (p.page_id = pl.pl_from) AND (((lt.lt_namespace = 0) AND (lt.lt_title = 'Valkurm_Dunes'))) LIMIT 500 </code>