Support the ICE List — Donate

Template:IncidentsForAgent: Difference between revisions

From ICE List Wiki
Jump to navigation Jump to search
Created page with "<noinclude> Lists incident pages that link to a given agent page. Usage (inside agent page): {{IncidentsForAgent}} Optional: {{IncidentsForAgent|Agent:John Doe}} Requires: DynamicPageList / DynamicPageList3. </noinclude><includeonly> <DynamicPageList> category = Incidents linksto = {{{1|{{PAGENAME}}}}} ordermethod = lastedit order = descending count = 50 </DynamicPageList> </includeonly>"
 
Undo revision 4144 by Heeladams (talk)
Tag: Undo
 
(5 intermediate revisions by the same user not shown)
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, without using DynamicPageList3.
Usage (inside agent page): {{IncidentsForAgent}}
 
Optional: {{IncidentsForAgent|Agent:John Doe}}
Usage on an agent page:
Requires: DynamicPageList / DynamicPageList3.
 
    == Documented Incidents ==
    ''This list updates automatically when incident pages link to this agent.''
 
    {{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>
<DynamicPageList>
<div class="agent-incidents-list" style="margin:0.5em 0 0.2em 0;">
category    = Incidents
* [[Special:WhatLinksHere/{{{1|{{FULLPAGENAME}}}}}|Browse incident pages that link to this agent]]
linksto    = {{{1|{{PAGENAME}}}}}
</div>
ordermethod = lastedit
order      = descending
count      = 50
</DynamicPageList>
</includeonly>
</includeonly>

Latest revision as of 00:39, 23 November 2025

Lists incident pages that link to a given agent page, without using DynamicPageList3.

Usage on an agent page:

   == Documented Incidents ==
   This list updates automatically when incident pages link to this agent.


   or
   


This template simply links to the built–in Special:WhatLinksHere page for the agent.