https://techbase.kde.org/index.php?title=Template:Prevnext&feed=atom&action=history
Template:Prevnext - Revision history
2024-03-28T08:14:33Z
Revision history for this page on the wiki
MediaWiki 1.40.2
https://techbase.kde.org/index.php?title=Template:Prevnext&diff=74088&oldid=prev
AnneW at 18:38, 30 July 2012
2012-07-30T18:38:56Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:38, 30 July 2012</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><includeonly>{|width="100%"</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><includeonly>{{Prevnext2|prevpage={{{1}}}|prevtext={{{3}}}|nextpage={{{2}}}|nexttext={{{4}}} }}</includeonly></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><noinclude></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">{{Warning|This template is deprecated. Don't use it in new pages, use [[Template:Prevnext2]] instead}}</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">{{Input|<nowiki></ins><includeonly>{|width="100%"</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| style="text-align:left;" | {{#if: {{{1|}}} | [[{{{1}}}|'''&larr;'''&nbsp;{{{3|{{{1}}}}}}]] | }}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| style="text-align:left;" | {{#if: {{{1|}}} | [[{{{1}}}|'''&larr;'''&nbsp;{{{3|{{{1}}}}}}]] | }}</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| style="text-align:right;" | {{#if: {{{2|}}} | [[{{{2}}}|{{{4|{{{2}}}}}}&nbsp;'''&rarr;''']] | }}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| style="text-align:right;" | {{#if: {{{2|}}} | [[{{{2}}}|{{{4|{{{2}}}}}}&nbsp;'''&rarr;''']] | }}</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</includeonly></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</includeonly></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><noinclude></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><noinclude><ins style="font-weight: bold; text-decoration: none;"></nowiki>}}</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Use this template when you want to provide links to the previous and the next sections of the article so the user isn't forced to go back to the index to navigate. </div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Use this template when you want to provide links to the previous and the next sections of the article so the user isn't forced to go back to the index to navigate. </div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
</table>
AnneW
https://techbase.kde.org/index.php?title=Template:Prevnext&diff=72877&oldid=prev
AnneW: Created page with "<includeonly>{|width="100%" | style="text-align:left;" | {{#if: {{{1|}}} | {{{1}}}}}} | }} | style="text-align:right;" | {{#if: {{{2|}}} | [[{{..."
2012-07-13T12:58:49Z
<p>Created page with "<includeonly>{|width="100%" | style="text-align:left;" | {{#if: {{{1|}}} | [[{{{1}}}|'''←''' {{{3|{{{1}}}}}}]] | }} | style="text-align:right;" | {{#if: {{{2|}}} | [[{{..."</p>
<p><b>New page</b></p><div><includeonly>{|width="100%"<br />
| style="text-align:left;" | {{#if: {{{1|}}} | [[{{{1}}}|'''&larr;'''&nbsp;{{{3|{{{1}}}}}}]] | }}<br />
| style="text-align:right;" | {{#if: {{{2|}}} | [[{{{2}}}|{{{4|{{{2}}}}}}&nbsp;'''&rarr;''']] | }}<br />
|}</includeonly><br />
<noinclude><br />
Use this template when you want to provide links to the previous and the next sections of the article so the user isn't forced to go back to the index to navigate. <br />
<br />
== How to use this template == <br />
<br />
Write <br />
{{Input|1=<nowiki>{{Prevnext|Go back a page|The next section is difficult!}}</nowiki>}}<br />
You will get this:<br />
{{Prevnext|Go back a page|The next section is difficult!}}<br />
<br />
== Prettier links == <br />
<br />
To make the links to the pages look less ugly you can provide extra options to the template:<br />
{{Input|1=<nowiki>{{Prevnext|Article/section/previous-subsection|Article/section/next|This points to the previous section text|This is the next section}}</nowiki>}}<br />
This will be rendered as<br />
{{Prevnext|Article/section/previous-subsection|Article/section/next|This points to the previous section|This is the next section}}<br />
<br />
== See also ==<br />
<br />
* [[Template:Next|Next]] - For providing a link to the next article. Use for the first article page.<br />
* [[Template:Prev|Prev]] - For providing a link to the previous article. Use for the last article page.<br />
<br />
[[Category:Template]]<br />
</noinclude></div>
AnneW