Template:Agent page: Difference between revisions

From ICE List Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
Usage at the top of an agent page:
Usage at the top of an agent page:


<pre>
{{Agent page
{{Agent page
| name        = Agent Name
| name        = Agent Name
Line 14: Line 15:
| verification = Verified
| verification = Verified
}}
}}
</pre>


Then write the rest of the page (overview, incidents, evidence, notes) as normal wikitext. </noinclude>
Then write the rest of the page (overview, incidents, evidence, notes) as normal wikitext.
</noinclude>


<includeonly>
<includeonly>
{{#vardefine:state_clean|
  {{#replace:
    {{#replace:
      {{#replace:
        {{#replace:{{{state|}}}|[[|}}
      |]]|}}
    |Category:|}}
  |category:|}}
}}
{{Infobox Agent
{{Infobox Agent
  | name        = {{{name|{{PAGENAME}}}}}
  | name        = {{{name|{{PAGENAME}}}}}
Line 23: Line 36:
  | role        = {{{role|Unknown}}}
  | role        = {{{role|Unknown}}}
  | field_office = {{{field_office|Unknown}}}
  | field_office = {{{field_office|Unknown}}}
  | state        = [[{{{state|}}}]]
  | state        = [[{{#var:state_clean}}]]
  | status      = {{{status|Unknown}}}
  | status      = {{{status|Unknown}}}
  | image        = {{{image|Agent-placeholder.jpg}}}
  | image        = {{{image|Agent-placeholder.jpg}}}
Line 29: Line 42:
}}
}}


{{#if:{{{state|}}}|[[Category:{{{state}}}]]}}
{{#if:{{#var:state_clean}}|[[Category:{{#var:state_clean}}]]}}


<div class="ic-agent-addinfo">
<div class="ic-agent-addinfo">

Revision as of 20:09, 17 December 2025

Standard layout for a single agent (ICE, CBP, HSI, etc.).

Usage at the top of an agent page:

{{Agent page
| name         = Agent Name
| agency       = ICE ERO
| role         = Deportation Officer
| field_office = Chicago Field Office
| state        = Illinois
| status       = Active
| image        = File.jpg
| verification = Verified
}}

Then write the rest of the page (overview, incidents, evidence, notes) as normal wikitext.