Difference between revisions of "Template:Git file"

Jump to navigation Jump to search
22 bytes added ,  06:20, 21 December 2013
use #if for branch
>Shirayuki
({{Category|External link templates}})
>Legoktm
(use #if for branch)
Line 1: Line 1:
[https://git.wikimedia.org/{{{action|blob}}}/{{urlencode:{{{project|mediawiki/core}}}}}.git/{{{branch|HEAD}}}/{{urlencode:{{{file|}}}}}{{#if:{{{line|}}}
[https://git.wikimedia.org/{{{action|blob}}}/{{urlencode:{{{project|mediawiki/core}}}}}.git/{{#if:{{{branch|}}}|{{{branch}}}|HEAD}}/{{urlencode:{{{file|}}}}}{{#if:{{{line|}}}
   |#L{{{line}}}
   |#L{{{line}}}
}} {{#if:{{{text|}}}
}} {{#if:{{{text|}}}
Anonymous user

Navigation menu