Template:Featured Nation: Difference between revisions

From aquila
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><div class="mp-card mp-featured-spotlight aquila-spotlight-container">
<includeonly><div class="mp-card mp-featured-spotlight aquila-spotlight-container" style="padding: 1.2em 1.5em;">
<h2 style="font-family: 'Georgia', serif; color: #0b132b; font-size: 1.3em; margin-top: 0; margin-bottom: 0.6em; border-bottom: 2px solid #e0a96d; padding-bottom: 6px; display: flex; justify-content: space-between; align-items: center;">
<div style="border-bottom: 1px solid #e2e8f0; padding-bottom: 0.4em; margin-bottom: 0.8em;">
     <span class="spotlight-heading">Featured Nation</span>
     <h2 class="spotlight-heading" style="font-family: 'Georgia', serif; color: #0b132b; font-size: 1.3em; margin: 0; padding: 0; border: none !important; text-align: left;">Featured Nation</h2>
    <span style="font-size: 0.65em; color: #64748b; font-weight: normal; font-family: system-ui;">Rotating Nation</span>
</div>
</h2>


<!-- Hidden pool of rotation items -->
<!-- Hidden pool of rotation items -->
Line 12: Line 11:
             <div style="flex-shrink: 0; width: 100px; text-align: center;">[[File:WikiLogo.png|90px|link=]]</div>
             <div style="flex-shrink: 0; width: 100px; text-align: center;">[[File:WikiLogo.png|90px|link=]]</div>
             <div style="flex-grow: 1; min-width: 180px;">
             <div style="flex-grow: 1; min-width: 180px;">
                 <h3 style="margin: 0 0 6px 0; font-size: 1.15em; color: #1a365d;">TBA 1</h3>
                 <h3 style="margin: 0 0 6px 0; font-size: 1.15em; color: #1a365d; border: none !important; padding: 0;">TBA 1</h3>
                 <p style="margin: 0; font-size: 0.9em; color: #334155; line-height: 1.5;">Test placeholder content for nation TBA 1.</p>
                 <p style="margin: 0; font-size: 0.9em; color: #334155; line-height: 1.5;">Test placeholder content for nation TBA 1.</p>
             </div>
             </div>
Line 22: Line 21:
             <div style="flex-shrink: 0; width: 100px; text-align: center;">[[File:WikiLogo.png|90px|link=]]</div>
             <div style="flex-shrink: 0; width: 100px; text-align: center;">[[File:WikiLogo.png|90px|link=]]</div>
             <div style="flex-grow: 1; min-width: 180px;">
             <div style="flex-grow: 1; min-width: 180px;">
                 <h3 style="margin: 0 0 6px 0; font-size: 1.15em; color: #1a365d;">TBA 2</h3>
                 <h3 style="margin: 0 0 6px 0; font-size: 1.15em; color: #1a365d; border: none !important; padding: 0;">TBA 2</h3>
                 <p style="margin: 0; font-size: 0.9em; color: #334155; line-height: 1.5;">Test placeholder content for nation TBA 2.</p>
                 <p style="margin: 0; font-size: 0.9em; color: #334155; line-height: 1.5;">Test placeholder content for nation TBA 2.</p>
             </div>
             </div>
Line 32: Line 31:
             <div style="flex-shrink: 0; width: 100px; text-align: center;">[[File:WikiLogo.png|90px|link=]]</div>
             <div style="flex-shrink: 0; width: 100px; text-align: center;">[[File:WikiLogo.png|90px|link=]]</div>
             <div style="flex-grow: 1; min-width: 180px;">
             <div style="flex-grow: 1; min-width: 180px;">
                 <h3 style="margin: 0 0 6px 0; font-size: 1.15em; color: #1a365d;">TBA 3</h3>
                 <h3 style="margin: 0 0 6px 0; font-size: 1.15em; color: #1a365d; border: none !important; padding: 0;">TBA 3</h3>
                 <p style="margin: 0; font-size: 0.9em; color: #334155; line-height: 1.5;">Test placeholder content for nation TBA 3.</p>
                 <p style="margin: 0; font-size: 0.9em; color: #334155; line-height: 1.5;">Test placeholder content for nation TBA 3.</p>
             </div>
             </div>
