Difference between revisions of "Template:PageSequence"
Jump to navigation
Jump to search
m (transfered by WikiBackup wikiTask at 2016-02-12T15:56:01Z) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>__NOCACHE__<!-- THIS FILE IS PROTECTED - smartGENERATOR WILL NOT OVERWRITE IT -->{{TemplateSequence | <noinclude>__NOCACHE__<!-- THIS FILE IS PROTECTED - smartGENERATOR WILL NOT OVERWRITE IT -->{{TemplateSequence | ||
− | |prev=Template: | + | |prev=Template:PageBreak |
|next=Template:PdfBook | |next=Template:PdfBook | ||
}} | }} | ||
Line 9: | Line 9: | ||
|prev= | |prev= | ||
|next= | |next= | ||
+ | |category= | ||
+ | |categoryIcon= | ||
}} | }} | ||
</pre> | </pre> | ||
Line 32: | Line 34: | ||
|categoryIcon=file-text-o | |categoryIcon=file-text-o | ||
}} | }} | ||
+ | |||
+ | = Properties = | ||
+ | * {{Link|target=Property:PageSequence next}} | ||
+ | * {{Link|target=Property:PageSequence prev}} | ||
+ | * {{Link|target=Property:PageSequence category}} | ||
+ | * {{Link|target=Property:PageSequence categoryIcon}} | ||
+ | |||
</noinclude><includeonly>{{#set: | </noinclude><includeonly>{{#set: | ||
|PageSequence next={{{next|}}} | |PageSequence next={{{next|}}} | ||
|PageSequence prev={{{prev|}}} | |PageSequence prev={{{prev|}}} | ||
− | |PageSequence category={{{category|}}} | + | |PageSequence category=Category:{{{category|}}} |
|PageSequence categoryIcon={{{categoryIcon|}}} | |PageSequence categoryIcon={{{categoryIcon|}}} | ||
}} | }} | ||
Line 45: | Line 54: | ||
}} | }} | ||
</div> | </div> | ||
+ | {{#if: {{{category|}}} | | ||
<div style="display: table-cell;"> | <div style="display: table-cell;"> | ||
<div style="display: table-row;">{{#if: {{{categoryIcon|}}} | <div style="display: table-row;">{{#if: {{{categoryIcon|}}} | ||
Line 50: | Line 60: | ||
}} | }} | ||
</div> | </div> | ||
− | + | </div>}} | |
− | |||
<div style="display: table-cell; vertical-align: middle">{{#if: {{{next|}}} | <div style="display: table-cell; vertical-align: middle">{{#if: {{{next|}}} | ||
|{{#ifexist: {{{next}}} | |{{#ifexist: {{{next}}} |
Latest revision as of 17:13, 1 December 2017
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=bash|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