3,860
edits
(Corr.) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 23: | Line 23: | ||
====repo==== | ====repo==== | ||
;<big>Repository under /releases</big> | ;<big>Repository under /releases</big> | ||
Specify the repository you wish to link to, by using this parameter. The name must be written exactly as shown in the [http://hg.mozilla.org/releases list of repositories under /releases] | Specify the repository you wish to link to, by using this parameter. The name must be written exactly as shown in the [http://hg.mozilla.org/releases list of repositories under /releases.] | ||
;<big>Notes</big> | ;<big>Notes</big> | ||
* This parameter is '''required''' if you you want to link to a | * This parameter is '''required''' if you you want to link to a revision, and you specify its id using the parameter {{para|rev}}. | ||
* If this parameter is used, but {{para|rev}} is left out, the template will use the repository's name as link text. You can override this by specifying a custom link text, using the parameter {{para|text}}. | * If this parameter is used, but {{para|rev}} is left out, the template will use the repository's name as link text. You can override this by specifying a custom link text, using the parameter {{para|text}}. | ||
* If {{para|repo}} is left out, the template will output a link to the repositories list above, with the default link text "{{samp|Mercurial release repositories}}" or your costum link text. | * If {{para|repo}} is left out, the template will output a link to the repositories list above, with the default link text "{{samp|Mercurial release repositories}}" or your costum link text. | ||
Line 35: | Line 35: | ||
====rev==== | ====rev==== | ||
;<big>Revision id</big> | ;<big>Revision id</big> | ||
Enter the alphanumeric Mercurial revision id for the revision you wish to link to. | |||
;<big>Notes</big> | ;<big>Notes</big> | ||
* The parameter {{para|repo}} is '''required''' if you you want to use this parameter to link to a specific revision. If it is missing, the template will output a link to the repositories | * The parameter {{para|repo}} is '''required''' if you you want to use this parameter to link to a specific revision. If it is missing, the template will output a link to a list of the repositories under {{samp|/releases}}, with the default link text "{{samp|Mercurial release repositories}}" or your costum link text. | ||
* If this parameter is used correctly, i.e. together with {{para|repo}}, the template will use the revision's id as link text. You can override this by specifying a custom link text, using the parameter {{para|text}}. | * If this parameter is used correctly, i.e. together with {{para|repo}}, the template will use the revision's id as link text. You can override this by specifying a custom link text, using the parameter {{para|text}}. | ||
Line 63: | Line 63: | ||
| {{para|repo}} and {{para|rev}} || {{tlc|hgrel|repo{{=}}comm-beta|rev{{=}}baea280adc1c}} || {{hgrel|repo=comm-beta|rev=baea280adc1c}} || | | {{para|repo}} and {{para|rev}} || {{tlc|hgrel|repo{{=}}comm-beta|rev{{=}}baea280adc1c}} || {{hgrel|repo=comm-beta|rev=baea280adc1c}} || | ||
|- | |- | ||
| rowspan="2" | Custom text || {{tlc|hgrel|text{{=}}Index indiciorum thesauri in Mercurialis "releases" | | rowspan="2" | Custom text || {{tlc|hgrel|text{{=}}Index indiciorum thesauri in ramo Mercurialis "releases"}} || {{hgrel|text=Index indiciorum thesauri in ramo Mercurialis "releases"}} || | ||
|- | |- | ||
| {{tlc|hgrel|repo{{=}}comm-beta|rev{{=}}baea280adc1c|text{{=}}Follow-up to bug 999524}} || {{hgrel|repo=comm-beta|rev=baea280adc1c|text=Follow-up to bug 999524}} || | | {{tlc|hgrel|repo{{=}}comm-beta|rev{{=}}baea280adc1c|text{{=}}Follow-up to bug 999524}} || {{hgrel|repo=comm-beta|rev=baea280adc1c|text=Follow-up to bug 999524}} || | ||
Line 86: | Line 86: | ||
<includeonly> | <includeonly> | ||
<!-- Add categories below --> | <!-- Add categories below --> | ||
[[Category:Mozilla source code templates | [[Category:Mozilla source code templates]] | ||
[[Category:Mozilla link templates | [[Category:Mozilla link templates]] | ||
</includeonly> | </includeonly> |
edits