Template:Repo link/doc usage: Difference between revisions

Jump to navigation Jump to search
Extension of the Gitorious 'view' parameter description to include merge requests.
(Addition of the merge request parameter 'mr'.)
(Extension of the Gitorious 'view' parameter description to include merge requests.)
Line 505: Line 505:
:* The GitLab interface for {{param|type|git web}} is not yet implemented in the master {{tl|repo link}} template, so the {{param|view}} parameter currently does nothing.
:* The GitLab interface for {{param|type|git web}} is not yet implemented in the master {{tl|repo link}} template, so the {{param|view}} parameter currently does nothing.
       }}{{#ifeq: {{{go|}}} | 1 |  
       }}{{#ifeq: {{{go|}}} | 1 |  
:* For the Gitorious archive use one of {{param||summary}}, {{param||shortlog}}, {{param||log}}, {{param||blob}}, {{param||commit}}, {{param||commitdiff}}, {{param||patch}}, {{param||tree}}, {{param||history}}, or {{param||raw}}.  The default is {{param||blob}} if a path is given, {{param||commit}} if a commit is given, or {{param||summary}} otherwise.
:* For the Gitorious archive use one of {{param||summary}}, {{param||shortlog}}, {{param||log}}, {{param||blob}}, {{param||commit}}, {{param||commitdiff}}, {{param||patch}}, {{param||tree}}, {{param||history}}, or {{param||raw}}.  The default is {{param||commit}} if a merge request is supplied, {{param||blob}} if a path is given, {{param||commit}} if a commit is given, or {{param||summary}} otherwise.
       }}
       }}
  {{!}} style="text-align: center" {{!}} {{#if: {{{short_view|}}} | {{param|{{{short_view}}}}}}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{short_view|}}} | {{param|{{{short_view}}}}}}}

Navigation menu