Skip to content
American Girl Wiki
Menu

Template:AGW Featured article: Difference between revisions

Owner-approved navigation clarity and homepage copy updates
No edit summary
 
Line 1: Line 1:
<includeonly><div class="agw-panel agw-feature">
<includeonly><div class="agw-panel agw-feature">
<div class="agw-panel-header"><span class="agw-icon agw-icon-star" aria-hidden="true"></span><h2>Featured Article</h2><span class="agw-view-all">[[{{{archive|Project:Browse}}}|Browse articles <span class="agw-icon agw-icon-arrow" aria-hidden="true"></span>]]</span></div>
<div class="agw-panel-header"><span class="agw-icon agw-icon-star" aria-hidden="true"></span><h2>Featured article</h2>{{#if:{{{archive|}}}|<span class="agw-view-all">[[{{{archive}}}|Past featured articles <span class="agw-icon agw-icon-arrow" aria-hidden="true"></span>]]</span>}}</div>
<div class="agw-feature-body">
<div class="agw-feature-body">
<div class="agw-feature-image">[[File:{{#ifexist:File:{{{image|AGWiki featured placeholder.png}}}|{{{image|AGWiki featured placeholder.png}}}|AGWiki featured placeholder.png}}|frameless|600px|link=|alt={{#ifexist:File:{{{image|AGWiki featured placeholder.png}}}|{{{image description|Placeholder}}}|Placeholder}}]]</div>
<div class="agw-feature-image">[[File:{{#ifexist:File:{{{image|AGWiki featured placeholder.png}}}|{{{image|AGWiki featured placeholder.png}}}|AGWiki featured placeholder.png}}|frameless|600px|link=|alt={{#ifexist:File:{{{image|AGWiki featured placeholder.png}}}|{{{image description|Placeholder}}}|Placeholder}}]]</div>
Line 10: Line 10:
</div>
</div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>
One featured article. Parameters: title, excerpt (about 30–65 words), image (wiki filename), image description (alt text), archive (defaults to the browse hub until a real archive exists). Keep the neutral placeholder until a rights-cleared photo is available. Absent or nonexistent image filenames fall back to the plain placeholder. Example and preview: [[Main Page]].
One featured article. Parameters: title, excerpt (about 30–65 words), image (wiki filename), image description (alt text), archive (optional page listing earlier featured articles; omit it until a real archive exists, and no link is shown). Keep the neutral placeholder until a rights-cleared photo is available. Absent or nonexistent image filenames fall back to the plain placeholder. Example and preview: [[Main Page]].
</noinclude>
</noinclude>

Latest revision as of 07:34, 9 November 2026

One featured article. Parameters: title, excerpt (about 30–65 words), image (wiki filename), image description (alt text), archive (optional page listing earlier featured articles; omit it until a real archive exists, and no link is shown). Keep the neutral placeholder until a rights-cleared photo is available. Absent or nonexistent image filenames fall back to the plain placeholder. Example and preview: Main Page.