|
|
| Line 1: |
Line 1: |
| <noinclude> | | <noinclude> |
| Infobox for ICE List agent pages.
| | This template is **only an example / documentation page** showing how to use the real agent infobox: |
| Usage:
| |
| {{Infobox Agent
| |
| | name =
| |
| | image = Example.jpg <!-- or leave blank to use placeholder -->
| |
| | agency =
| |
| | role =
| |
| | field_office =
| |
| | state =
| |
| | status =
| |
| }}
| |
| </noinclude>
| |
|
| |
|
| <includeonly>
| | The actual working infobox is: |
| <div class="infobox" style="width:260px; float:right; clear:right; margin:0 0 1em 1em; border:1px solid #ccc; background:#f9f9f9; padding:0.5em;">
| | **Template:Infobox Agent** |
|
| |
|
| <!-- NAME -->
| | Use it like this when creating an agent page: |
| <div style="font-size:120%; font-weight:bold; text-align:center; margin-bottom:0.3em;">
| |
| {{{name|{{PAGENAME}}}}}
| |
| </div>
| |
|
| |
|
| <!-- IMAGE --> | | <pre> |
| <div style="text-align:center; margin-bottom:0.5em;">
| | {{Infobox Agent |
| [[File:{{{image|Agent-placeholder.jpg}}}|250px|alt={{{name|Agent image}}}]]
| | | name = John Doe |
| </div>
| | | image = JohnDoe.jpg |
| | | | agency = ICE ERO |
| <!-- BASIC INFO TABLE -->
| | | role = Deportation Officer |
| <table style="width:100%; font-size:95%;">
| | | field_office = Chicago |
| | | | state = Illinois |
| <tr>
| | | status = Active |
| <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> | | </pre> |
| </tr>
| |
|
| |
|
| <tr>
| | Do **not** include this template inside pages — it does nothing. |
| <th style="text-align:left;">State</th>
| | This page exists only so editors can see a usage example. |
| <td>
| | </noinclude> |
| {{#if:{{{state|}}}
| |
| | [[{{{state}}}]]
| |
| | Unknown
| |
| }}
| |
| </td>
| |
| </tr>
| |
| | |
| <tr>
| |
| <th style="text-align:left;">Status</th>
| |
| <td>{{{status|Unknown}}}</td>
| |
| </tr>
| |
| | |
| </table> | |
|
| |
|
| </div> | | <includeonly></includeonly> |
| </includeonly> | |