Difference between revisions of "Template:AddonSrc"

From GRASS-Wiki
Jump to navigation Jump to search
(attempt to have a convenient template)
 
(bah still no cigar)
Line 1: Line 1:
<span class="plainlinks">[https://svn.osgeo.org/grass/grass-addons/{{{1}}} AddonsSVN {{{1}}}]</span><noinclude>
<span class="plainlinks">[https://svn.osgeo.org/grass/grass-addons/{{{1}}}{{{name}}} AddonsSVN #{{{name}}}]</span><noinclude>
SVN external link. Usage:
SVN external link. Usage:


  <nowiki>{{AddonsSVN|partial_url}}</nowiki>
  <nowiki>{{AddonsSVN|partial_url/|name=dirname}}</nowiki>


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


  <nowiki>{{AddonsSVN|grass7/raster/r.hants/}}</nowiki>
  <nowiki>{{AddonsSVN|grass7/raster/|name=r.hants}}</nowiki>


creates
creates


: {{AddonsSVN|grass7/raster/r.hants/}}
: {{AddonsSVN|grass7/raster/|name=r.hants}}


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

Revision as of 21:25, 12 February 2013

AddonsSVN #{{{name}}} SVN external link. Usage:

{{AddonsSVN|partial_url/|name=dirname}}

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

{{AddonsSVN|grass7/raster/|name=r.hants}}

creates

AddonsSVN #r.hants