Template:Plan/Page: Difference between revisions
(Make title optional) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#iferror:{{#ifexpr:{{{manual| {{#titleparts: {{PAGENAME}} | 1 | 2 }} }}}^0 = 1 | <includeonly>{{#iferror:{{#ifexpr:{{{manual| {{#titleparts: {{PAGENAME}} | 1 | 2 }} }}}^0 = 1 | ||
|[[Special:myLanguage/Plan/{{#titleparts:{{PAGENAME}}|1|2}}/Manual/{{{page}}}|{{{title}}}]]|string}} | |[[Special:myLanguage/Plan/{{#titleparts:{{PAGENAME}}|1|2}}/Manual/{{{page}}}|{{#if: {{{title|}}} |{{{title}}}|{{{page}}} }}]]|string}} | ||
|[[Special:myLanguage/Plan/Manual/{{{page}}}|{{#if: {{{title|}}} |{{{title}}}|{{{page}}} }}]]}}</includeonly><noinclude> | |[[Special:myLanguage/Plan/Manual/{{{page}}}|{{#if: {{{title|}}} |{{{title}}}|{{{page}}} }}]]}}</includeonly><noinclude> | ||
Line 25: | Line 25: | ||
{{Plan/Page|page=Introduction|title=Introducing Plan}} | {{Plan/Page|page=Introduction|title=Introducing Plan}} | ||
<tt><nowiki>{{Plan/Page|page=Introduction}}</nowiki></tt> | <tt><nowiki>{{Plan/Page|page=Introduction|title=}}</nowiki></tt> | ||
{{Plan/Page|page=Introduction}} | {{Plan/Page|page=Introduction}} | ||
</noinclude> | </noinclude> |
Latest revision as of 19:25, 2 December 2019
Description
Page reference template to be used in versioned manual pages.
The url must have the following format: Plan/<version number>/Manual/<subpage>
Version number must be a number, or empty, e.g:
- Plan/Manual/Introduction, or
- Plan/1/Manual/Introduction
{{Plan/Page
| page = The page name.
| title = The page title. (optional)
}}
Examples:
{{Plan/Page|page=Introduction|title=Introducing Plan}}
{{Plan/Page|page=Introduction|title=}}