I'm not sure you need any fancy stuff for the tag frame or whether you want to add some icons (like in the actual badges), but in case you do, you can use the mdframed package:
\documentclass[12pt,a4paper]{article}
\usepackage[framemethod=TikZ]{mdframed}
\begin{document}
\global\mdfdefinestyle{tag}{%
innerlinewidth=2pt,innerlinecolor=red,%
middlelinewidth=3pt,middlelinecolor=white,%
outerlinewidth=2pt,outerlinecolor=blue,%
}
\begin{mdframed}[userdefinedwidth=4cm,style=tag]
this is my tag
\end{mdframed}
\end{document}
This is what the output will be:

As a note I'd add that this is also based on TikZ (see the global option framemethod=TikZ in the preamble when you load the package) and also, the width of the box has to be set manually in the example, but I'm sure a method to automate this exists.
EDIT: I just couldn't leave it like that and had to fiddle with my code to produce an extended version that recreates the badges on our beloved site. :) The style is still created with mdframed and the medal is drawn with TikZ. The 'badge' takes two arguments: metal and badge text. Enjoy! :)
\documentclass[12pt,a4paper]{article}
\usepackage{tikz}
\usepackage[framemethod=TikZ]{mdframed}
\global\mdfdefinestyle{tag}{%
innerlinewidth=1pt,innerlinecolor=black,%
middlelinewidth=2pt,middlelinecolor=white,%
outerlinewidth=1pt,outerlinecolor=black,%
backgroundcolor=black,fontcolor=white,%
}
\colorlet{gold}{yellow}
\colorlet{silver}{gray!20}
\colorlet{bronze}{orange}
\newcommand{\badge}[2]{%
\begin{mdframed}[userdefinedwidth=5.5cm,style=tag]
\tikz{\draw[very thin,gray!75,fill=#1] (0,0) circle (1ex);\pgfmathsetmacro{\triangleside}{sqrt(3)}\draw[very thin,gray!75] (0,1ex) -- ++(240:\triangleside ex) -- +(0:\triangleside ex) -- cycle;} #2
\end{mdframed}
}
\begin{document}
\badge{gold}{This is my \TeX\ badge}
\badge{silver}{This is my \TeX\ badge}
\badge{bronze}{This is my \TeX\ badge}
\end{document}
