Template:Repo link: Difference between revisions

Jump to navigation Jump to search
Added SourceForge support for the "view=raw" parameter setting. This will add "?format=raw" to the end of the URL, allowing for files to be downloaded.
(Full GitLab repository link support, including paths, branches, tags, commits, different views, and line numbers or ranges.)
(Added SourceForge support for the "view=raw" parameter setting. This will add "?format=raw" to the end of the URL, allowing for files to be downloaded.)
Line 60: Line 60:
           -->{{#if: {{{line|}}} | &#35;l{{{line}}} }}<!--            The optional line number. -->
           -->{{#if: {{{line|}}} | &#35;l{{{line}}} }}<!--            The optional line number. -->
           }}
           }}
        }}<!--
      -->{{#ifeq: {{{view|}}} | raw
          | ?format=raw
         }}
         }}
       }} <!--
       }} <!--

Navigation menu