6,566
edits
(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|}}} | | -->{{#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 = | | blob | raw | tree = {{;}};hb= | ||
| #default = | | #default = {{;}}h= | ||
}} | }} | ||
| {{#if: {{{path|}}} | | {{#if: {{{path|}}} | ||
| | | {{;}}hb= | ||
| | | {{;}}h= | ||
}} | }} | ||
}} | }} |