Line 42: Line 41:
             <div style="flex-shrink: 0; width: 100px; text-align: center;">[[File:WikiLogo.png|90px|link=]]</div>
             <div style="flex-shrink: 0; width: 100px; text-align: center;">[[File:WikiLogo.png|90px|link=]]</div>
             <div style="flex-grow: 1; min-width: 180px;">
             <div style="flex-grow: 1; min-width: 180px;">
                 <h3 style="margin: 0 0 6px 0; font-size: 1.15em; color: #1a365d;">TBA 4</h3>
                 <h3 style="margin: 0 0 6px 0; font-size: 1.15em; color: #1a365d; border: none !important; padding: 0;">TBA 4</h3>
                 <p style="margin: 0; font-size: 0.9em; color: #334155; line-height: 1.5;">Test placeholder content for nation TBA 4.</p>
                 <p style="margin: 0; font-size: 0.9em; color: #334155; line-height: 1.5;">Test placeholder content for nation TBA 4.</p>
             </div>
             </div>
Line 52: Line 51:
<!-- Active injection zone -->
<!-- Active injection zone -->
<div class="spotlight-active-content">
<div class="spotlight-active-content">
     <p style="color: #64748b; font-style: italic; text-align: center; margin: 1em 0;">Loading nation...</p>
     <p style="color: #64748b; font-style: italic; text-align: left; margin: 0.2em 0;">Loading nation...</p>
</div>
</div>
</div></includeonly><noinclude>__NOTOC____NOEDITSECTION__
</div></includeonly><noinclude>__NOTOC____NOEDITSECTION__
Line 71: Line 70:
         &lt;div style="flex-shrink: 0; width: 100px; text-align: center;"&gt;[[File:NationFlag.png|90px|link=Nation Name]]&lt;/div&gt;
         &lt;div style="flex-shrink: 0; width: 100px; text-align: center;"&gt;[[File:NationFlag.png|90px|link=Nation Name]]&lt;/div&gt;
         &lt;div style="flex-grow: 1; min-width: 180px;"&gt;
         &lt;div style="flex-grow: 1; min-width: 180px;"&gt;
             &lt;h3 style="margin: 0 0 6px 0; font-size: 1.15em; color: #1a365d;"&gt;[[Nation Name]]&lt;/h3&gt;
             &lt;h3 style="margin: 0 0 6px 0; font-size: 1.15em; color: #1a365d; border: none !important;"&gt;[[Nation Name]]&lt;/h3&gt;
             &lt;p style="margin: 0; font-size: 0.9em; color: #334155; line-height: 1.5;"&gt;Summary text describing the nation.&lt;/p&gt;
             &lt;p style="margin: 0; font-size: 0.9em; color: #334155; line-height: 1.5;"&gt;Summary text describing the nation.&lt;/p&gt;
         &lt;/div&gt;
         &lt;/div&gt;

Revision as of 14:28, 11 October 2026

Featured Nation Management

This page controls the random rotating Featured Nation card. Below is a live preview of the template.

Adding a New Nation Entry

To add another nation to the rotation pool, edit this page and paste a new item block inside spotlight-items:

<div class="spotlight-item" data-title="Featured Nation: Nation Name">
    <div style="display: flex; gap: 16px; align-items: center; flex-wrap: wrap;">
        <div style="flex-shrink: 0; width: 100px; text-align: center;">[[File:NationFlag.png|90px|link=Nation Name]]</div>
        <div style="flex-grow: 1; min-width: 180px;">
            <h3 style="margin: 0 0 6px 0; font-size: 1.15em; color: #1a365d; border: none !important;">[[Nation Name]]</h3>
            <p style="margin: 0; font-size: 0.9em; color: #334155; line-height: 1.5;">Summary text describing the nation.</p>
        </div>
    </div>
</div>