Template:Repo link/doc usage: Difference between revisions

Jump to navigation Jump to search
Improved 'line' parameter documentation.
(Removed the inotes about the 'branch' and 'commit' parameters only being for SourceForge - these are now used for all repositories.)
(Improved 'line' parameter documentation.)
Line 1: Line 1:
  {{obr}}'''{{{template|MISSING}}}'''<!--
  {{obr}}'''{{{template|MISSING}}}'''<!--
-->{{#ifeq: {{{site|}}}        | 1 | <nowiki></nowiki>
-->{{#ifeq: {{{site|}}}        | 1 | <nowiki></nowiki>
Line 116: Line 117:
}}{{#ifeq: {{{line|}}} | 1 |
}}{{#ifeq: {{{line|}}} | 1 |
; line: The line number(s) of the file to display.
; line: The line number(s) of the file to display.
{{#ifeq: {{{sf|}}} | 1 |
{{#ifeq: {{{sf|{{{go|}}}}}} | 1 |
:* For SourceForge and the Gitorious archive:  Use a single line number.
:* For {{#ifeq: {{{sf|}}} | 1
        | SourceForge<!--
      -->{{#ifeq: {{{go|}}} | 1 |<nowiki></nowiki> and <nowiki></nowiki>}}
      }}<!--
    -->{{#ifeq: {{{go|}}} | 1 | the Gitorious archive}}<!--
    -->:  Use a single line number.
}}{{#ifeq: {{{gh|}}} | 1 |  
}}{{#ifeq: {{{gh|}}} | 1 |  
:* For GitHub either use:
:* For GitHub either use:

Navigation menu