Difference between revisions of "Template:GoogleCodeDownload"
Mediawiki>Shirayuki (translation tweaks) |
Joelmartin (talk | contribs) m (Text replacement - "</>" to "") |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<languages/> | <languages/> | ||
− | </noinclude>{{#switch: | + | </noinclude>{{#switch: |
| = | | = | ||
− | [http://code.google.com/p/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}/ | + | [http://code.google.com/p/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}/ Project page]<br />{{#if:{{{snapshot|}}}|[http://code.google.com/p/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}/downloads/list ''' Download snapshot''']<br />|}}{{#switch: {{{vcs|}}} |svn=[http://{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}.googlecode.com/svn/trunk/ Subversion] <sup>[<span></span>[[Special:MyLanguage/Subversion| Help]]]</sup> |git=[http://code.google.com/p/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}/source/checkout Git] <sup>[<span></span>[[Special:MyLanguage/Git#Working_with_Git| Help]]]</sup> |mercurial=[http://code.google.com/p/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}/source/checkout Mercurial] <sup>[<span></span>[http://mercurial.selenic.com/wiki/BeginnersGuides Help]]</sup> |#default=[http://{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}.googlecode.com/svn/trunk/ Subversion] <sup>[<span></span>[[Special:MyLanguage/Subversion| Help]]]</sup>}}<br /> |
− | [http://code.google.com/p/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}/source/browse/ | + | [http://code.google.com/p/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}/source/browse/ Browse source code]<br /> |
− | [http://code.google.com/p/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}/source/list | + | [http://code.google.com/p/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}/source/list View code changes]<br /> |
− | <small>''{{Note }} | + | <small>''{{Note }} No [[<tvar|localisation>Special:MyLanguage/Localisation#Translation resources|localisation]] updates provided by <tvar|twn>{{ll|translatewiki.net}}.''</small> |
| #default= | | #default= | ||
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:GoogleCodeDownload|noshift=1}} | {{#invoke:Template translation|renderTranslatedTemplate|template=Template:GoogleCodeDownload|noshift=1}} |
Latest revision as of 15:53, 21 December 2019
Project page
Subversion [ Help]
Browse source code
View code changes
Note: No [[<tvar|localisation>Special:MyLanguage/Localisation#Translation resources|localisation]] updates provided by <tvar
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. {{TNT|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. {{TNT|GoogleCodeDownload|SyntaxHighlight_GeSHi|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))
See also