Difference between revisions of "Template:PageSequence"

From BITPlan Wiki
Jump to navigation Jump to search
m (Wf moved page Vorlage:PageSequence to Template:PageSequence without leaving a redirect)
m (transfered by WikiBackup wikiTask at 2016-02-12T15:56:01Z)
Line 1: Line 1:
<noinclude>
+
<noinclude>__NOCACHE__<!-- THIS FILE IS PROTECTED - smartGENERATOR WILL NOT OVERWRITE IT -->{{TemplateSequence
__NOCACHE__
+
|prev=Template:Link
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=
}}
+
}}
</pre>
+
</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
 +
}}
 +
</noinclude><includeonly>{{#set:
 +
|PageSequence next={{{next|}}}
 +
|PageSequence prev={{{prev|}}}
 +
|PageSequence 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}}}  
+
  <div style="display: table-cell;">
|<imgLink img='{{Icon|name=nav_left_blue|title=previous}}'>{{{prev|}}}</imgLink>
+
    <div style="display: table-row;">{{#if: {{{categoryIcon|}}}
|<imgLink img='{{Icon|name=nav_left_red|title=previous}}'>{{{prev|}}}</imgLink>
+
      |<imgLink img='{{Icon|name={{{categoryIcon|}}}|title={{{category|}}}}}'>:Category:{{{category|}}}</imgLink>
}}}}{{#if: {{{categoryIcon|}}}  
+
      }}
|<imgLink img='{{Icon|name={{{categoryIcon|}}}|title={{{category|}}}}}'>:Category:{{{category|}}}</imgLink>  
+
    </div>
}}{{#if: {{{next|}}}
+
    <div style="display: table-row;">{{Icon|name=edit|size=16}}{{Link|target=Special:FormEdit/PageSequence/{{FULLPAGENAME}}|title=edit}}</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>

Revision as of 17:56, 12 February 2016

This is the PageSequence template it allows for prev/next style page sequences to displayed with icons. See Template:Icon

{{PageSequence
|prev=
|next=
}} 	

example

{{PageSequence|prev=|next=bash|category=tools|categoryIcon=linux}}


{{PageSequence
|prev=Template:Icon
|next=Template:Link
|category=Template
|categoryIcon=file-text-o
}}