Template:Featured Nation: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 5: | Line 5: | ||
</h2> | </h2> | ||
<!-- Hidden pool of | <!-- 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: | <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: | <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 | <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> | ||
< | <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> | |||
< | <pre style="background: #ffffff; border: 1px solid #cbd5e1; padding: 12px; border-radius: 6px; font-size: 0.85em; overflow-x: auto;"> | ||
<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> | |||
</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.
Featured Nation Rotating Nation
Loading nation...
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>