Difference between revisions of "Template:Git file"
m
Reverted edits by 180.252.94.41 (talk) to last version by Mainframe98
>Ciencia Al Poder m (Reverted edits by 180.252.94.41 (talk) to last version by Mainframe98) |
|||
Line 1: | Line 1: | ||
{{ | [[phab:/r/p/{{{project|mediawiki/core}}};{{#switch:{{{action|}}} | ||
{{ | |raw|browse=browse | ||
{{ | |tree=browse| | ||
| | |#default= {{{action|browse}}} | ||
| | }}/{{#if:{{{branch|}}} | ||
| | |{{#ifeq:{{{branch|}}}|HEAD|master|{{{branch}}}}} | ||
| | |master | ||
| | }}/{{{file|}}}{{#if:{{{sha|}}} | ||
| | |%3b{{{sha}}} | ||
}}{{#if:{{{line|}}} | |||
|${{{line}}} | |||
}}{{#ifeq:{{{action|}}}|raw | |||
|?view=raw | |||
| | |||
}}{{!}}{{#if:{{{text|}}} | |||
|{{{text}}} | |||
}} | |{{{file}}} | ||
| | }}]]<!-- | ||
| | -->{{#ifeq:{{{action|}}}|blob_plain | ||
|<span style="display:none">[[Template:Git file/blob_plain]]</span>}}<!-- | |||
-->{{#ifeq:{{{action|}}}|shortlog | |||
|<span style="display:none">[[Template:Git file/shortlog]]</span>}}<noinclude> | |||
{{doc}} | |||
<small>Maintenance: | |||
[[Special:WhatLinksHere/Template:Git file/blob_plain|blob_plain]], | |||
[[Special:WhatLinksHere/Template:Git file/shortlog|shortlog]], [[Module:Callsigns]]</small> | |||
}} | {{Category|External link templates}} | ||
</noinclude> | |||
| | |||
| | |||
}} | |||