Template:Repo link/doc usage: Difference between revisions

Jump to navigation Jump to search
Added the Gitorious 'patch' view.
(Assume a 4 character parameter name for param1, param2, and param3. The formatting however will require activation of the {{#len:string}} string function.)
(Added the Gitorious 'patch' view.)
Line 486: Line 486:
:* 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||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||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