-<span class="infobox">
-Available in a [[!taglink /git]] repository.<br />
-Branch: <TMPL_VAR branch><br />
-Author: <TMPL_VAR author><br />
-</span>
-<TMPL_UNLESS NAME="branch">
+[[!templatebody <<ENDBODY
+<div class="infobox">
+Available in a [[!taglink /git]] repository [[!taglink branch|/branches]].<br />
+Branch: <TMPL_IF browse><a href="<TMPL_VAR browse>"></TMPL_IF><TMPL_VAR branch><TMPL_IF browse></a></TMPL_IF><br />
+<TMPL_IF author>Author: <TMPL_VAR author><br /></TMPL_IF>
+</div>
+ENDBODY]]
+