Template:Repo link/doc commit

From FlightGear wiki
< Template:Repo link
Revision as of 18:54, 6 March 2016 by Bugman (talk | contribs) (Removal of the 'Usage' section title, as this is provided by the {{repo link/doc usage}} template.)
Jump to navigation Jump to search
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 for the MISSING git repository at SourceForge. It is a subtemplate of the master {{repo link}} template designed to link to specific version control commits.

Usage

{{MISSING commit
| commit
| text       =
}}

The parameters are:

Parameter Description Abbreviated
parameter
Numbered
parameter
Status
commit The commit identifier (git hash or svn revision number). This defaults to HEAD. 1 mandatory
text Text to display as the link label. t 2 optional

Examples

Auto-generated text

{{MISSING commit | MISSING}}

Template:MISSING commit

User supplied text

MISSING {{MISSING commit | MISSING | text = MISSING}}.

MISSING Template:MISSING commit .

Parameter alias

MISSING {{MISSING commit | MISSING | t = MISSING}}.

MISSING Template:MISSING commit .

Numbered parameters

MISSING {{MISSING commit | MISSING | MISSING}}.

MISSING Template:MISSING commit .

Related templates