Template:GoogleCodeDownload/doc
From MediaWiki.org
| This is a documentation subpage for Template:GoogleCodeDownload (see that page for the template itself). It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
[edit] Usage
Transclude the template inside an Extension article to create Google Code Subversion links. It is specifically designed to provide links for the download argument used in Template:Extension and categorizes into Category:Extensions in Google Code version control.
e.g. {{GoogleCodeDownload|SyntaxHighlight_GeSHi}}
- Note: Spaces must be padded with '_' underscores.
To show the link to the files/snapshot, add the snapshot=1 parameter. This is useful when an package the extension as a download.
e.g. {{WikimediaDownload|GoogleCodeDownload|snapshot=1}}
- Version control systems support
This template supports multipul forms of the VCS options that Google Code support, to use this, activate the |vcs= parameter. The available options are:
- svn (Template default) (Category:Extensions in Google Code version control (Svn))
- git (Category:Extensions in Google Code version control (Git))
- mercurial (Category:Extensions in Google Code version control (Mercurial))