The badges
tag is a direct child of the tinderbox
tag.
<badges limit="7">
[list of up to 7 badge names]</gallery>
The tag stores the names of (up to) the last seven badges applied in the current document as a Tinderbox semicolon-delimited list, e.g, "flag yellow;flag blue;ok". The first value is the oldest use, the last the most recent.