Difference between revisions of "Template:PageSequence"

From BITPlan Wiki
Jump to navigation Jump to search
m (transfered by WikiBackup wikiTask at 2017-11-04T09:58:45Z)
Line 9: Line 9:
 
|prev=
 
|prev=
 
|next=
 
|next=
 +
|category=
 +
|categoryIcon=
 
}}
 
}}
 
</pre>
 
</pre>
Line 45: 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 50: Line 53:
 
       }}
 
       }}
 
     </div>
 
     </div>
   </div>
+
    <div style="display: table-row;">{{Icon|name=edit|size=16}}{{Link|target=Special:FormEdit/PageSequence/{{FULLPAGENAME}}|title=edit}}</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}}}

Revision as of 10:58, 4 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
}}