Template:WikimediaDownload/doc
| This is a documentation subpage for Template:WikimediaDownload (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 Wikimedia Subversion links. It is specifically designed to provide links for the download argument used in Template:Extension and categorizes into Category:Extensions in Wikimedia version control.
e.g. {{WikimediaDownload|SyntaxHighlight_GeSHi}}
- Note: Spaces must be padded with '_' underscores.
To change where the download is in Subversion (e.g. if you want to point them to a branched version), you can specify a second parameter with that path
e.g. {{WikimediaDownload|SyntaxHighlight_GeSHi|branches/REL1_16}}
To hide the link to Special:ExtensionDistributor, add the nosnapshot=1 parameter. This is useful when an extension only exists in a branch, since currently the ExtensionDistributor would say that the extension doesn't exist due to not being in trunk
e.g. {{WikimediaDownload|SyntaxHighlight_GeSHi|branches/REL1_16|nosnapshot=1}}