Template:Interest Badge Header

From SCOUTS South Africa Wiki
Jump to navigation Jump to search


Template documentation[view] [edit] [history] [purge]

Usage

Returns an Interest Badge Header page with:

  • Badge image if parameter badgeimage is provided, otherwise badge is used if it follows the naming convention: "Scout-interest-badge-BadgeName.jpg"

Syntax

{{Interest Badge Header|badge|badgeimage}}


{{Interest Badge Header
| badge = Name of Badge
| badgeimage = Full Badge File.jpg
}}


Examples

{{Interest Badge Header
| badge = Electrician
| badgeimage = Electrician Scout Interest Badge.jpg
}}

Notes

  • The [[Category:Scout Interest Badges]] is included automatically
  • This should be used in conjunction with Template:Interest Badge Footer
  • The badge image is automatically included if the 'badge' parameter name matches the name of the existing image.
    • Capital letters must match exactly. First Aid ≠ First aid
    • Some badges have different names, e.g. Disaster Risk Management badge is named Civil Defence.
  • Any notes to the badge, or additional quotes can be added before the template starts. I.e. before the {{Interest Badge Header section.
  • See w3schools - Lists for help on creating nested lists which is often needed for badge requirements. Please remember to close off the <li> and <ol> tags with </li> and </ol>.

Use this template before the badge requirements

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
badgebadge

Badge name

Stringrequired
badgeimagebadgeimage

Badge image

Filerequired