Template:Simgear commit: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Created page with "{{#if: {{{1|}}} <!-- Is the commit defined? --> | <!-- Yes, the commit is defined -->[http://sourceforge.net/p/flightgear/simgear/ci/{{{1|}}} <!-- -->{{#if: {{{t|}}} <!--...")
 
m (Typo)
Line 6: Line 6:
     -->{{{t}}}
     -->{{{t}}}
   | <!-- No, a custom label is not defined
   | <!-- No, a custom label is not defined
     -->FlightGear commit {{{1}}}
     -->SimGear commit {{{1}}}
   }}]
   }}]
  | <!-- No, the commit is not defined.  Throw an error.
  | <!-- No, the commit is not defined.  Throw an error.

Revision as of 07:44, 26 October 2015

{{simgear commit}} Missing parameter commit

The following template description is not displayed when the template is inserted in an article.

Goal

This template can be used when linking to summaries of commits to the FlightGear Git repository at SourceForge.

Usage

{{simgear commit|commit |t=}}
commit
The commit to link to. Mandatory
t
Optional custom link label

Examples

{{simgear commit|c1b579ec}}

SimGear commit c1b579ec

The surface light restriction {{simgear commit|1a752d28 |t=has been lifted}}.

The surface light restriction has been lifted.

Related templates

Commit link templates

Source link templates