Jump to content

Template:Prev: Difference between revisions

From KDE UserBase Wiki
Pipesmoker (talk | contribs)
No edit summary
Claus chr (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly>
{{PrevNext2|prevpage={{{1}}}|prevtext={{{{{2}}} }}</includeonly>
<noinclude>
The old code:
{{Input|1=<nowiki>
<includeonly>{{Prevnext|{{{1}}}||{{{2|{{{1}}}}}}|}}</includeonly>
<includeonly>{{Prevnext|{{{1}}}||{{{2|{{{1}}}}}}|}}</includeonly>
<noinclude>
<noinclude></nowiki>}}
Use this template when you want to provide a link to the previous section of the article so the user isn't forced to go back to the index to navigate. Use when there is no previous article to link to.
Use this template when you want to provide a link to the previous section of the article so the user isn't forced to go back to the index to navigate. Use when there is no previous article to link to.



Revision as of 11:15, 29 July 2012


The old code:

<includeonly>{{Prevnext|{{{1}}}||{{{2|{{{1}}}}}}|}}</includeonly>
<noinclude>

Use this template when you want to provide a link to the previous section of the article so the user isn't forced to go back to the index to navigate. Use when there is no previous article to link to.

Usage

Input:

{{Prev|This Article/Second Chapter}}

Output:

{{PrevNext2|prevpage=This Article/Second Chapter|prevtext={{{{{2}}} }}


If you don't want the previous page in the article to show up as an ugly Mediawiki link (such as Application/subsection/subsection), write

{{Prev|Application/subsection/subsection|The previous page in the article}}

to get

{{PrevNext2|prevpage=Application/subsection/subsection|prevtext=Template:The previous page in the article


See also

  • Prevnext - For providing links to previous and the next sections of the article.
  • Next - For providing a link to the next article. Use for the first article page.