Template:Prevnext: Difference between revisions
From Body Communication
SadanYagci (talk | contribs) No edit summary |
SadanYagci (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<div style="display:flex; padding:0.3em;background-color:#f8f9fa;white-space:nowrap;border-top:1px solid #a2a9b1;font-size:0.9em;"> | <div style="display:flex; padding:0.3em;background-color:#f8f9fa;white-space:nowrap;border-top:1px solid #a2a9b1;font-size:0.9em;"> | ||
<div style="flex:1; order:1; text-align:left">{{#if: {{{1|}}} | [[{{{1}}}| | <div style="flex:1; order:1; text-align:left">{{#if: {{{1|}}} | [[{{{1}}}|[[File:OOjs_UI_icon_arrowPrevious-ltr.svg]]]] [[{{{1}}}]] }}</div> | ||
<div style="flex:1; order:3; text-align:right">{{#if: {{{2|}}} | [[{{{2}}}]] [[{{{2}}}|→]] }}</div> | <div style="flex:1; order:3; text-align:right">{{#if: {{{2|}}} | [[{{{2}}}]] [[{{{2}}}|→]] }}</div> | ||
</div><noinclude> | </div><noinclude> |
Revision as of 03:25, 7 November 2021
A quick template for cycling through a sequence of pages:
Usage
{{Prevnext|prev|next}}
E.G.
- {{prevnext|Introduction|Conversing with Your Body}}
[[Introduction|]] Introduction
Where there is no previous (or no next) the parameter may be left empty. E.G.
- {{prevnext||Introduction}}
Todo
- add pretty buttons
References
PrevNext – What is This? How To Use It And Examples Of Prev Next