Template:Featured incident: Difference between revisions
No edit summary |
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: | ||
{{Featured incident | {{Featured incident | ||
| title = | | title = Lawsuit over conditions at California City Detention Facility | ||
| link = Incident: | | link = Incident:California_City_Detention_Facility_Conditions_Lawsuit_2025 | ||
| date = 2025- | | date = 2025-11-13 | ||
| state = | | state = California | ||
| summary = Short summary | | summary = Short summary here. | ||
| image = CaliforniaCityDetention.jpg <!-- optional --> | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<div class="mp-featured-incident" style="border:1px solid #ccc; padding:0.5em; background:#fffaf5;"> | <div class="mp-featured-incident" style="border:1px solid #ccc; padding:0.5em; background:#fffaf5; overflow:hidden;"> | ||
== Featured Incident == | == Featured Incident == | ||
<div style="float:left; margin-right:0.7em; max-width:120px;"> | |||
{{#if:{{{image|}}} | |||
| [[File:{{{image}}}|120px|alt={{{title|Featured incident}}}]] | |||
| [[File:Incident-placeholder.jpg|120px|alt=Featured incident placeholder]] | |||
}} | |||
</div> | |||
<div> | |||
'''[[{{{link|}}}|{{{title|Featured incident}}}]]''' | '''[[{{{link|}}}|{{{title|Featured incident}}}]]''' | ||
<span style="font-size:90%;">{{{date|}}} • {{{state|}}}</span> | <span style="font-size:90%;">{{{date|}}} • {{{state|}}}</span> | ||
| Line 22: | Line 32: | ||
{{{summary|}}} | {{{summary|}}} | ||
</p> | </p> | ||
</div> | |||
<div style="clear:both;"></div> | |||
</div> | </div> | ||
</includeonly> | </includeonly> | ||