Template:Infobox Vehicle: Difference between revisions

No edit summary
No edit summary
 
Line 1: Line 1:
<noinclude>
<noinclude>
Basic infobox for ICE/CBP vehicles.
Infobox for ICE List vehicle pages.


Used by {{Vehicle page}}.
Usage:
{{Infobox Vehicle
| identifier  = AZ-BCA75X
| image      = BCA75X.png
| type        = Ford F-150 (White, 4x4)
| plate      = BCA75X (AZ)
| agency      = Unknown, presumed [[ICE]] or [[CBP]]
| unit        =
| state      = [[Arizona]]
| status      = Active
}}
</noinclude><includeonly>
</noinclude><includeonly>
{| class="infobox"
<div class="infobox" style="width:260px; float:right; clear:right; margin:0 0 1em 1em; border:1px solid #ccc; background:#f9f9f9; padding:0.5em;">
|-
 
! colspan="2" style="text-align:center;" | Vehicle {{{identifier|Unknown}}}
  <!-- TITLE -->
{{#if:{{{image|}}}|
  <div style="font-size:120%; font-weight:bold; text-align:center; margin-bottom:0.3em;">
|-
  Vehicle {{{identifier|{{PAGENAME}}}}}
| colspan="2" style="text-align:center;" | [[File:{{{image}}}|250px]]
  </div>
}}
 
|-
  <!-- IMAGE -->
! Identifier
  <div style="text-align:center; margin-bottom:0.5em;">
| {{{identifier|}}}
  [[File:{{{image|Vehicle-placeholder.jpg}}}|250px|alt=Vehicle {{{identifier|image}}}]]
|-
  </div>
! Vehicle type
 
| {{{type|}}}
  <!-- BASIC INFO TABLE -->
|-
  <table style="width:100%; font-size:95%;">
! License plate
 
| {{{plate|}}}
    <tr>
|-
      <th style="text-align:left;">Identifier</th>
! Primary state
      <td>{{{identifier|Unknown}}}</td>
| {{{state|}}}
    </tr>
|-
 
! Agency
    <tr>
| {{{agency|}}}
      <th style="text-align:left;">Vehicle type</th>
|-
      <td>{{{type|Unknown}}}</td>
! Unit / Office
    </tr>
| {{{unit|}}}
 
|}
    <tr>
      <th style="text-align:left;">License plate</th>
      <td>{{{plate|Unknown}}}</td>
    </tr>
 
    <tr>
      <th style="text-align:left;">Agency</th>
      <td>{{{agency|Unknown}}}</td>
    </tr>
 
    <tr>
      <th style="text-align:left;">Unit / Office</th>
      <td>{{{unit|Unknown}}}</td>
    </tr>
 
    <tr>
      <th style="text-align:left;">State</th>
      <td>{{{state|Unknown}}}</td>
    </tr>
 
    <tr>
      <th style="text-align:left;">Status</th>
      <td>{{{status|Unknown}}}</td>
    </tr>
 
  </table>
 
</div>
</includeonly>
</includeonly>