Difference between revisions of "Template:PageSequence"
Jump to navigation
Jump to search
m (Wf moved page Vorlage:PageSequence to Template:PageSequence without leaving a redirect) |
|||
| (5 intermediate revisions 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 | |
| − | This is the PageSequence template it allows for prev/next style page sequences to displayed with icons. | + | |next=Template:PdfBook |
| − | <pre>{{PageSequence | + | }} |
| + | This is the PageSequence template it allows for prev/next style page sequences to displayed with icons. See [[Template:Icon]] | ||
| + | |||
| + | <pre> | ||
| + | {{PageSequence | ||
|prev= | |prev= | ||
|next= | |next= | ||
| − | }} | + | |category= |
| − | </pre> | + | |categoryIcon= |
| + | }} | ||
| + | </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 |
| + | }} | ||
| + | |||
| + | = Properties = | ||
| + | * {{Link|target=Property:PageSequence next}} | ||
| + | * {{Link|target=Property:PageSequence prev}} | ||
| + | * {{Link|target=Property:PageSequence category}} | ||
| + | * {{Link|target=Property:PageSequence categoryIcon}} | ||
| + | |||
| + | </noinclude><includeonly>{{#set: | ||
| + | |PageSequence next={{{next|}}} | ||
| + | |PageSequence prev={{{prev|}}} | ||
| + | |PageSequence category=Category:{{{category|}}} | ||
| + | |PageSequence categoryIcon={{{categoryIcon|}}} | ||
}} | }} | ||
| − | < | + | <div style="display:table;border-collapse: collapse;"><div style="display: table-row;"> |
| − | + | <div style="display: table-cell; vertical-align: middle">{{#if: {{{prev|}}}| | |
| − | < | + | {{#ifexist: {{{prev}}} |
| − | + | |<imgLink img='{{Icon|name=nav_left_blue|title=previous}}'>{{{prev|}}}</imgLink> | |
| − | + | |<imgLink img='{{Icon|name=nav_left_red|title=previous}}'>{{{prev|}}}</imgLink>}} | |
| − | + | }} | |
| − | {{#if: {{{prev|}}} | + | </div> |
| − | + | {{#if: {{{category|}}} | | |
| − | |<imgLink img='{{Icon|name=nav_left_blue|title=previous}}'>{{{prev|}}}</imgLink> | + | <div style="display: table-cell;"> |
| − | |<imgLink img='{{Icon|name=nav_left_red|title=previous}}'>{{{prev|}}}</imgLink> | + | <div style="display: table-row;">{{#if: {{{categoryIcon|}}} |
| − | }}}}{{#if: {{{categoryIcon|}}} | + | |<imgLink img='{{Icon|name={{{categoryIcon|}}}|title={{{category|}}}}}'>:Category:{{{category|}}}</imgLink> |
| − | |<imgLink img='{{Icon|name={{{categoryIcon|}}}|title={{{category|}}}}}'>:Category:{{{category|}}}</imgLink> | + | }} |
| − | }}{{#if: {{{next|}}} | + | </div> |
| − | |{{#ifexist: {{{next}}} | + | </div>}} |
| − | |<imgLink img='{{Icon|name=nav_right_blue|title=next}}'>{{{next|}}}</imgLink> | + | <div style="display: table-cell; vertical-align: middle">{{#if: {{{next|}}} |
| − | |<imgLink img='{{Icon|name=nav_right_red|title=next}}'>{{{next|}}}</imgLink> | + | |{{#ifexist: {{{next}}} |
| − | }}}}{{#if: {{{category|}}} | + | |<imgLink img='{{Icon|name=nav_right_blue|title=next}}'>{{{next|}}}</imgLink> |
| − | | | + | |<imgLink img='{{Icon|name=nav_right_red|title=next}}'>{{{next|}}}</imgLink> |
| + | }} | ||
| + | }} | ||
| + | </div> | ||
| + | </div></div>{{#if: {{{category|}}} | ||
| + | |{{Category|name={{{category|}}}}} | ||
}}</includeonly> | }}</includeonly> | ||
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