Template:Cub Interest Badge

From SCOUTS South Africa Wiki
Jump to navigation Jump to search


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

Usage

Returns a Cub Interest Badge page with:

  • Badge image if it follows the naming convention: "Cub-interest-badge-BadgeName.png"
  • Badge requirements
  • Resources
  • Links
  • See also
  • Cub Interest Badge category

Syntax

{{Cub Interest Badge|badge|seealso|requirements}}
{{Cub Interest Badge
| badge = Name of Badge (for image)
| seealso = List of 'See also' items
| requirements = Ordered list of badge requirements
| resources = Ordered list of additional resources
| links = Ordered list of additional links
}}


Examples

{{Cub Interest Badge
| badge = Engineer
| seealso = 
*[[Swimmer Cub Interest Badge|Swimmer Cub Interest Badge]]
| requirements = 
<ol>
	<li>Lists the common causes of electrical accidents.</li>
	<li>Demonstrate that you know the international colour code for three-core flex.</li>
	<li>Correctly join and tape two pieces of insulated wire.</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>
| resources= 
* Resource 1
* Resource 2
| links = 
* Link 1
* Link 2
}}

Notes

  • The [[Category:Cub Interest Badges]] is included automatically
  • The 'See also' is included automatically:
==See also==
* [[Cub 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 named Civil Defence.
  • Any notes to the badge, or additional quotes can be added before the template starts. I.e. before the {{Cub Interest 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> and <ol> tags with </li> and </ol>.