Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:GitHub Repository: Difference between revisions

Template page
Created page with "<includeonly>{{#if:{{{1|}}}|[https://github.com/{{{1}}}/{{#if:{{{branch|}}}{{{file|}}}|{{#if:{{{file|}}}|blob|tree}}/{{{branch|master}}}/{{{file|}}}{{#if:{{{file|}}}|{{#if:{{{line|}}}|#L{{{line}}}}}}}}} {{{1}}}{{#if:{{{branch|}}}|@<code>{{{branch}}}}}{{#if:{{{file|}}}|:/{{{file}}}}}{{#if:{{{file|}}}|{{#if:{{{line|}}}|#L{{{line}}}}}}}]|{{error|{{Tl|GitHub Repository}}: Missing parameter 1 (repository)}}}}</includeonly><noinclude>{{doc}}</noinclude>"
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|[https://github.com/{{{1}}}/{{#if:{{{branch|}}}{{{file|}}}|{{#if:{{{file|}}}|blob|tree}}/{{{branch|master}}}/{{{file|}}}{{#if:{{{file|}}}|{{#if:{{{line|}}}|#L{{{line}}}}}}}}} {{{1}}}{{#if:{{{branch|}}}|@<code>{{{branch}}}}}{{#if:{{{file|}}}|:/{{{file}}}}}{{#if:{{{file|}}}|{{#if:{{{line|}}}|#L{{{line}}}}}}}]|{{error|{{Tl|GitHub Repository}}: Missing parameter 1 (repository)}}}}</includeonly><noinclude>{{doc}}</noinclude>
<includeonly>{{#if:{{{1|}}}|{{#ifeq:{{#if:{{{branch|}}}|Y|B}}|{{#if:{{{commit|}}}|Y|C}}|{{error|1={{Tl|GitHub Repository}}: Found both <code>&#x007C;branch=</code> and <code>&#x007C;commit=</code>}}|[https://github.com/{{{1}}}/{{#if:{{{branch|{{{commit|}}}}}}{{{file|}}}|{{#if:{{{file|}}}|blob|tree}}/{{{branch|master}}}/{{{file|}}}{{#if:{{{file|}}}|{{#if:{{{line|}}}|&#x0023;L{{{line}}}}}}}}} {{{1}}}{{#if:{{{branch|{{{commit|}}}}}}|@<code>{{{branch|{{#invoke:String|sub|s={{{commit}}}|j=7}}}}}</code>}}{{#if:{{{file|}}}|&#x003A;/{{{file}}}}}{{#if:{{{file|}}}|{{#if:{{{line|}}}|<nowiki>#</nowiki>L{{{line}}}}}}}]}}|{{error|{{Tl|GitHub Repository}}: Missing parameter 1 (repository)}}}}</includeonly><noinclude>{{doc}}</noinclude>

Latest revision as of 10:53, 7 June 2024