Template:Featured incident: Difference between revisions

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


Usage:
Usage example (on Main Page or elsewhere):
{{Featured incident
{{Featured incident
  | title  = Lawsuit over conditions at California City Detention Facility
  | title  = Lawsuit over conditions at California City Detention Facility
Line 8: Line 8:
  | date    = 2025-11-13
  | date    = 2025-11-13
  | state  = California
  | state  = California
  | summary = Short summary here.
  | summary = Short summary goes here.
  | image  = CaliforniaCityDetention.jpg   <!-- optional -->
  | image  = CaliforniaCityDetention.jpg
}}
}}
</noinclude>
</noinclude>
<includeonly>
<includeonly>
<div class="mp-featured-incident" style="border:1px solid #ccc; padding:0.5em; background:#fffaf5; overflow:hidden;">
<div class="mp-featured-incident" style="border:1px solid #ccc; padding:0.5em; background:#fffaf5; overflow:hidden;">


{{Featured incident
== Featured Incident ==
| title  = Lawsuit over conditions at California City Detention Facility
 
| link    = Incident:California_City_Detention_Facility_Conditions_Lawsuit_2025
<div style="float:left; margin-right:0.7em; max-width:120px;">
| date    = 2025-11-13
{{#if:{{{image|}}}
| state   = California
   | [[File:{{{image}}}|120px|alt={{{title|Featured incident}}}]]
| summary = Seven people detained at California’s largest immigration detention facility filed a federal lawsuit describing sewage bubbling up from drains, lack of medical care, frigid cells, and people forced to rewrap open wounds with dirty bandages at the privately run California City Detention Facility.
  | [[File:Incident-placeholder.jpg|120px|alt=Featured incident placeholder]]
| image  = CaliforniaCityDetention.jpg
}}
}}
</div>
<div>
'''[[{{{link|}}}|{{{title|Featured incident}}}]]''' 
<span style="font-size:90%;">{{{date|}}} • {{{state|}}}</span>
<p style="margin-top:0.4em;">
{{{summary|}}}
</p>
</div>
<div style="clear:both;"></div>
</div>
</includeonly>