Template:Banner/doc

From MansunWiki
Revision as of 14:55, 26 June 2015 by DarkMavis (Talk | contribs) (Documentation)

Jump to: navigation, search


Documentation

This template is used to generate the banners used on the MansunWiki, News and Spooky Action pages.

Usage

{{banner
|direction=left
|width=75%
|title=MansunWiki
|section=Destination of the Month
|section-link=Previous Destinations of the month
|image=Banner3.jpg
|quote=Welcome to MansunWiki, your home to all resources Mansun.  Check out our gigs, band gear and discography sections
}}

Parameters:

  • direction - determines which side of the banner the text should be aligned. Valid values are "left" or "right".
  • width - (optional) allows the CSS width property to be overridden if, for example, the banner has a long title. Sample values should be of the form "45%".
  • title - Page title for the banner.
  • section - Sub-section for the banner, usually "Destination of the Month", "Off the Beaten Path" or "Featured Travel Topic".
  • section-link - Link subject for the sub-section, usually "Previous Destinations of the month", "Previously Off the beaten path" or "Previous Featured travel topics".
  • image - The banner image, without the File: prefix. Example: "MohenjoDaroBanner1.jpg".
  • quote - 1-2 sentences of text to appear below the banner sub-section.