Skip to content
American Girl Wiki
Menu

Template:AGW Hero: Difference between revisions

Install reviewed berry homepage design
 
Update hero for redesigned homepage
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
<div class="agw-hero-copy">
<div class="agw-hero-copy">
<h1><span class="agw-welcome">{{{welcome|Welcome to the}}}</span> {{{heading|American Girl Wiki}}}</h1>
<h1><span class="agw-welcome">{{{welcome|Welcome to the}}}</span> {{{heading|American Girl Wiki}}}</h1>
<p>{{{introduction|A fan-run encyclopedia for curious minds,<br>kind hearts, and big dreams.}}}</p>
<p>{{{introduction|The fan-run encyclopedia for anyone who loves American Girl dolls.}}}</p>
<div class="agw-button">[[{{{destination|Project:Browse}}}|{{{link label|Explore the wiki}}}]]</div>
<div class="agw-button">[[{{{destination|Project:Browse}}}|{{{link label|Browse all topics}}}]]</div>
</div>
</div>
<div class="agw-hero-image">[[File:{{#ifexist:File:{{{image|AGWiki hero placeholder.png}}}|{{{image|AGWiki hero placeholder.png}}}|AGWiki hero placeholder.png}}|frameless|1200px|link=|alt={{#ifexist:File:{{{image|AGWiki hero placeholder.png}}}|{{{image description|Placeholder}}}|Placeholder}}]]</div>
<div class="agw-hero-image">[[File:{{#ifexist:File:{{{image|AGWiki hero placeholder.png}}}|{{{image|AGWiki hero placeholder.png}}}|AGWiki hero placeholder.png}}|frameless|1200px|link=|alt={{#ifexist:File:{{{image|AGWiki hero placeholder.png}}}|{{{image description|Placeholder}}}|Placeholder}}]]</div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>
Welcome hero for [[Main Page]]. Parameters: welcome, heading, introduction, destination, link label, image (wiki filename), image description (alt text). Defaults intentionally use a plain placeholder, never generated doll imagery. Use only once per page: this template supplies the page H1. Preview: [[Main Page]].
Welcome hero for [[Main Page]]. Parameters: welcome, heading, introduction, destination, link label, image (wiki filename), image description (alt text). Photos closer to 4:3 or 16:9 suit the frame: keep the subject in the middle, away from the faded left side and the bottom edge. Defaults intentionally use a plain placeholder, never generated doll imagery. Use only once per page: this template supplies the page H1. Preview: [[Main Page]].
</noinclude>
</noinclude>

Latest revision as of 07:33, 9 November 2026

Welcome hero for Main Page. Parameters: welcome, heading, introduction, destination, link label, image (wiki filename), image description (alt text). Photos closer to 4:3 or 16:9 suit the frame: keep the subject in the middle, away from the faded left side and the bottom edge. Defaults intentionally use a plain placeholder, never generated doll imagery. Use only once per page: this template supplies the page H1. Preview: Main Page.