Difference between revisions of "Template:ContentTemplateModernInline"

From Holdfast: Nations At War
Jump to navigation Jump to search
Line 12: Line 12:
  
 
<!-- Quick summary box -->
 
<!-- Quick summary box -->
{{#if:{{{quick_summary|}}}|
+
{{#ifeq:{{{show_summary|no}}}|yes|
 
<div style="margin:.75rem 0 0 0;border:1px solid #e5e7eb;border-left-width:6px;border-left-color:#10b981;background:#f9fafb;padding:.75rem 1rem;border-radius:.5rem;">
 
<div style="margin:.75rem 0 0 0;border:1px solid #e5e7eb;border-left-width:6px;border-left-color:#10b981;background:#f9fafb;padding:.75rem 1rem;border-radius:.5rem;">
 
   <div style="font-weight:700;margin-bottom:.25rem;">Quick Summary</div>
 
   <div style="font-weight:700;margin-bottom:.25rem;">Quick Summary</div>
   <div>{{{quick_summary}}}</div>
+
   <div>{{{quick_summary|}}}</div>
 
</div>
 
</div>
 
|}}<nowiki/><!--trim-->
 
|}}<nowiki/><!--trim-->
  
 
<!-- Alert strip -->
 
<!-- Alert strip -->
{{#if:{{{alert|}}}|
+
{{#ifeq:{{{show_alert|no}}}|yes|
 
<div style="margin:.75rem 0 0 0;border:1px solid #fee2e2;background:#fff7f7;color:#7f1d1d;padding:.6rem .9rem;border-radius:.5rem;">
 
<div style="margin:.75rem 0 0 0;border:1px solid #fee2e2;background:#fff7f7;color:#7f1d1d;padding:.6rem .9rem;border-radius:.5rem;">
   <strong style="margin-right:.25rem;">Heads up:</strong>{{{alert}}}
+
   <strong style="margin-right:.25rem;">Heads up:</strong>{{{alert|}}}
 
</div>
 
</div>
 
|}}<nowiki/><!--trim-->
 
|}}<nowiki/><!--trim-->

Revision as of 19:24, 18 September 2025

Navigation menu