Template:AddonSrc: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
mNo edit summary
(trac.osgeo.org now uses https)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><span class="plainlinks">[https://svn.osgeo.org/grass/grass-addons/{{{1}}}/{{{name}}} AddonsSVN {{{name}}}]</span></includeonly><noinclude>
<includeonly><span class="plainlinks">[https://trac.osgeo.org/grass/browser/grass-addons/grass{{{version|6}}}/{{{1}}}/{{{2}}} {{{2}}} (src)]</span></includeonly><noinclude>
SVN external link. Usage:
GRASS Trac SVN source code browser semi-external link for AddOns. Usage:


  <nowiki>{{AddonSVN|partial_url|name=dirname}}</nowiki>
  <nowiki>{{AddonSrc|partial_url|name|version=6|7}}</nowiki>


For example, for https://svn.osgeo.org/grass/grass-addons/grass7/raster/r.hants/
Default GRASS <tt>version</tt> is 6.


  <nowiki>{{AddonSVN|grass7/raster|name=r.hants}}</nowiki>
For example, for https://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.hants
 
  <nowiki>{{AddonSrc|raster|r.hants|version=7}}</nowiki>


creates
creates


: {{AddonSVN|grass7/raster/|name=r.hants}}
: {{AddonSrc|raster|r.hants|version=7}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 21:03, 9 August 2015

GRASS Trac SVN source code browser semi-external link for AddOns. Usage:

{{AddonSrc|partial_url|name|version=6|7}}

Default GRASS version is 6.

For example, for https://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.hants

{{AddonSrc|raster|r.hants|version=7}}

creates

r.hants (src)