More actions
documentation subpage for Template:Banner.
This is a
In most cases it contains usage information, example, categories and other content that is not part of the original template page.
This template is used to generate the banners used on the Main Page.
Usage
{{banner |direction=right |width=20% |title=Aiming Drill |image=Aiming Drill.jpg |quote="This is how you do it lads." An aiming drill staged for the photographer }}
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: "Aiming Drill.jpg".
- quote - 1-2 sentences of text to appear below the banner sub-section.