Template:Featured agent: Difference between revisions

No edit summary
 
Line 2: Line 2:
Featured Agent box for the Main Page or other overview pages.
Featured Agent box for the Main Page or other overview pages.


Usage example on Main Page:
Usage example on the Main Page:
{{Featured agent
| name    = Agent John Doe
| link    = Agent:John_Doe
| state  = Texas
| agency  = ICE ERO
| summary = Documented in multiple traffic-stop and workplace-raid incidents in the Hidalgo area, with ongoing community complaints and litigation.
}}
</noinclude>
 
<includeonly>
<div class="mp-featured-agent" style="border:1px solid #ccc; padding:0.5em; background:#f5f8ff;">
 
{{Featured agent
{{Featured agent
  | name    = David Kim
  | name    = David Kim
Line 23: Line 11:
  | summary = Assistant Chief with the U.S. Border Patrol’s El Centro Sector. Appeared on FOX 11 Los Angeles discussing Border Patrol operations in the region.
  | summary = Assistant Chief with the U.S. Border Patrol’s El Centro Sector. Appeared on FOX 11 Los Angeles discussing Border Patrol operations in the region.
}}
}}
</noinclude>
<includeonly>
<div class="mp-featured-agent" style="border:1px solid #ccc; padding:0.5em; background:#f5f8ff; overflow:hidden;">
== Featured Agent ==
<div style="float:left; margin-right:0.7em; max-width:120px;">
[[File:{{{image|Agent-placeholder.jpg}}}|120px|alt={{{name|Featured agent}}}]]
</div>
<div>
'''[[{{{link|}}}|{{{name|Featured agent}}}]]''' 
<span style="font-size:90%;">{{{agency|}}} • {{{state|}}}</span>
<p style="margin-top:0.4em;">
{{{summary|}}}
</p>
</div>
<div style="clear:both;"></div>
</div>
</includeonly>