Template:Featured agent: Difference between revisions

From ICE List Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
Line 15: Line 15:
<div class="mp-featured-agent" style="border:1px solid #ccc; padding:0.5em; background:#f5f8ff; overflow:hidden;">
<div class="mp-featured-agent" style="border:1px solid #ccc; padding:0.5em; background:#f5f8ff; overflow:hidden;">


== Featured Agent ==
<includeonly>
{{ICCard
| tone = red
| title = Featured agent
| content =
<div style="display:flex; gap:0.8em; align-items:flex-start;">


<div style="float:left; margin-right:0.7em; max-width:120px;">
<div style="flex:0 0 auto; max-width:120px;">
[[File:{{{image|Agent-placeholder.jpg}}}|120px|alt={{{name|Featured agent}}}]]
[[File:{{{image|Agent-placeholder.jpg}}}|120px|alt={{{name|Featured agent}}}]]
</div>
</div>


<div>
<div style="flex:1;">
'''[[{{{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 30: Line 35:
</div>
</div>


<div style="clear:both;"></div>
</div>
</div>
}}
</includeonly>
</includeonly>

Revision as of 16:40, 16 December 2025

Featured Agent box for the Main Page or other overview pages.

Usage example on the Main Page: