Template:Prevnext: Difference between revisions
From Body Communication
en>Samwilson No edit summary |
SadanYagci (talk | contribs) m (1 revision imported) |
(No difference)
|
Revision as of 15:07, 28 September 2021
A quick template for cycling through a sequence of pages:
Usage
{{Prevnext|base page name|prev extension|next extension}}
E.G.
- {{prevnext|User talk:SmackBot/archive|1|3}}
Where there is no previous (or no next) the parameter may be left empty. E.G.
- {{prevnext|User talk:SmackBot/archive||2}}
Where the previous is the base page, use an "_". E.G.
- {{prevnext|User talk:SmackBot/archive|_|3}}
Todo
- add pretty buttons
- add ifexist clauses
- add "up", first, last?
- If and when
rel
attributes are enabled in MediaWiki, addprev
andnext
values, etc., to links.
References
PrevNext – What is This? How To Use It And Examples Of Prev Next