Difference between revisions of "Template:PageSequence"
Line 12: | Line 12: | ||
=== example === | === example === | ||
<pre> | <pre> | ||
− | {{PageSequence|prev=|next= | + | {{PageSequence|prev=|next=ImageJ|category=tools|categoryIcon=linux}} |
</pre> | </pre> | ||
− | {{PageSequence|prev=|next= | + | {{PageSequence|prev=|next=ImageJ|category=tools|categoryIcon=linux}} |
<pre> | <pre> | ||
{{PageSequence | {{PageSequence | ||
Line 47: | Line 47: | ||
<div style="display: table-cell; vertical-align: middle">{{#if: {{{prev|}}}| | <div style="display: table-cell; vertical-align: middle">{{#if: {{{prev|}}}| | ||
{{#ifexist: {{{prev}}} | {{#ifexist: {{{prev}}} | ||
− | | | + | |{{Icon|name=prev|title=previous|link={{{prev|}}}}} |
− | | | + | |{{Icon|name=prev|title=previous}}'>{{{prev|}}}</imgLink>}} |
}} | }} | ||
</div> | </div> |
Revision as of 13:50, 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=linux}}
{{PageSequence |prev=Template:Icon |next=Template:Link |category=Template |categoryIcon=file-text-o }}
Properties
- Property:PageSequence next
- Property:PageSequence prev
- Property:PageSequence category
- Property:PageSequence categoryIcon