Template:Repo link: Difference between revisions

Jump to navigation Jump to search
Tried switching to {{;}} for fixing the Gitorious links in the aircraft infoboxes.
(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.)
(Tried switching to {{;}} for fixing the Gitorious links in the aircraft infoboxes.)
Line 352: Line 352:
                   }}
                   }}
               }}<!--
               }}<!--
     -->{{#if: {{{path|}}} | &#59;f={{{path|}}}}}<!--                The file or directory path.
     -->{{#if: {{{path|}}} | {{;}}f={{{path|}}}}}<!--                The file or directory path.
     -->{{#if: {{{commit|{{{tag|{{{branch|{{{mr|}}}}}}}}}}}} <!--    The commit, tag, branch, or merge request query string. -->
     -->{{#if: {{{commit|{{{tag|{{{branch|{{{mr|}}}}}}}}}}}} <!--    The commit, tag, branch, or merge request query string. -->
         | {{#if: {{{view|}}}
         | {{#if: {{{view|}}}
             | {{#switch: {{{view|}}}
             | {{#switch: {{{view|}}}
                 | blob | raw | tree = &#59;hb=
                 | blob | raw | tree = {{;}};hb=
                 | #default = &#59;h=
                 | #default = {{;}}h=
               }}
               }}
             | {{#if: {{{path|}}}
             | {{#if: {{{path|}}}
                 | &#59;hb=
                 | {{;}}hb=
                 | &#59;h=
                 | {{;}}h=
               }}
               }}
           }}
           }}

Navigation menu