Difference between revisions of "Template:AddonSrc"

From GRASS-Wiki
Jump to navigation Jump to search
(attempt to have a convenient template)
 
(trac.osgeo.org now uses https)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span class="plainlinks">[https://svn.osgeo.org/grass/grass-addons/{{{1}}} AddonsSVN {{{1}}}]</span><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>{{AddonsSVN|partial_url}}</nowiki>
  <nowiki>{{AddonSrc|partial_url|name|version=6|7}}</nowiki>


For example
Default GRASS <tt>version</tt> is 6.


  <nowiki>{{AddonsSVN|grass7/raster/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


: {{AddonsSVN|grass7/raster/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)