Template:PageSequence: Difference between revisions

From BITPlan Wiki
Jump to navigation Jump to search
(Aus BITPlanWiki transferiert.)
 
No edit summary
 
(6 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
__NOCACHE__
|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=Universal_Password_Manager_installation|category=Installationsanleitung|categoryIcon=box_software}}
{{PageSequence|prev=|next=bash|category=tools|categoryIcon=linux}}
</pre>
</pre>
{{PageSequence|prev=|next=Universal_Password_Manager_installation|category=Installationsanleitung|categoryIcon=box_software}}
 
{{PageSequence|prev=|next=bash|category=tools|categoryIcon=linux}}
<pre>
<pre>
{{PageSequence
{{PageSequence
|prev=Vorlage:Icon
|prev=Template:Icon
|next=Vorlage:Link
|next=Template:Link
|category=Template
|category=Template
|categoryIcon=documents_new
|categoryIcon=file-text-o
}}
}}
</pre>
</pre>
{{PageSequence
{{PageSequence
|prev=Vorlage:Icon
|prev=Template:Icon
|next=Vorlage:Link
|next=Template:Link
|category=Template
|category=Template
|categoryIcon=documents_new
|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|}}}
}}
}}
<pre>
<div style="display:table;border-collapse: collapse;"><div style="display: table-row;">
{{PageSequence|prev=Workdocumentation 2015-03-02|next=Workdocumentation 2015-03-04|category=Workdocumentation|categoryIcon=notebook_preferences}}
  <div style="display: table-cell; vertical-align: middle">{{#if: {{{prev|}}}|
</pre>
      {{#ifexist: {{{prev}}}
{{PageSequence|prev=Workdocumentation 2015-03-02|next=Workdocumentation 2015-03-04|category=Workdocumentation|categoryIcon=notebook_preferences}}
        |<imgLink img='{{Icon|name=nav_left_blue|title=previous}}'>{{{prev|}}}</imgLink>
[[Category:Template]]</noinclude>
        |<imgLink img='{{Icon|name=nav_left_red|title=previous}}'>{{{prev|}}}</imgLink>}}
<includeonly>
    }}
{{#if: {{{prev|}}}
  </div>
|{{#ifexist: {{{prev}}}  
  {{#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>
|[[Category:{{{category|}}}]]
          |<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 16: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