Template:Plan/Page: Difference between revisions

From KDE UserBase Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#iferror:{{#ifexpr:{{{manual| {{#titleparts: {{PAGENAME}} | 1 | 2 }} }}}^0 = 1
{{#iferror:{{#ifexpr:{{{manual| {{#titleparts: {{PAGENAME}} | 1 | 2 }} }}}^0 = 1
|:[[Special:myLanguage/Plan/{{#titleparts:{{PAGENAME}}|1|2}}/Manual/{{{page}}}|{{{title}}}]]
|[[Special:myLanguage/Plan/{{#titleparts:{{PAGENAME}}|1|2}}/Manual/{{{page}}}|{{{title}}}]]
|string}}
|string}}
|:[[Special:myLanguage/Plan/Manual/{{{page}}}|{{{title}}}]]
|[[Special:myLanguage/Plan/Manual/{{{page}}}|{{{title}}}]]
}}
}}
</includeonly>
</includeonly>
Line 30: Line 30:
Gives:
Gives:
{{Plan/Page|page=Intrduction|title=Introducing Plan}}
{{Plan/Page|page=Intrduction|title=Introducing Plan}}
</noinclude>

Revision as of 13:11, 1 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.
}}

Example:

{{Plan/Page|page=Intrduction|title=Introducing Plan}}

Gives:

Introducing Plan