ikiwiki/doc/templates/gitbranch.mdwn

18 lines
641 B
Plaintext
Raw Permalink Normal View History

[[!templatebody <<ENDBODY
<div class="infobox">
Available in a [[!taglink /git]] repository [[!taglink branch|/branches]].<br />
2014-02-21 19:35:54 +01:00
Branch: <TMPL_IF browse><a href="<TMPL_VAR browse>"></TMPL_IF><TMPL_VAR branch><TMPL_IF browse></a></TMPL_IF><br />
2014-02-21 19:35:02 +01:00
<TMPL_IF author>Author: <TMPL_VAR author><br /></TMPL_IF>
</div>
ENDBODY]]
This template is used to create an infobox for a git branch. It uses
these parameters:
<ul>
<li>branch - the name of the branch, prefixed with the name of one of the
remotes listed on the [[/git]] page and provided by the gitremotes script
(e.g. github/master)</li>
<li>author - the author of the branch</li>
</ul>