Template:Scoutcraft Badge/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Scoutcraft Badge. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Returns a Scoutcraft Badge page with:
- Badge image if it follows the naming convention: "Scoutcraft-badge-BadgeName.jpg"
- Badge pdf if it follows the naming convention: "ScoutBadgeBook-Scoutcraft-BadgeName.pdf"
- Badge requirements
- See also
- Scoutcraft Badges category
Syntax
{{Scoutcraft Badge|badge|seealso|requirements|pdf}}
{{Scoutcraft Badge | badge = Name of Badge (for image) | seealso = List of 'See also' items | intro = Optional introduction that appears before 'Badge Requirements' | requirements = Ordered list of badge requirements | pdf = Optional name of PDF file, in case name is different to 'badge' }}
Examples
{{Scoutcraft Badge | badge = Air Planner | pdf = Air Planner | seealso = *[[Aviation Skills Scoutcraft Badge]] | intro = This is an introduction. | requirements = <ol> <li>Lists the xyz.</li> <li>Be able to fly a fighter jet on your own.</li> <li>Refuel Air Force One.</li> <li>Do the following sub items: <ol type="a"> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ol> </li> </ol> }}
Notes
- The [[Category:Scoutcraft Badges]] is included automatically
- The 'See also' is included automatically:
==See also== * [[Scout Interest Badges]]
- If you want to add additional See Also items to the list, add them to the 'seealso' parameter in list format, e.g.
| seealso = *[[Item1]] *[[Item2]] *[[Item3]]
- 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 names Civil Defence.
- The PDF file is included automatically. You need only include 'pdf' parameter if the name differs from the badge image.
- Any notes to the badge, or additional quotes can be added before the template starts. I.e. before the {{Scoutcraft Badge section.
- See w3schools - Lists for help on creating nested lists which is often needed for badge requirements. Please remember to close off the
<li>
tags with</li>
.