VbzCart/Template:l/version: Difference between revisions
< VbzCart
Jump to navigation
Jump to search
imported>Woozle No edit summary |
imported>Woozle No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>Assuming that the first two parts of the title constitute a version-documentation path (<code>project/version_marker</code>), links to a subpage within that version. | <noinclude>Assuming that the first two parts of the title constitute a version-documentation path (<code>project/version_marker</code>), links to a subpage within that version. | ||
The implicit understanding is that we're linking to a thing named {{{2}}} that is a {{{1}}} in version {{{title.part2}}} of project {{{title.part2}}}, although not all of this information is necessarily used.</noinclude><includeonly>[[{{#titleparts:{{PAGENAME}}| | The implicit understanding is that we're linking to a thing named {{{2}}} that is a {{{1}}} in version {{{title.part2}}} of project {{{title.part2}}}, although not all of this information is necessarily used. | ||
(Note that #titleparts considers the namespace to be part1, so we ask it to look at parts 2 & 3.) | |||
</noinclude><includeonly>[[{{#titleparts:{{PAGENAME}}|2|2}}/{{{1}}}/{{{2}}}]]</includeonly> |
Revision as of 15:32, 19 January 2019
Assuming that the first two parts of the title constitute a version-documentation path (project/version_marker
), links to a subpage within that version.
The implicit understanding is that we're linking to a thing named {{{2}}} that is a {{{1}}} in version {{{title.part2}}} of project {{{title.part2}}}, although not all of this information is necessarily used.
(Note that #titleparts considers the namespace to be part1, so we ask it to look at parts 2 & 3.)