Difference between revisions of "Template:Revision"
From Navit's Wiki
(→Example: used revision already on Github) |
(Selectively link to Sourceforge SVN or Github, depending on build number) |
||
Line 1: | Line 1: | ||
− | <includeonly>[https://github.com/navit-gps/navit/releases/tag/R{{{1}}}/ R{{{1}}}]</includeonly><noinclude> | + | <includeonly>{{#ifexpr:{{{1}}}<5658|[http://sourceforge.net/p/navit/code/{{{1}}}/ r{{{1}}}]|[https://github.com/navit-gps/navit/releases/tag/R{{{1}}}/ R{{{1}}}]</includeonly><noinclude> |
This template can be used for inserting links to revisions of Navit. | This template can be used for inserting links to revisions of Navit. | ||
== Example == | == Example == | ||
+ | * <tt><nowiki>{{Revision|3490}}</nowiki></tt> produces {{Revision|3490}}. | ||
* <tt><nowiki>{{Revision|6228}}</nowiki></tt> produces {{Revision|6228}}. | * <tt><nowiki>{{Revision|6228}}</nowiki></tt> produces {{Revision|6228}}. | ||
[[Category: Templates]] | [[Category: Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 14:22, 2 March 2016
This template can be used for inserting links to revisions of Navit.