Template:Next: Difference between revisions

From KDE Wiki Sandbox
(Made a new template for navigation)
 
No edit summary
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly><center>
<includeonly>{{Prevnext2|nextpage={{{1}}}|nexttext={{{2}}} }}</includeonly>
{| width="95%"
|-
|
|
| align="right" | [[{{{1}}}|Next]]
|-
|
|
| align="right" | {{{1}}}
|}
</center></includeonly>
<noinclude>
<noinclude>
{{Warning|1=This template is deprecated. Dont use it in new pages, use [[Template:Prevnext2]] instead}}
{{Input|1=<nowiki><includeonly>{{Prevnext||{{{1}}}||{{{2|{{{1}}}}}}}}</includeonly>
<noinclude></nowiki>}}
Use this template when you want to provide a link to the next section of the article so the user isn't forced to go back to the index. Use when there is no previous article to link to.
Use this template when you want to provide a link to the next section of the article so the user isn't forced to go back to the index. Use when there is no previous article to link to.


== How to use this template ==
== Usage ==


Write '''<nowiki>{{Next|The Next page in the article}}</nowiki>''', which will be returned as,
Input:
{{Input|1=<nowiki>{{Next|This Article/Third Section}}</nowiki>}}
Result:
{{Next|This Article/Third Section}}


{{Next|The Next page in the article}}
If you don't want the next page in the article to show up as an ugly Mediawiki link (such as [[Application/subsection/subsection]]), write:
{{Input|1=<nowiki>{{Next|Application/subsection/subsection|The next page okay?}}</nowiki>}}
to get
{{Next|Application/subsection/subsection|The next page okay?}}


== See also ==
== See also ==
Line 25: Line 24:
* [[Template:Prev|Prev]] - For providing a link to the previous article. Use for the last article page.
* [[Template:Prev|Prev]] - For providing a link to the previous article. Use for the last article page.


[[Category:Templates]]
[[Category:Template]]
</noinclude>
</noinclude>

Latest revision as of 11:25, 29 July 2012


Warning
This template is deprecated. Dont use it in new pages, use Template:Prevnext2 instead


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

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

Usage

Input:

{{Next|This Article/Third Section}}

Result:


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

{{Next|Application/subsection/subsection|The next page okay?}}

to get


See also

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