Difference between revisions of "Template:PageSequence"
Line 47: | Line 47: | ||
<div style="display: table-cell; vertical-align: middle">{{#if: {{{prev|}}}|{{#ifexist: {{{prev|}}} | <div style="display: table-cell; vertical-align: middle">{{#if: {{{prev|}}}|{{#ifexist: {{{prev|}}} | ||
|{{Icon|name=prev|title=previous|link={{{prev|}}}}} | |{{Icon|name=prev|title=previous|link={{{prev|}}}}} | ||
− | |{{Icon|name=prevRed|title=previous | + | |{{Icon|name=prevRed|title=previous}} |
}}}} | }}}} | ||
</div> | </div> | ||
Line 59: | Line 59: | ||
<div style="display: table-cell; vertical-align: middle">{{#if: {{{next|}}}|{{#ifexist: {{{next}}} | <div style="display: table-cell; vertical-align: middle">{{#if: {{{next|}}}|{{#ifexist: {{{next}}} | ||
|{{Icon|name=next|title=next|link={{{next|}}}}} | |{{Icon|name=next|title=next|link={{{next|}}}}} | ||
− | |{{Icon|name=nextRed|title=next | + | |{{Icon|name=nextRed|title=next}} |
}}}} | }}}} | ||
</div> | </div> |
Latest revision as of 14:30, 27 July 2020
This is the PageSequence template it allows for prev/next style page sequences to displayed with icons. See Template:Icon
{{PageSequence |prev= |next= |category= |categoryIcon= }}
example
{{PageSequence|prev=|next=ImageJ|category=tools|categoryIcon=tuxBlue}}
{{PageSequence |prev=Template:Icon |next=Template:Link |category=Template |categoryIcon=document }}
Properties
- Property:PageSequence next
- Property:PageSequence prev
- Property:PageSequence category
- Property:PageSequence categoryIcon