Open main menu

Changes

Template:Repo link/doc git url

1,244 bytes added, 09:25, 25 October 2017
Creation of the {{repo link/doc git url}} template. This is adapted from the FlightGear page http://wiki.flightgear.org/index.php?title=Template:Repo_link/doc_git_url&oldid=97064.
{{Informative template|1=
__NOTOC__
== Goal ==
This template is for creating direct URLs for the [[{{{label|MISSING}}}]] git version control repository. This is equivalent to the {{tl|{{{repo|MISSING}}} source}} template with the {{param|full}} parameter set to {{param||1}}. 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}}} url
| 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
| intro = All parameters are optional.
| sf = 1
| git = 1
| break = 0
}}

{{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,228

edits