Template:PageSequence: Difference between revisions

From wiki
Jump to navigation Jump to search
(pushed from contexts by wikipush)
 
(modified by py-yprinciple-gen 0.3.6)
 
Line 1: Line 1:
<noinclude>__NOCACHE__<!-- THIS FILE IS PROTECTED - smartGENERATOR WILL NOT OVERWRITE IT -->{{TemplateSequence
<noinclude><!--
|prev=Template:PageBreak
  --    Copyright (C) 2015-2025 BITPlan GmbH
|next=Template:PdfBook
  --
}}
  --    Pater-Delp-Str. -- 1
This is the PageSequence template it allows for prev/next style page sequences to displayed with icons. See [[Template:Icon]]
  --    D-47877 -- Willich-Schiefbahn
  --
  --    http://www.bitplan.com
  --
  --
-->
This is the [https://wiki.bitplan.com/index.php/ProfiWiki BITPlan Y-Prinzip ProfiWiki]-Template for "PageSequence".
=== see also ===
see also
* [[List of PageSequences]]
* [[Help:PageSequence]]
* [[Concept:PageSequence]]
* [[:Category:PageSequence]]
* [[:Template:PageSequence]]
* [[:Form:PageSequence]]


<pre>
=== Usage ===
{{PageSequence
<pre>{{PageSequence
|prev=
|prev=
|next=
|next=
|categoryIcon=
|category=
|category=
|categoryIcon=
|storemode=property or subobject or none"
}}
</pre>
=== example ===
<pre>
{{PageSequence|prev=|next=bash|category=tools|categoryIcon=linux}}
</pre>
 
{{PageSequence|prev=|next=bash|category=tools|categoryIcon=linux}}
<pre>
{{PageSequence
|prev=Template:Icon
|next=Template:Link
|category=Template
|categoryIcon=file-text-o
}}
}}
</pre>
</pre>
 
[[Category:Template]]
{{PageSequence
</noinclude><includeonly>{{#switch:{{{storemode|}}}
|prev=Template:Icon
|none=
|next=Template:Link
|subobject={{#subobject:-
|category=Template
|isA=PageSequence
|categoryIcon=file-text-o
|PageSequence prev={{{prev|}}}
|PageSequence next={{{next|}}}
|PageSequence categoryIcon={{{categoryIcon|}}}
|PageSequence category={{{category|}}}
}}
}}
 
|#default={{#set:
= Properties =
|isA=PageSequence
* {{Link|target=Property:PageSequence next}}
|PageSequence prev={{{prev|}}}
* {{Link|target=Property:PageSequence prev}}
* {{Link|target=Property:PageSequence category}}
* {{Link|target=Property:PageSequence categoryIcon}}
{{NeededFor|ProfiWiki}}
</noinclude><includeonly>{{#set:
|PageSequence next={{{next|}}}
|PageSequence next={{{next|}}}
|PageSequence prev={{{prev|}}}
|PageSequence category=Category:{{{category|}}}
|PageSequence categoryIcon={{{categoryIcon|}}}
|PageSequence categoryIcon={{{categoryIcon|}}}
|PageSequence category={{{category|}}}
}}
}}
{{#switch:{{{viewmode|}}}|hidden=|masterdetail=
|#default={{{!}} class='wikitable'
! colspan='2' {{!}}PageSequence
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/PageSequence/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
![[Property:PageSequence prev|prev]]
{{!}}&nbsp;{{#if:{{{prev|}}}|{{{prev}}}|}}→[[{{{prev|}}}]]
{{!}}-
![[Property:PageSequence next|next]]
{{!}}&nbsp;{{#if:{{{next|}}}|{{{next}}}|}}→[[{{{next|}}}]]
{{!}}-
![[Property:PageSequence categoryIcon|categoryIcon]]
{{!}}&nbsp;{{#if:{{{categoryIcon|}}}|{{{categoryIcon}}}|}}
{{!}}-
![[Property:PageSequence category|category]]
{{!}}&nbsp;{{#if:{{{category|}}}|{{{category}}}|}}→[[{{{category|}}}]]
{{!}}-
{{!}}}
}}
}}
<div style="display:table;border-collapse: collapse;"><div style="display: table-row;">
[[Category:PageSequence]]{{#default_form:PageSequence}}
  <div style="display: table-cell; vertical-align: middle">{{#if: {{{prev|}}}|
</includeonly>
      {{#ifexist: {{{prev}}}
        |<imgLink img='{{Icon|name=nav_left_blue|title=previous}}'>{{{prev|}}}</imgLink>
        |<imgLink img='{{Icon|name=nav_left_red|title=previous}}'>{{{prev|}}}</imgLink>}}
    }}
  </div>
  {{#if: {{{category|}}} |
  <div style="display: table-cell;">
    <div style="display: table-row;">{{#if: {{{categoryIcon|}}}
      |<imgLink img='{{Icon|name={{{categoryIcon|}}}|title={{{category|}}}}}'>:Category:{{{category|}}}</imgLink>
      }}
    </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|}}}
      |{{#ifexist: {{{next}}}
          |<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>

Latest revision as of 10:40, 5 June 2025

This is the BITPlan Y-Prinzip ProfiWiki-Template for "PageSequence".

see also

see also

Usage

{{PageSequence
|prev=
|next=
|categoryIcon=
|category=
|storemode=property or subobject or none"
}}