Difference between revisions of "Template:GoogleCodeDownload"
Joelmartin (talk | contribs) m (1 revision imported) |
Joelmartin (talk | contribs) m (Text replacement - "<translate>" to "") |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<languages/> | <languages/> | ||
− | </noinclude>{{#switch: | + | </noinclude>{{#switch:</translate> |
| = | | = | ||
− | [http://code.google.com/p/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}/ | + | [http://code.google.com/p/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}/ <!--T:1--> Project page</translate>]<br />{{#if:{{{snapshot|}}}|[http://code.google.com/p/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}/downloads/list '''<!--T:2--> Download snapshot</translate>''']<br />|}}{{#switch: {{{vcs|}}} |svn=[http://{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}.googlecode.com/svn/trunk/ Subversion] <sup>[<span></span>[[Special:MyLanguage/Subversion|<!--T:3--> Help</translate>]]]</sup> |git=[http://code.google.com/p/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}/source/checkout Git] <sup>[<span></span>[[Special:MyLanguage/Git#Working_with_Git|<!--T:4--> Help</translate>]]]</sup> |mercurial=[http://code.google.com/p/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}/source/checkout Mercurial] <sup>[<span></span>[http://mercurial.selenic.com/wiki/BeginnersGuides <!--T:5--> Help</translate>]]</sup> |#default=[http://{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}.googlecode.com/svn/trunk/ Subversion] <sup>[<span></span>[[Special:MyLanguage/Subversion|<!--T:6--> Help</translate>]]]</sup>}}<br /> |
− | [http://code.google.com/p/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}/source/browse/ | + | [http://code.google.com/p/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}/source/browse/ <!--T:7--> Browse source code</translate>]<br /> |
− | [http://code.google.com/p/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}/source/list | + | [http://code.google.com/p/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}/source/list <!--T:8--> View code changes</translate>]<br /> |
− | <small>''{{Note }} | + | <small>''{{Note }} <!--T:9--> No [[<tvar|localisation>Special:MyLanguage/Localisation#Translation resources</>|localisation]] updates provided by <tvar|twn>{{ll|translatewiki.net}}</>.</translate>''</small> |
| #default= | | #default= | ||
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:GoogleCodeDownload|noshift=1}} | {{#invoke:Template translation|renderTranslatedTemplate|template=Template:GoogleCodeDownload|noshift=1}} |
Revision as of 04:09, 21 December 2019
Project page
Subversion [Help]
Browse source code
View code changes
Note: No localisation updates provided by translatewiki.net .
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))