Template:Next: Difference between revisions

From KDE UserBase Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>{{Prevnext||{{{1}}}||{{{2|{{{1}}}}}}}}</includeonly>
{{Prevnext||{{{1}}}||{{{2|{{{1}}}}}}}}
</includeonly>
<noinclude>
<noinclude>
{{Template:I18n/Language Navigation Bar|Template:Next}}
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|The Next page in the article}}</nowiki>}}
Result:
{{Next|The Next page in the article}}
{{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<br>
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:
'''<nowiki>{{Next|Application/subsection/subsection|The next page okay?}}</nowiki>''' <br>
{{Input|1=<nowiki>{{Next|Application/subsection/subsection|The next page okay?}}</nowiki>}}
to get
to get
{{Next|Application/subsection/subsection|The next page okay?}}
{{Next|Application/subsection/subsection|The next page okay?}}

Revision as of 12:10, 12 September 2010


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|The Next page in the article}}

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.