Template:Slider generator/doc

Description
This template is used as base for a slider like Homepage/SliderMenu.

Dependencies
This template uses File:Slider arrow.png, File:Slider home.png File:Slider edit.png, the CSS on MediaWiki:Slider.css and the JS on MediaWiki:Common.js/slider.js.

Syntax
The are three modes of use:

Base template

 * Parameters
 * slide= in this case  is used to create the main container of the slider.
 * content #= the single slides. Slide  will be the main menù where every other slides will be linked.


 * Example

gives: Slider.

Main Menu slide

 * Parameters
 * slide= in this case  is used to create the main menù where every other slides will be linked from.
 * tab #= displays the title of each slide. The number  matches the id number of the slide.
 * tab #= image the image used as preview of each slide. The number  matches the id number of the slide.


 * Example

gives: Homepage/SliderMenu/Slide 0.

Normal slide

 * Parameters
 * slide= identification number of the slide, in this case it can be,  ,  ,   or  . The slide #1 will be the first one and the one with the biggest preview on the main menu. The others will follow in order on the right.
 * link= the name of the page where there is the slide code. A link to edit that page will be shown on the slide.
 * tab #= the title of a tab inside the slide. There can be a maximum of 9 tabs.
 * tab # content= the content of a tab.


 * Examples
 * Homepage/SliderMenu/Slide 1.
 * Homepage/SliderMenu/Slide 2.
 * Homepage/SliderMenu/Slide 3.
 * Homepage/SliderMenu/Slide 4.
 * Homepage/SliderMenu/Slide 5.