Template:GallerySplit
Template shortcut
{{GS}}
How to use
Just put this template at the end of split gallery pages.
Parameters
noprev
Boolean (yes/no). Default is no.
If you type "yes" (without quotes), it will hide the "< Prev" section of the template. Use this on the first page of the split gallery. Leave blank for anything else.
#2
The complete page name for the previous gallery page link. If noprev is set to yes, leave this blank (in the source editor, type two pipes instead of one).
nonext
Boolean (yes/no). Default is no.
If you type "yes" (without quotes), it will hide the "Next >" section of the template. Use this on the last page of the split gallery. Leave blank for anything else.
#4
The complete page name for the next gallery page link. If nonext is set to yes, leave this blank.
Example
{{GS|noprev=yes||Test page/Gallery/2}}
Output:
{{GS|Test page/Gallery/1|Test page/Gallery/3}}
{{GS|Test page/Gallery/2|nonext=yes}}