Template:VersionChanges: Difference between revisions
Jump to navigation
Jump to search
Waldyrious (talk | contribs) (Created page with "<noinclude>This template provides a convenient way to create a link to a module's changes in a given version. In can be used as <code><nowiki>{{VersionChanges |module = qtbas...") |
Waldyrious (talk | contribs) (change order of parameters; use urlencode to strip whitespace (and ensure viable links)) |
||
Line 1: | Line 1: | ||
<noinclude>This template provides a convenient way to create a link to a module's changes in a given version. | <noinclude>This template provides a convenient way to create a link to a module's changes in a given version. | ||
In can be used as <code><nowiki>{{VersionChanges | In can be used as <code><nowiki>{{VersionChanges |version = 5.8.0 |module = qtbase}}</nowiki></code>. | ||
A shorthand is also provided for convenience, using positional rather than named parameters: <code><nowiki>{{VersionChanges | A shorthand is also provided for convenience, using positional rather than named parameters: <code><nowiki>{{VersionChanges | 5.8.0 | qtbase}}</nowiki></code>. | ||
In both cases, the result is a link like this: </noinclude>[http://code.qt.io/cgit/qt/{{{ | In both cases, the result is a link like this: </noinclude>[http://code.qt.io/cgit/qt/{{urlencode:{{{2|{{{module|qtbase}}}}}}}}.git/tree/dist/changes-{{urlencode:{{{1|{{{version|5.8.0}}}}}}}}\?h=v{{urlencode:{{{1|{{{version|5.8.0}}}}}}}} {{{2|{{{module|qtbase}}}}}}] |
Latest revision as of 10:10, 2 May 2017
This template provides a convenient way to create a link to a module's changes in a given version.
In can be used as
<nowiki>{{VersionChanges |version = 5.8.0 |module = qtbase}}</nowiki>
. A shorthand is also provided for convenience, using positional rather than named parameters:
<nowiki>{{VersionChanges | 5.8.0 | qtbase}}</nowiki>
.
In both cases, the result is a link like this: qtbase