Difference between revisions of "Template:PageSequence"
Jump to navigation
Jump to search
(transfered by WikiBackup wikiTask at 2015-11-05T19:46:10Z) |
m (transfered by WikiBackup wikiTask at 2017-11-05T18:05:37Z) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude> | + | <noinclude>__NOCACHE__<!-- THIS FILE IS PROTECTED - smartGENERATOR WILL NOT OVERWRITE IT -->{{TemplateSequence |
− | + | |prev=Template:PageBreak | |
+ | |next=Template:PdfBook | ||
+ | }} | ||
This is the PageSequence template it allows for prev/next style page sequences to displayed with icons. See [[Template:Icon]] | This is the PageSequence template it allows for prev/next style page sequences to displayed with icons. See [[Template:Icon]] | ||
+ | |||
<pre> | <pre> | ||
{{PageSequence | {{PageSequence | ||
|prev= | |prev= | ||
|next= | |next= | ||
+ | |category= | ||
+ | |categoryIcon= | ||
}} | }} | ||
</pre> | </pre> | ||
=== example === | === example === | ||
<pre> | <pre> | ||
− | {{PageSequence|prev=|next= | + | {{PageSequence|prev=|next=bash|category=tools|categoryIcon=linux}} |
</pre> | </pre> | ||
− | {{PageSequence|prev=|next= | + | {{PageSequence|prev=|next=bash|category=tools|categoryIcon=linux}} |
<pre> | <pre> | ||
{{PageSequence | {{PageSequence | ||
− | |prev= | + | |prev=Template:Icon |
− | |next= | + | |next=Template:Link |
|category=Template | |category=Template | ||
− | |categoryIcon= | + | |categoryIcon=file-text-o |
}} | }} | ||
</pre> | </pre> | ||
{{PageSequence | {{PageSequence | ||
− | |prev= | + | |prev=Template:Icon |
− | |next= | + | |next=Template:Link |
|category=Template | |category=Template | ||
− | |categoryIcon= | + | |categoryIcon=file-text-o |
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</noinclude><includeonly>{{#set: | </noinclude><includeonly>{{#set: | ||
|PageSequence next={{{next|}}} | |PageSequence next={{{next|}}} | ||
Line 49: | Line 47: | ||
}} | }} | ||
</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 55: | Line 54: | ||
</div> | </div> | ||
<div style="display: table-row;">{{Icon|name=edit|size=16}}{{Link|target=Special:FormEdit/PageSequence/{{FULLPAGENAME}}|title=edit}}</div> | <div style="display: table-row;">{{Icon|name=edit|size=16}}{{Link|target=Special:FormEdit/PageSequence/{{FULLPAGENAME}}|title=edit}}</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}}} | ||
Line 64: | Line 63: | ||
</div> | </div> | ||
</div></div>{{#if: {{{category|}}} | </div></div>{{#if: {{{category|}}} | ||
− | | | + | |{{Category|name={{{category|}}}}} |
}}</includeonly> | }}</includeonly> |
Latest revision as of 19:05, 5 November 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 }}