Template:M-c/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{documentation subpage}} __NOTOC__ ==Usage== {{tlf|'''m-c'''}} creates a link to a revision in the repository <tt>mozilla-central</tt> in Mercurial. ==Parameters== There is...") |
(Corr.) |
||
| Line 38: | Line 38: | ||
{{#ifeq:{{SUBPAGENAME}}|sandbox|| | {{#ifeq:{{SUBPAGENAME}}|sandbox|| | ||
<!-- Add categories below, please --> | <!-- Add categories below, please --> | ||
[[Category:Mozilla source code templates | [[Category:Mozilla source code templates]] | ||
[[Category:Mozilla link templates | [[Category:Mozilla link templates]] | ||
}} | }} | ||
</includeonly> | </includeonly> | ||
Latest revision as of 10:11, 15 January 2015
Usage
{{m-c}} creates a link to a revision in the repository mozilla-central in Mercurial.
Parameters
There is only 1 parameter, which is unnamed and required.
Syntax
The template's syntax is
{{m-c|revision id }}
Required parameter
1
- Revision id
The alphanumeric Mercurial revision id for the revision you wish to link to. This parameter is unnamed, so no parameter name needs to be specified.
- Usage
{{m-c|1}}
Examples
Correct use
| Case | What you type | What you see |
|---|---|---|
| Revision id | {{m-c|2c951493eef5}} |
2c951493eef5 |
See also
- {{c-c}}: links to a revision in the repository comm-central in Mercurial.
- {{hg}}: links to a revision in the mozilla-central tree in Mercurial.
- {{rev}}: links to a revision in a custom repository in Mercurial.
- {{source}}: links to source code in the mozilla-central Mercurial tree, via the Mozilla France service in Mozilla Cross-Reference (MXR).
- {{SVN}}: links to a revision in Mozilla's source code browsing website for SVN.