Difference between revisions of "Template:Commitdiff"

From VideoLAN Wiki
Jump to navigation Jump to search
(New parameter: accept optional "l" for label)
m (Fix default link label)
 
Line 1: Line 1:
<includeonly>{{Git link|p={{{p|vlc.git}}}|a=commitdiff|h={{{1|}}}|l={{{l|}}}}}</includeonly><noinclude>
+
<includeonly>{{#if:{{{l|}}}<!--
 +
            -->|{{Git link|p={{{p|vlc.git}}}|a=commitdiff|h={{{1|}}}|l={{{l}}}}}<!--
 +
            -->|{{Git link|p={{{p|vlc.git}}}|a=commitdiff|h={{{1|}}}}}<!--
 +
          -->}}</includeonly><noinclude>
  
 
Usage: <code>{{{{PAGENAME}}<nowiki>|SHA1 string}}</nowiki></code> e.g. <code>{{{{PAGENAME}}<nowiki>|72f3067a6fddcd30e0ee33928a0ec6622ed2e74b}}</nowiki></code> for {{{{PAGENAME}}|72f3067a6fddcd30e0ee33928a0ec6622ed2e74b}}
 
Usage: <code>{{{{PAGENAME}}<nowiki>|SHA1 string}}</nowiki></code> e.g. <code>{{{{PAGENAME}}<nowiki>|72f3067a6fddcd30e0ee33928a0ec6622ed2e74b}}</nowiki></code> for {{{{PAGENAME}}|72f3067a6fddcd30e0ee33928a0ec6622ed2e74b}}

Latest revision as of 22:33, 21 March 2019


Usage: {{Commitdiff|SHA1 string}} e.g. {{Commitdiff|72f3067a6fddcd30e0ee33928a0ec6622ed2e74b}} for [72f3067a6fddcd30e0ee33928a0ec6622ed2e74b]

See also