Template:Banner/doc
From MozillaWiki
Usage
Mozilla product banner templates |
---|
FIREFOX |
{{FxBanner}} (base) |
{{FxBannerRelease}} |
{{FxBannerBeta}} |
{{FxBannerAurora}} |
{{FxBannerNightly}} |
FIREFOX OS |
{{FxOSBanner}} (base) |
{{FxOSBannerRelease}} |
{{FxOSBannerBeta}} |
{{FxOSBannerAurora}} |
{{FxOSBannerNightly}} |
SEAMONKEY |
{{SMBanner}} (base) |
{{SMBannerRelease}} |
{{SMBannerBeta}} |
{{SMBannerAurora}} |
{{SMBannerNightly}} |
THUNDERBIRD |
{{TbBanner}} (base) |
{{TbBannerRelease}} |
{{TbBannerBeta}} |
{{TbBannerAurora}} |
{{TbBannerNightly}} |
{{banner}} is a metatemplate for creating banner template bases, that in turn can be used to create banner templates informing on official Mozilla product releases. See the list of templates to the right for existing banner templates based on this metatemplate.
Parameters
There are 13 parameters in total, all named and none of which is required for the template to work.
- List of parameters
Template parameters | |||
---|---|---|---|
Element | Parameter | Description | Default value |
Box | bgcolor |
Background colour | #ccc |
color |
Text colour | black | |
Image | logo |
Product logotype | null |
Text | product |
Mozilla product | null |
version |
Product version | null | |
gecko |
Gecko version | null | |
type |
Product release type | merge | |
release_date |
Release date | null | |
merge_date |
Date of merging | null | |
merge_week |
Week of merging | null | |
current_channel |
Current channel in the development chain | null | |
next_channel |
Next channel in the development chain | another |
Syntax
The template's syntax is
{{banner|bgcolor= |color= |logo= |product= |version= |gecko= |type= |release_date= |current_channel= |merge_date= |merge_week= |next_channel= }}
When creating a new product banner base, you should include all relevant parameters, even those you may not need to use for the base template itself. You might need the extra options in subsequent templates.
See also
- {{admon}}: four messagebox templates for four different message types.
- {{admon/caution}}
- {{admon/important}}
- {{admon/note}}
- {{admon/tip}}
- {{message}}: base template for creating a custom message box.
- {{message/box}}: a more complex, but also more versatile version of {{message}}.
- {{label}}: for important information. Use with caution!
- {{warning}}: for warning messages. Use with caution!
- {{blackboxwarning}}: for extremely important warning messages. Use only if absolutely necessary!