Open main menu

Changes

Template:Repo link/doc git source

1,195 bytes added, 09:11, 25 October 2017
Creation of the {{repo link/doc git source}} template. This is adapted from the FlightGear page http://wiki.flightgear.org/index.php?title=Template:Repo_link/doc_git_source&oldid=97049.
{{Informative template|1=
__NOTOC__
== Goal ==
This template is for creating links or URLs for the [[{{{label|MISSING}}}]] git version control repository. It is a subtemplate of the master {{tl|repo link}} template designed to be specific for the {{{label|MISSING}}} repository.

{{repo link/doc usage
| template = {{{repo|MISSING}}} source
| cmd = 1
| opt = 1
| protocol = 1
| login = 1
| type = 1
| branch = 1 | short_branch = b | default_branch_git{{#if:{{{branch|}}}||NULL}} = {{{branch}}}
| tag = 1
| path = 1 | short_path = f | pos_path = 1
| commit = 1 | short_commit = c
| line = 1 | short_line = l
| post = 1
| view = 1 | short_view = v
| text = 1 | short_text = t
| pre = 1
| simplepath = 1
| full = 1
| intro = All parameters are optional.
| sf = 1
| git = 1
}}

{{repo link/doc design intro}}<!--
-->{{repo link/doc design overview}}<!--
-->{{repo link/doc design sourceforge|user=0|git=1|svn=0}}<!--
-->{{repo link/doc plain text}}

== Examples ==

{{{examples|MISSING}}}

== Related templates ==
{{repo link/doc related}}

}}

[[Category:Repository link templates]]
Trusted, Bureaucrats
4,223

edits