Difference between revisions of "Template:Repo link/doc design generic"

From relax wiki
Jump to navigation Jump to search
m (1 revision imported)
m (Switch from the imported {{informative template}} to the relax {{template info}} template)
 
Line 22: Line 22:
 
<noinclude>
 
<noinclude>
  
{{Informative template|1=
+
{{template info|1=
 
== Goal ==
 
== Goal ==
  

Latest revision as of 13:38, 23 October 2020

Site: Generic

If the site parameter does not match one of the know open source infrastructures, then an attempt will be made to create a generic repository link. The base URL for generic repositories is:

<protocol>://[<login>@]<site>/<user|proj>[/<repo>]

Generic repository <URL> for 'type=git'

For this parameter value, the complete <URL> value will be the base URL.

Generic repository <URL> for 'type=git web'

This is not implemented yet. Please add new examples to allow this template to be extended.

Generic repository <URL> for 'type=svn'

For this parameter value, the complete <URL> value will be:

<protocol>://[<login>@]<site>/<user|proj>[/<repo>]/<branch>

The value of branch defaults to trunk.

Generic repository <URL> for 'type=svn web'

This is not implemented yet. Please add new examples to allow this template to be extended.

Generic repository URL <TEXT>

This is not implemented yet. Please add new examples to allow this template to be extended.


Template documentation

Goal

To provide documentation of the design of the {{repo link}} family of templates. This is only for use within documentation of the subtemplates.