Template:GallerySplit

From Plants vs. Zombies Wiki
(Redirected from Template:GS)
Jump to navigation Jump to search


[[{{{1}}}|< Prev]]        [[{{{2}}}|Next >]]
Template-info.svg Documentation The documentation below is transcluded from Template:GallerySplit/doc.

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:
Next >


{{GS|Test page/Gallery/1|Test page/Gallery/3}}

Output:
< Prev        Next >


{{GS|Test page/Gallery/2|nonext=yes}}

Output:
< Prev