Template:Repo link/doc commit: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Added the 'type' parameter to allow switching between git and svn.)
(Improved the examples for the intended inline usage.)
Line 15: Line 15:


== Examples ==
== Examples ==
  {{obr}}{{{repo|MISSING}}} commit
  {{obr}}{{{repo|MISSING}}} commit {{!}} {{{eg1commit|MISSING}}}{{cbr}}
{{!}} {{{eg1commit|MISSING}}}
{{cbr}}


{{{{{repo|MISSING}}} commit
{{{{{repo|MISSING}}} commit | {{{eg1commit|MISSING}}} }}
| {{{eg1commit|MISSING}}}
}}


  {{{eg2intro|}}}
  {{{eg2intro|MISSING}}} {{obr}}{{{repo|MISSING}}} commit {{!}} {{{eg2commit|MISSING}}} {{!}} text = {{{eg2text|MISSING}}}{{cbr}}
{{obr}}{{{repo|MISSING}}} commit
{{!}} {{{eg2commit|MISSING}}}
{{!}} text = {{{eg2text|MISSING}}}
{{cbr}}


{{{eg2intro|}}}
{{{eg2intro|MISSING}}} {{{{{repo|MISSING}}} commit | {{{eg2commit|MISSING}}} | text = {{{eg2text|MISSING}}} }}.
{{{{{repo|MISSING}}} commit
| {{{eg2commit|MISSING}}}
| text = {{{eg2text|MISSING}}}}}.


== Related templates ==
== Related templates ==

Revision as of 18:11, 25 February 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.

Usage

{{MISSING commit
| commit
| text =
}}
commit
The commit identifier to link to (mandatory).
text
Optional link text.

Examples

{{MISSING commit | MISSING}}

Template:MISSING commit

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

MISSING Template:MISSING commit.

Related templates