Support the ICE List — Donate

Template:Infobox Agent: 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>
This template is **only an example / documentation page** showing how to use the real agent infobox:
Infobox for ICE List agent pages.


The actual working infobox is:
Usage:
**Template:Infobox Agent**
{{Infobox Agent
| name        = Agent Name
| image        = File.jpg
| agency      = ICE ERO
| role        = Deportation Officer
| field_office = Chicago Field Office
| state        = Illinois
| status      = Active
}}
</noinclude>


Use it like this when creating an agent page:
<includeonly>
<div class="infobox" style="width:260px; float:right; clear:right; margin:0 0 1em 1em; border:1px solid #ccc; background:#f9f9f9; padding:0.5em;">


<pre>
<!-- NAME -->
{{Infobox Agent
<div style="font-size:120%; font-weight:bold; text-align:center; margin-bottom:0.3em;">
| name         = John Doe
{{{name|{{PAGENAME}}}}}
| image        = JohnDoe.jpg
</div>
| agency        = ICE ERO
 
| role          = Deportation Officer
<!-- IMAGE -->
| field_office = Chicago
<div style="text-align:center; margin-bottom:0.5em;">
| state         = Illinois
[[File:{{{image|Agent-placeholder.jpg}}}|250px|alt={{{name|Agent image}}}]]
| status        = Active
</div>
 
<!-- BASIC INFO TABLE -->
<table style="width:100%; font-size:95%;">
 
<tr>
<th style="text-align:left;">Agency</th>
<td>{{{agency|Unknown}}}</td>
</tr>
 
<tr>
<th style="text-align:left;">Role</th>
<td>{{{role|Unknown}}}</td>
</tr>
 
<tr>
<th style="text-align:left;">Field Office</th>
<td>
{{#if:{{{field_office|}}}
  | [[{{{field_office}}}]]
  | Unknown
}}
</td>
</tr>
 
<tr>
<th style="text-align:left;">State</th>
<td>
{{#if:{{{state|}}}
  | [[{{{state}}}]]
  | Unknown
}}
}}
</pre>
</td>
</tr>


Do **not** include this template inside pages — it does nothing.
<tr>
This page exists only so editors can see a usage example.
<th style="text-align:left;">Status</th>
</noinclude>
<td>{{{status|Unknown}}}</td>
</tr>
 
</table>


<includeonly></includeonly>
</div>
</includeonly>

Revision as of 04:49, 19 November 2025

Infobox for ICE List agent pages.

Usage:


Agent Name

Agency ICE ERO
Role Deportation Officer
Field Office

{{#if:Chicago Field Office

 | Chicago Field Office
 | Unknown

}}

State

{{#if:Illinois

 | Illinois
 | Unknown

}}

Status Active