]> sipb.mit.edu Git - ikiwiki.git/blob - doc/templates/gitbranch.mdwn
Use templatebody for the templates in the basewiki and docwiki
[ikiwiki.git] / doc / templates / gitbranch.mdwn
1 [[!templatebody <<ENDBODY
2 <div class="infobox">
3 Available in a [[!taglink /git]] repository [[!taglink branch|/branches]].<br />
4 Branch: <TMPL_IF browse><a href="<TMPL_VAR browse>"></TMPL_IF><TMPL_VAR branch><TMPL_IF browse></a></TMPL_IF><br />
5 <TMPL_IF author>Author: <TMPL_VAR author><br /></TMPL_IF>
6 </div>
7 ENDBODY]]
8
9 This template is used to create an infobox for a git branch. It uses
10 these parameters:
11
12 <ul>
13 <li>branch - the name of the branch, prefixed with the name of one of the
14   remotes listed on the [[/git]] page and provided by the gitremotes script
15   (e.g. github/master)</li>
16 <li>author - the author of the branch</li>
17 </ul>