Template:Repo link: Difference between revisions

Jump to navigation Jump to search
Use internal links for SourceForge, GitHub, GitLab, and Gitorious. A master template should avoid external links.
(Fix for the GitHub 'type=git' documentation.)
(Use internal links for SourceForge, GitHub, GitLab, and Gitorious. A master template should avoid external links.)
Line 343: Line 343:


; site: Points the template to a repository host:
; site: Points the template to a repository host:
:* For [http://sourceforge.net/ SourceForge] use either '''s''', '''sf''' or '''sourceforge'''.
:* For [[SourceForge]] use either '''s''', '''sf''' or '''sourceforge'''.
:* For [https://github.com/ GitHub] use either '''gh''', '''gith''' or '''github'''.
:* For [[GitHub]] use either '''gh''', '''gith''' or '''github'''.
:* For [https://about.gitlab.com/ GitLab] use either '''gl''', '''gitl''' or '''gitlab'''.
:* For [[GitLab]] use either '''gl''', '''gitl''' or '''gitlab'''.
:* For the [https://gitorious.org/ Gitorious] archive use either '''g''', '''gito''' or '''gitorious'''.
:* For the [[Gitorious]] archive use either '''g''', '''gito''' or '''gitorious'''.
:* For generic repositories, the '''site''' parameter will be interpreted as the domain name.
:* For generic repositories, the '''site''' parameter will be interpreted as the domain name.


Navigation menu