Template:Featured Nation: Difference between revisions

From aquila
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
</h2>
</h2>


<!-- Hidden pool of testing items -->
<!-- Hidden pool of rotation items -->
<div class="spotlight-items" style="display: none;">
<div class="spotlight-items" style="display: none;">


     <div class="spotlight-item" data-title="Featured Nation: Technate of Koperdam">
     <div class="spotlight-item" data-title="Featured Nation: TBA 1">
         <div style="display: flex; gap: 16px; align-items: center; flex-wrap: wrap;">
         <div style="display: flex; gap: 16px; align-items: center; flex-wrap: wrap;">
             <div style="flex-shrink: 0; width: 100px; text-align: center;">[[File:Koperdam.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;">TBA 1</h3>
Line 24: Line 24:
                 <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;">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>
    </div>
    <div class="spotlight-item" data-title="Featured Nation: TBA 3">
        <div style="display: flex; gap: 16px; align-items: center; flex-wrap: wrap;">
            <div style="flex-shrink: 0; width: 100px; text-align: center;">[[File:WikiLogo.png|90px|link=]]</div>
            <div style="flex-grow: 1; min-width: 180px;">
                <h3 style="margin: 0 0 6px 0; font-size: 1.15em; color: #1a365d;">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>
            </div>
        </div>
    </div>
    <div class="spotlight-item" data-title="Featured Nation: TBA 4">
        <div style="display: flex; gap: 16px; align-items: center; flex-wrap: wrap;">
            <div style="flex-shrink: 0; width: 100px; text-align: center;">[[File:WikiLogo.png|90px|link=]]</div>
            <div style="flex-grow: 1; min-width: 180px;">
                <h3 style="margin: 0 0 6px 0; font-size: 1.15em; color: #1a365d;">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>
             </div>
             </div>
         </div>
         </div>
Line 34: Line 54:
     <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: center; margin: 1em 0;">Loading nation...</p>
</div>
</div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>__NOTOC____NOEDITSECTION__
<div style="background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 12px; padding: 20px; margin-top: 2em; font-family: 'Georgia', serif;">
<div style="background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 12px; padding: 20px; margin-top: 2em; font-family: 'Georgia', serif;">
<h2 style="margin-top: 0; color: #0b132b; border-bottom: 2px solid #e0a96d; padding-bottom: 6px;">Featured Nation Management</h2>
<h2 style="margin-top: 0; color: #0b132b; border-bottom: 2px solid #e0a96d; padding-bottom: 6px;">Featured Nation Management</h2>
<p style="font-size: 0.95em; color: #475569; font-style: italic;">This page controls the random rotating Featured Nation card. Below is a live preview and the current items registered in the pool.</p>
<p style="font-size: 0.95em; color: #475569; font-style: italic;">This page controls the random rotating Featured Nation card. Below is a live preview of the template.</p>


<h3 style="color: #1a365d; margin-top: 1.5em;">Live Preview</h3>
<div style="margin: 1.5em 0;">
{{Featured Nation}}
{{Featured Nation}}
</div>
<h3 style="color: #1a365d; margin-top: 1.5em;">Adding a New Nation Entry</h3>
<p style="font-size: 0.9em; color: #334155;">To add another nation to the rotation pool, edit this page and paste a new item block inside <code>spotlight-items</code>:</p>


<h3 style="color: #1a365d; margin-top: 1.5em;">Current Pool Directory</h3>
<pre style="background: #ffffff; border: 1px solid #cbd5e1; padding: 12px; border-radius: 6px; font-size: 0.85em; overflow-x: auto;">
<table class="wikitable" style="width: 100%; text-align: left;">
&lt;div class="spotlight-item" data-title="Featured Nation: Nation Name"&gt;
    <tr><th style="width: 25%;">Slot</th><th style="width: 15%;">Image</th><th>Description</th></tr>
    &lt;div style="display: flex; gap: 16px; align-items: center; flex-wrap: wrap;"&gt;
    <tr><td><b>TBA 1</b></td><td><code>File:WikiLogo.png</code></td><td>Test placeholder content for nation TBA 1.</td></tr>
        &lt;div style="flex-shrink: 0; width: 100px; text-align: center;"&gt;[[File:NationFlag.png|90px|link=Nation Name]]&lt;/div&gt;
    <tr><td><b>TBA 2</b></td><td><code>File:WikiLogo.png</code></td><td>Test placeholder content for nation TBA 2.</td></tr>
        &lt;div style="flex-grow: 1; min-width: 180px;"&gt;
    <tr><td><b>TBA 3</b></td><td><code>File:WikiLogo.png</code></td><td>Test placeholder content for nation TBA 3.</td></tr>
            &lt;h3 style="margin: 0 0 6px 0; font-size: 1.15em; color: #1a365d;"&gt;[[Nation Name]]&lt;/h3&gt;
     <tr><td><b>TBA 4</b></td><td><code>File:WikiLogo.png</code></td><td>Test placeholder content for nation TBA 4.</td></tr>
            &lt;p style="margin: 0; font-size: 0.9em; color: #334155; line-height: 1.5;"&gt;Summary text describing the nation.&lt;/p&gt;
</table>
        &lt;/div&gt;
     &lt;/div&gt;
&lt;/div&gt;
</pre>
</div>
</div>
</noinclude>
</noinclude>

Revision as of 14:24, 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;">[[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>