summaryrefslogtreecommitdiff
path: root/doc/templates
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2009-07-25 19:55:22 +0100
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2009-07-25 19:55:22 +0100
commitf237ea1b9a78bb85f26cbbead34e734e3f3fb198 (patch)
treef2d203dca0a8f3ee9c2236ab1282505f6024c176 /doc/templates
parent18a58135fc6eabb805622add87ed3038d50c6307 (diff)
Add [[!template id=gitbranch]] for things available from git, and use it
The uses are somewhat biased towards my own branches, because I know where to find them and what they do :-) but I've tagged some other people's as well.
Diffstat (limited to 'doc/templates')
-rw-r--r--doc/templates/gitbranch.mdwn18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/templates/gitbranch.mdwn b/doc/templates/gitbranch.mdwn
new file mode 100644
index 000000000..fcce925d9
--- /dev/null
+++ b/doc/templates/gitbranch.mdwn
@@ -0,0 +1,18 @@
+<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">
+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>
+
+It also automatically tags the branch with `/git`.
+</TMPL_UNLESS>