User:Kayau/New main page/Featured template/Template:Picture select L

  

JS is new, so please clear cache (do hard refresh of [] and []) before complaining of lack of workingness.

See also: Picture select

Usage:
or

You can also use title =foo, or a section header ( ==something== ) to override the normal tab title (picture number). Since if any section headers are present, it is assumed each section represents a tab, so the headers are not displayed. If you want them displayed, please use the alternative syntax: something

Example of overriding automatic tab numbering:

Supports upto 200 pictures. Also supports an optional width (include units, defaults to 400px), noborder, and align parameter. Most common usage would be:

Which makes:

Text flows around the image(s), which it would not do with the centered Picture select. clear can be used to force following text to appear below the image(s).

caveats and bugs
The max 200 tabs is a limit to this template, not the tab system, and can be expanded as needed. I don't consider that an issue. The tab title issues are problems with adapting the tabber code to the wiki. They require minnor changes to js (I should get around to fixing them sometime soon). In the meanwhile i don't think it will be an issue.
 * Maximum 200 (but if you need more, its a simple edit to this template)
 * Headline support is confusing (this could be changed, ask me)
 * it Assumes that your headline is a title of a tab, so doesn't display
 * use alternative syntax: (change the 2 to the number of equal signs you'd use in normal syntax) if you want a headline
 * Makes it the title of the tab (as opposed to auto-numbering)
 * use a title =picture_numb if you want to override other labeling of tabs

Note: tab title is determined by:
 * 1) title =something parameter of template (corresponding to title attribute of containing div)
 * 2) any section headers
 * 3) as last resort, automatically given a number (this is what is generally used)

es:Plantilla:Galería