Template:AGW Hero: Difference between revisions
No edit summary |
Update hero for redesigned homepage |
||
| Line 3: | Line 3: | ||
<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|The fan-run encyclopedia for anyone who loves American Girl dolls.}}}</p> | <p>{{{introduction|The fan-run encyclopedia for anyone who loves American Girl dolls.}}}</p> | ||
<div class="agw-button">[[{{{destination|Project:Browse}}}|{{{link label| | <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.