This is the template Slide.
It belongs to the concept Category:Slide
You may find examples for the use of this template via the List of Slides.
Usage
viewmode plain
{{Slide
|title=test title
|pageno=test pageno
|pages=test pages
|next=test next
|prev=test prev
|presentation=test presentation
|viewmode=plain
}}
title
|
test title
|
#
|
test pageno
|
##
|
test pages
|
next
|
test next
|
prev
|
test prev
|
presentation
|
test presentation
|
edit this Slide
viewmode nice
{{Slide
|title=test title
|pageno=test pageno
|pages=test pages
|next=test next
|prev=test prev
|presentation=test presentation
|viewmode=nice
}}
title
|
test title
|
#
|
test pageno
|
##
|
test pages
|
next
|
test next
|
prev
|
test prev
|
presentation
|
test presentation
|
edit this Slide
viewmode master/detail
{{Slide
|title=test title
|pageno=test pageno
|pages=test pages
|next=test next
|prev=test prev
|presentation=test presentation
|viewmode=master/detail
}}
title
|
test title
|
#
|
test pageno
|
##
|
test pages
|
next
|
test next
|
prev
|
test prev
|
presentation
|
test presentation
|
edit this Slide
viewmode link
{{Slide
|title=test title
|pageno=test pageno
|pages=test pages
|next=test next
|prev=test prev
|presentation=test presentation
|viewmode=link
}}
title
|
test title
|
#
|
test pageno
|
##
|
test pages
|
next
|
test next
|
prev
|
test prev
|
presentation
|
test presentation
|
edit this Slide
viewmode editable
{{Slide
|title=test title
|pageno=test pageno
|pages=test pages
|next=test next
|prev=test prev
|presentation=test presentation
|viewmode=editable
}}
title
|
test title
|
#
|
test pageno
|
##
|
test pages
|
next
|
test next
|
prev
|
test prev
|
presentation
|
test presentation
|
edit this Slide
Source
<!--
This is a "pretty printed" version of the template source code
due to MediaWiki's way of handling whitespace in templates the original source code can not be nicely
indented and looks somewhat "ugly". Unfortunately you should therefore not cut&paste this pretty printed version between
the <includeonly></includeonly> tag pair,
parameters may be either positional or by name
define named variables to normalize this
-->
{{#if:{{{1|}}}
|{{#vardefine:title|{{{1|}}}}}
|{{#vardefine:title|{{{title|}}}}}
}}{{#if:{{{2|}}}
|{{#vardefine:pageno|{{{2|}}}}}
|{{#vardefine:pageno|{{{pageno|}}}}}
}}{{#if:{{{3|}}}
|{{#vardefine:pages|{{{3|}}}}}
|{{#vardefine:pages|{{{pages|}}}}}
}}{{#if:{{{4|}}}
|{{#vardefine:next|{{{4|}}}}}
|{{#vardefine:next|{{{next|}}}}}
}}{{#if:{{{5|}}}
|{{#vardefine:prev|{{{5|}}}}}
|{{#vardefine:prev|{{{prev|}}}}}
}}{{#if:{{{6|}}}
|{{#vardefine:presentation|{{{6|}}}}}
|{{#vardefine:presentation|{{{presentation|}}}}}
}}
<!--
set the semantic properties from the named variables
each property having the same name as the variable with the concept name as a prefix
-->
{{#set:
|Slide title={{#var:title}}
|Slide pageno={{#var:pageno}}
|Slide pages={{#var:pages}}
|Slide next={{#var:next}}
|Slide prev={{#var:prev}}
|Slide presentation={{#var:presentation}}
}}
<!--
this is almost the same table that the Page Schemas extension would generate except
the pipe symbols are escaped to allow the addition of further template logic with
e.g. parser functions
-->
{{{!}} class="wikitable"
!title
{{!}}{{#var:title}}
{{!}}-
!#
{{!}}{{#var:pageno}}
{{!}}-
!##
{{!}}{{#var:pages}}
{{!}}-
!next
{{!}}{{#var:next}}
{{!}}-
!prev
{{!}}{{#var:prev}}
{{!}}-
!presentation
{{!}}{{#var:presentation}}
{{!}}-
{{!}}}
<!--
add an edit icon to not have to move the mouse so far for editing
-->
{{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Slide/{{FULLPAGENAME}}|title=edit this Slide}}<br>
<!--
add the category
-->
[[Category:Slide]]
Click on "Edit" to edit the Source of this Template.