Vorlage:Slideshow: Unterschied zwischen den Versionen

Aus Bayernflora
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „{{Documentation subpage}} '''Slideshow''' allows you to have an interactive slideshow on a page. You can click the left and right buttons to move to the previ…“)
 
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
{{Documentation subpage}}
+
<includeonly>{{#if:{{{slide 2|{{{2|}}}}}}|
 
+
<div style="{{{frame style|border:1px solid #ccccff;}}}">
'''Slideshow''' allows you to have an interactive slideshow on a page. You can click the left and right buttons to move to the previous and next slide. [[MediaWiki:Common.js/Slideshows.js]] and [[MediaWiki:Common.css/Slideshows.css]] are required for this to work.
+
<div style="text-align:center; font-weight:bold;">&nbsp;</div>
 
+
<div class="slides" style="{{{slides style|}}}">
== Usage ==
+
<div class="slide">
<pre style="border:0px; background-color:transparent;">
+
{{{slide 1|{{{1}}}}}}
{{slideshow
+
</div>
| frame style = CSS to use (optional)
+
<div class="slide">
| slides style = CSS to use (optional)
+
{{{slide 2|{{{2}}}}}}
| slide 1 =
+
</div>
....
+
{{#if:{{{slide 3|{{{3|}}}}}}|
| slide 15 =
+
<div class="slide">
}}
+
{{{slide 3|{{{3}}}}}}
</pre>
+
</div>
 
+
}}{{#if:{{{slide 4|{{{4|}}}}}}|
slide 1 through slide 15 are what to show for each slide.
+
<div class="slide">
 
+
{{{slide 4|{{{4}}}}}}
== Example ==
+
</div>
 
+
}}{{#if:{{{slide 5|{{{5|}}}}}}|
{{slideshow
+
<div class="slide">
| frame style = width:550px;
+
{{{slide 5|{{{5}}}}}}
| slides style = padding:25px; background-color:#ccffcc;
+
</div>
| slide 1 = [[File:Wikiversity-banner.jpg|500px|link=]]
+
}}{{#if:{{{slide 6|{{{6|}}}}}}|
| slide 2 = [[File:Wikiversity Banner Fachbereich_Geschichte (2).png|500px|link=]]
+
<div class="slide">
| slide 3 = [[File:File-Banner Year of Astronomy TvJ 1 1600x440.png|500px|link=]]
+
{{{slide 6|{{{6}}}}}}
 +
</div>
 +
}}{{#if:{{{slide 7|{{{7|}}}}}}|
 +
<div class="slide">
 +
{{{slide 7|{{{7}}}}}}
 +
</div>
 +
}}{{#if:{{{slide 8|{{{8|}}}}}}|
 +
<div class="slide">
 +
{{{slide 8|{{{8}}}}}}
 +
</div>
 +
}}{{#if:{{{slide 9|{{{9|}}}}}}|
 +
<div class="slide">
 +
{{{slide 9|{{{9}}}}}}
 +
</div>
 +
}}{{#if:{{{slide 10|{{{10|}}}}}}|
 +
<div class="slide">
 +
{{{slide 10|{{{10}}}}}}
 +
</div>
 +
}}{{#if:{{{slide 11|{{{11|}}}}}}|
 +
<div class="slide">
 +
{{{slide 11|{{{11}}}}}}
 +
</div>
 +
}}{{#if:{{{slide 12|{{{12|}}}}}}|
 +
<div class="slide">
 +
{{{slide 12|{{{12}}}}}}
 +
</div>
 +
}}{{#if:{{{slide 13|{{{13|}}}}}}|
 +
<div class="slide">
 +
{{{slide 13|{{{13}}}}}}
 +
</div>
 +
}}{{#if:{{{slide 14|{{{14|}}}}}}|
 +
<div class="slide">
 +
{{{slide 14|{{{14}}}}}}
 +
</div>
 +
}}{{#if:{{{slide 15|{{{15|}}}}}}|
 +
<div class="slide">
 +
{{{slide 15|{{{15}}}}}}
 +
</div>
 
}}
 
}}
 +
</div>
 +
</div>
 +
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Aktuelle Version vom 24. Juni 2015, 12:57 Uhr

[Bearbeiten] [Aktualisieren] Template-info.svg Dokumentation der Vorlage

Slideshow allows you to have an interactive slideshow on a page. You can click the left and right buttons to move to the previous and next slide. MediaWiki:Common.js/Slideshows.js and MediaWiki:Common.css/Slideshows.css are required for this to work.

Usage

{{slideshow
| frame style = CSS to use (optional)
| slides style = CSS to use (optional)
| slide 1 =
....
| slide 15 =
}}

slide 1 through slide 15 are what to show for each slide.

Example