Template:Plan/Page: Difference between revisions

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


==Description==
==Description==
Line 29: Line 22:


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


</noinclude>
</noinclude>

Revision as of 13:27, 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