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
Tag: Reverted
Line 1: Line 1:
<noinclude>
<noinclude>
Lists incident pages that link to a given agent page, without using DynamicPageList3.
Lists incidents that link to the current agent.


Usage on an agent page:
Usage on an agent page:
    {{IncidentsForAgent}}


    == Documented Incidents ==
You can optionally override the target page:
    ''This list updates automatically when incident pages link to this agent.''
     {{IncidentsForAgent|Some Other Page Name}}
 
    {{IncidentsForAgent}}              <!-- uses the current page -->
    or
     {{IncidentsForAgent|Agent:David_Kim}} <!-- specify page explicitly -->
 
This template simply links to the built–in
[[Special:WhatLinksHere]] page for the agent.
</noinclude><includeonly>
</noinclude><includeonly>
<div class="agent-incidents-list" style="margin:0.5em 0 0.2em 0;">
<dynamicpagelist>
* [[Special:WhatLinksHere/{{{1|{{FULLPAGENAME}}}}}|Browse incident pages that link to this agent]]
category    = Incidents
</div>
linksto    = {{{1|{{PAGENAME}}}}}
ordermethod = lastedit
order      = descending
count      = 50
</dynamicpagelist>
</includeonly>
</includeonly>

Revision as of 00:39, 23 November 2025

Lists incidents that link to the current agent.

Usage on an agent 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>


You can optionally override the target 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>