Difference between revisions of "Template:AddonSrc"

From GRASS-Wiki
Jump to navigation Jump to search
m
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">[http://trac.osgeo.org/grass/browser/grass/grass-addons/grass{{{version|6}}}}/{{{1}}}/{{{2}}} AddonsSVN {{{2}}}]</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>
 
Default GRASS <tt>version</tt> is 6.


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


  <nowiki>{{AddonSVN|grass7/raster|name=r.hants}}</nowiki>
  <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>

Revision as of 22:01, 12 February 2013

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://svn.osgeo.org/grass/grass-addons/grass7/raster/r.hants/

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

creates

AddonsSVN r.hants