Template:Featured agent: Difference between revisions

Created page with "<noinclude> Featured Agent box for the Main Page or other overview pages. Usage example on 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; bac..."
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly>
Featured Agent box for the Main Page or other overview pages.
{{ICCard
| tone = red
| title = Featured agent
| content =
<div style="display:flex; gap:0.8em; align-items:flex-start;">


Usage example on Main Page:
<div style="flex:0 0 auto; max-width:120px;">
{{Featured agent
[[File:{{{image|Agent-placeholder.jpg}}}|120px|alt={{{name|Featured agent}}}]]
| name    = Agent John Doe
</div>
| 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 style="flex:1;">
<div class="mp-featured-agent" style="border:1px solid #ccc; padding:0.5em; background:#f5f8ff;">
 
== Featured Agent ==
'''[[{{{link|}}}|{{{name|Featured agent}}}]]'''   
'''[[{{{link|}}}|{{{name|Featured agent}}}]]'''   
<span style="font-size:90%;">{{{agency|}}} • {{{state|}}}</span>
<span style="font-size:90%;">{{{agency|}}} • {{{state|}}}</span>
Line 22: Line 17:
{{{summary|}}}
{{{summary|}}}
</p>
</p>
</div>


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