Support the ICE List — Donate

Template:IncidentsForAgent: Difference between revisions

From ICE List Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
Lists incident pages that link to a given agent page.
Lists incident pages that link to a given agent page.
Usage (inside agent page): {{IncidentsForAgent}}
 
Optional: {{IncidentsForAgent|Agent:John Doe}}
Usage:
Requires: DynamicPageList / DynamicPageList3.
  {{IncidentsForAgent}}                 – use the current page
</noinclude><includeonly>
  {{IncidentsForAgent|Agent:David_Kim}} – specify an agent page explicitly
<DynamicPageList>
</noinclude>
namespace   = Main
<includeonly>
category    = Incidents
{{#dpl:
linksto     = {{{1|{{PAGENAME}}}}}
| namespace         = Incident
ordermethod = lastedit
| linksto           = {{{1|{{FULLPAGENAME}}}}}
order       = descending
| allowcachedresults = true
count        = 50
| ordermethod       = lastedit
suppresserrors = true
| order             = descending
</DynamicPageList>
| mode              = unordered
| noresultsheader    = ''No incidents have been linked to this agent yet.''
}}
</includeonly>
</includeonly>

Revision as of 05:00, 21 November 2025

Lists incident pages that link to a given agent page.

Usage:


Extension:DynamicPageList3 (DPL3), version 3.6.1: Error: MediaWiki\Extension\DynamicPageList3\Query::buildAndSelect: The DynamicPageList3 extension (version 3.6.1) produced a SQL statement which led to a Database error.<br/>The reason may be an internal error of DynamicPageList3 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></code>

                – use the current page
 

Extension:DynamicPageList3 (DPL3), version 3.6.1: Error: MediaWiki\Extension\DynamicPageList3\Query::buildAndSelect: The DynamicPageList3 extension (version 3.6.1) produced a SQL statement which led to a Database error.<br/>The reason may be an internal error of DynamicPageList3 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></code>

– specify an agent page explicitly