Template:Repo link/doc commit: Difference between revisions
Jump to navigation
Jump to search
(Added an example for all parameters being numbered parameters.) |
(Added that this is a subtemplate of {{repo link}}.) |
||
Line 2: | Line 2: | ||
__NOTOC__ | __NOTOC__ | ||
== Goal == | == Goal == | ||
This template can be used when linking to summaries of commits for the [[{{{label|MISSING}}}]] {{{type|git}}} repository at SourceForge. | This template can be used when linking to summaries of commits for the [[{{{label|MISSING}}}]] {{{type|git}}} repository at SourceForge. It is a subtemplate of the master {{tl|repo link}} template designed to link to specific version control commits. | ||
== Usage == | == Usage == |
Revision as of 23:48, 5 March 2016
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
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}}
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
|