Template:Meerkat Challenge Badge/doc

From SCOUTS South Africa Wiki
Jump to navigation Jump to search

Usage

Returns a Meerkat Challenge Badge page with:

  • Badge image if it follows the naming convention: "Meerkat-challenge-badge-BadgeName.png"
  • Badge requirements
  • Theme
  • Resources
  • Links
  • See also
  • Meerkat Challenge Badge category

Syntax

{{Meerkat Challenge Badge|badge|requirements|theme|resources|links|seealso}}
{{Meerkat Challenge Badge
| badge = Name of Badge (for image)
| requirements = Ordered list of badge requirements
| theme = Description of Theme if applicable
| seealso = List of 'See also' items
| resources = Ordered list of additional resources
| links = Ordered list of additional links
}}


Examples

{{Meerkat Challenge Badge
| badge = Recycling
| seealso = 
*[[Hobby Meerkat 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:Meerkat Challenge Badges]] is included automatically
  • The 'See also' is included automatically:
==See also==
* [[Meerkat Challenge 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 {{Meerkat Challenge 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>.