3,860
edits
(Added template link.) |
(Corr.) |
||
Line 9: | Line 9: | ||
===Syntax=== | ===Syntax=== | ||
The template's syntax is | The template's syntax is | ||
* {{tlc|rev|'' | * {{tlc|rev|''Mercurial repository'' |''revision id'' }} | ||
===Required parameters=== | ===Required parameters=== | ||
====1==== | ====1==== | ||
;<big> | ;<big>Mercurial repository</big> | ||
The | The Mercurial repository, in which the revision you want to link to is registered (e.g. <tt>mozilla-central</tt>). The parameter is unnamed, so no parameter name needs to be specified. | ||
;<big>;Notes</big> | |||
* This parameter must be placed before the 2nd parameter. | |||
;Usage | ;<big>;Usage</big> | ||
* {{tlc|rev|''' | * {{tlc|rev|1|'''Mercurial repository'''}} | ||
====2==== | ====2==== | ||
;<big> | ;<big>Revision id</big> | ||
The Mercurial | The alphanumeric Mercurial revision id for the revision you wish to link to. The parameter is unnamed, so no parameter name needs to be specified. | ||
; | ;<big>;Notes</big> | ||
* This parameter must be placed | * This parameter must be placed before the 1st parameter. | ||
* The input for this parameter also functions as the link text. | * The input for this parameter also functions as the link text. | ||
;Usage | ;<big>;Usage</big> | ||
* {{tlc|rev | * {{tlc|rev|'''revision id'''}} | ||
==Examples== | ==Examples== | ||
Line 36: | Line 39: | ||
! Case !! What you type !! What you see | ! Case !! What you type !! What you see | ||
|- | |- | ||
| Mercurial repository || {{tlc|rev | | Mercurial repository || {{tlc|rev|comm-central|ba0c4f045733}} || {{rev|comm-central|ba0c4f045733}} | ||
|} | |} | ||
Line 44: | Line 47: | ||
! Case !! What you type !! What you see !! Notes | ! Case !! What you type !! What you see !! Notes | ||
|- | |- | ||
| No/empty | | No/empty 1st parameter || {{tlc|rev|93c3fee6ec69}} || {{rev|93c3fee6ec69}} || Broken link | ||
|- | |||
| No/empty 2nd parameter || {{tlc|rev|comm-central}} || {{rev|comm-central}} || Broken link | |||
|} | |} | ||
edits