Template:Slide

From BITPlan profiwiki Wiki
Jump to navigation Jump to search


This is the template Slide. It belongs to the concept/topic Concept:Slide
You may find examples for the use of this template via the List of Slides.

Usage

storemode subobject

{{Slide
|title=
|pageno=
|pages=
|prev=
|next=
|leftContent=
|rightContent=
|text=
|notes=
|print=
|template=
|state=
|comment=
|presentation=
|storemode=subobject
}}

storemode property

{{Slide
|title=
|pageno=
|pages=
|prev=
|next=
|leftContent=
|rightContent=
|text=
|notes=
|print=
|template=
|state=
|comment=
|presentation=
|storemode=property
}}

storemode none

{{Slide
|title=
|pageno=
|pages=
|prev=
|next=
|leftContent=
|rightContent=
|text=
|notes=
|print=
|template=
|state=
|comment=
|presentation=
|storemode=none
}}


viewmode tableheader

{{Slide
|title=
|pageno=
|pages=
|prev=
|next=
|leftContent=
|rightContent=
|text=
|notes=
|print=
|template=
|state=
|comment=
|presentation=
|viewmode=tableheader
}}

viewmode tablerow

{{Slide
|title=
|pageno=
|pages=
|prev=
|next=
|leftContent=
|rightContent=
|text=
|notes=
|print=
|template=
|state=
|comment=
|presentation=
|viewmode=tablerow
}}

viewmode tablefooter

{{Slide
|title=
|pageno=
|pages=
|prev=
|next=
|leftContent=
|rightContent=
|text=
|notes=
|print=
|template=
|state=
|comment=
|presentation=
|viewmode=tablefooter
}}

viewmode labelfield

{{Slide
|title=
|pageno=
|pages=
|prev=
|next=
|leftContent=
|rightContent=
|text=
|notes=
|print=
|template=
|state=
|comment=
|presentation=
|viewmode=labelfield
}}

Source

{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Slide<br>|}}
{{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}}
{{#if:{{{?pageno|}}}|"{{{?pageno}}}" is pageno of it <br>|}}
{{#if:{{{?pages|}}}|"{{{?pages}}}" is pages of it <br>|}}
{{#if:{{{?prev|}}}|"{{{?prev}}}" is prev of it <br>|}}
{{#if:{{{?next|}}}|"{{{?next}}}" is next of it <br>|}}
{{#if:{{{?leftContent|}}}|"{{{?leftContent}}}" is leftContent of it <br>|}}
{{#if:{{{?rightContent|}}}|"{{{?rightContent}}}" is rightContent of it <br>|}}
{{#if:{{{?text|}}}|"{{{?text}}}" is text of it <br>|}}
{{#if:{{{?notes|}}}|"{{{?notes}}}" is notes of it <br>|}}
{{#if:{{{?print|}}}|"{{{?print}}}" is print of it <br>|}}
{{#if:{{{?template|}}}|"{{{?template}}}" is template of it <br>|}}
{{#if:{{{?state|}}}|"{{{?state}}}" is state of it <br>|}}
{{#if:{{{?comment|}}}|"{{{?comment}}}" is comment of it <br>|}}
{{#if:{{{?presentation|}}}|"{{{?presentation}}}" is presentation of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=

|{{#set:
|isA=Slide
|Slide title={{{title|}}}
|Slide pageno={{{pageno|}}}
|Slide pages={{{pages|}}}
|Slide prev={{{prev|}}}
|Slide next={{{next|}}}
|Slide leftContent={{{leftContent|}}}
|Slide rightContent={{{rightContent|}}}
|Slide text={{{text|}}}
|Slide notes={{{notes|}}}
|Slide print={{{print|}}}
|Slide template={{{template|}}}
|Slide state={{{state|}}}
|Slide comment={{{comment|}}}
|Slide presentation={{{presentation|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|masterdetail=
|tableheader={{{!}} class='wikitable'
!title!!pageno!!pages!!prev!!next!!leftContent!!rightContent!!text!!notes!!print!!template!!state!!comment!!presentation
{{!}}-
|tablerow=
{{!}}{{{title|}}}{{!}}{{!}}{{{pageno|}}}{{!}}{{!}}{{{pages|}}}{{!}}{{!}}{{{prev|}}}{{!}}{{!}}{{{next|}}}{{!}}{{!}}{{{leftContent|}}}{{!}}{{!}}{{{rightContent|}}}{{!}}{{!}}{{{text|}}}{{!}}{{!}}{{{notes|}}}{{!}}{{!}}{{{print|}}}{{!}}{{!}}{{{template|}}}{{!}}{{!}}{{{state|}}}{{!}}{{!}}{{{comment|}}}{{!}}{{!}}{{{presentation|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
title={{#if:{{{title|}}}|{{{title|}}}|}}<br>pageno={{#if:{{{pageno|}}}|{{{pageno|}}}|}}<br>pages={{#if:{{{pages|}}}|{{{pages|}}}|}}<br>prev={{#if:{{{prev|}}}|[[{{{prev|}}}]]|}}<br>next={{#if:{{{next|}}}|[[{{{next|}}}]]|}}<br>leftContent={{#if:{{{leftContent|}}}|{{{leftContent|}}}|}}<br>rightContent={{#if:{{{rightContent|}}}|{{{rightContent|}}}|}}<br>text={{#if:{{{text|}}}|{{{text|}}}|}}<br>notes={{#if:{{{notes|}}}|{{{notes|}}}|}}<br>print={{#if:{{{print|}}}|{{{print|}}}|}}<br>template={{#if:{{{template|}}}|{{{template|}}}|}}<br>state={{#if:{{{state|}}}|{{{state|}}}|}}<br>comment={{#if:{{{comment|}}}|{{{comment|}}}|}}<br>presentation={{#if:{{{presentation|}}}|[[{{{presentation|}}}]]|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Slide
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Slide/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!title
{{!}}&nbsp;{{#if:{{{title|}}}|{{{title|}}}|}}
{{!}}-
!#
{{!}}&nbsp;{{#if:{{{pageno|}}}|{{{pageno|}}}|}}
{{!}}-
! ##
{{!}}&nbsp;{{#if:{{{pages|}}}|{{{pages|}}}|}}
{{!}}-
!prev
{{!}}&nbsp;{{#if:{{{prev|}}}|[[{{{prev|}}}]]|}}
{{!}}-
!next
{{!}}&nbsp;{{#if:{{{next|}}}|[[{{{next|}}}]]|}}
{{!}}-
!left
{{!}}&nbsp;{{#if:{{{leftContent|}}}|{{{leftContent|}}}|}}
{{!}}-
!right
{{!}}&nbsp;{{#if:{{{rightContent|}}}|{{{rightContent|}}}|}}
{{!}}-
!text
{{!}}&nbsp;{{#if:{{{text|}}}|{{{text|}}}|}}
{{!}}-
!notes
{{!}}&nbsp;{{#if:{{{notes|}}}|{{{notes|}}}|}}
{{!}}-
!print
{{!}}&nbsp;{{#if:{{{print|}}}|{{{print|}}}|}}
{{!}}-
!template
{{!}}&nbsp;{{#if:{{{template|}}}|{{{template|}}}|}}
{{!}}-
!state
{{!}}&nbsp;{{#if:{{{state|}}}|{{{state|}}}|}}
{{!}}-
!comment
{{!}}&nbsp;{{#if:{{{comment|}}}|{{{comment|}}}|}}
{{!}}-
!presentation
{{!}}&nbsp;{{#if:{{{presentation|}}}|[[{{{presentation|}}}]]|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Slide]]

Click on "Edit" to edit the Source of this Template.