Template:Infobox pipe band/doc

From IxWiki
Revision as of 15:56, 25 April 2020 by >Vanisaac (→‎TemplateData: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

Location: For "United States" and "United Kingdom", it is preferred that they be abbreviated "U.S." and "UK", but political subdivisions should never be (never "MA" for "Massachusetts", "ON" for "Ontario", etc.). See Notes[1] for location details.

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]]
{{{caption}}}
Established{{{established}}}
Disbanded{{{disbanded}}}
Location{{{location}}}
Grade{{{grade}}}
Pipe major{{{major}}}
Drum major{{{dmajor}}}
Drum sergeant{{{sergeant}}}
Tartan{{{tartan}}}
Notable honours{{{honours}}}
Website{{{website}}}
Sponsor{{{sponsor}}}
{{Infobox pipe band
| name = <!-- full name of the band -->
| image = 
| image_size = 
| alt = 
| caption =
| established = 
| disbanded =
| location = 
| grade = <!-- current grade -->
| major = <!-- current pipe major -->
| dmajor = <!-- drum major - not sergeant -->
| sergeant = <!-- leading drummer -->
| tartan =
| honours = <!-- major achievements -->
| website = 
| sponsor = <!-- current sponsor of the band -->
}}

Example

Simon Fraser University Pipe Band
The band in George Square, Glasgow
Establishedoriginally 1966, re-established 1981
LocationBurnaby, British Columbia
Grade1
Pipe majorAlan Bevan
Drum sergeantJ. Reid Maxwell
TartanFraser
Notable honoursWorld Champions: 1995, 1996, 1999, 2001, 2008, 2009
Websitewww.sfupb.com
{{Infobox pipe band
| name = Simon Fraser University Pipe Band
| image = Simon Fraser University Pipe Band in George Square (2008).jpg
| caption = The band in George Square, Glasgow
| established = originally 1966, re-established 1981
| disbanded =
| location = [[Burnaby]], [[British Columbia]]
| grade = 1
| major = [[Alan Bevan]]
| sergeant = J. Reid Maxwell
| tartan = Fraser
| honours = '''World Champions:''' 1995, 1996, 1999, 2001, 2008, 2009
| website = {{URL|http://www.sfupb.com/}}
}}

Notes

  1. As per RfC "Naming countries in infoboxes": When identifying a location, city or region in the United States or United Kingdom, the preferred approach is to use the country abbreviations allowed by MOS:ACRO, such as "Portsmouth, New Hampshire, U.S." and "Cardiff, Wales, UK", rather than spelling out the full country name. Avoid using abbreviations for states or provinces in all nations. New Hampshire rather than NH, New South Wales rather than NSW, or British Columbia rather than BC (see MOS:POSTABBR). Cities such as New York City and London may be rendered as "New York City, U.S." and "London, UK" or simply "New York City" and "London". Also, these should not be linked when the context makes it clear (see MOS:OVERLINK). If only the country name is included, it may be written out in full.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox pipe band in articles based on its TemplateData.

TemplateData for Infobox pipe band

Generates an infobox for a Pipe Band.

Template parameters

ParameterDescriptionTypeStatus
namename

Name of the pipe band

Unknownoptional
imageimage

An image of the band

Fileoptional
image sizeimage size

Image size in pixels

Unknownoptional
image_sizeimage_size

no description

Unknownoptional
imagesizeimagesize

no description

Unknownoptional
altalt

no description

Unknownoptional
image captionimage caption

A caption for the image - time and place of picture.

Unknownoptional
captioncaption

no description

Unknownoptional
image_captionimage_caption

no description

Unknownoptional
establishedestablished

The year the band was founded. If it has been refounded, give both years

Stringoptional
disbandeddisbanded

If the band has disbanded, and a well-specified year can be given.

Unknownoptional
locationlocation

Where the band typically meets for practice, or where it is otherwise based.

Page nameoptional
gradegrade

The grade the band currently plays in, if it competes.

Numberoptional
majormajor

The Pipe Major - leading piper - in the band.

Unknownoptional
dmajordmajor

The drum major - the person with the mace.

Unknownoptional
sergeantsergeant

The leading drummer.

Unknownoptional
tartantartan

The tartan the band wears.

Stringoptional
honourshonours

Notable awards won by the band.

Stringoptional
websitewebsite

The website - normally the URL template is used.

Unknownoptional
footnotesfootnotes

no description

Unknownoptional
sponsorsponsor

Current sponsor of the band (if notable)

Stringoptional