« Modèle:Galerie » : différence entre les versions

[version non vérifiée][version non vérifiée]
Contenu supprimé Contenu ajouté
m Image namespace -> File namespace
m typo fixes
Ligne 31 :
 
</pre>
You can also use ''title<tab number>''=foo, or a section header (<nowiki>==something==</nowiki>) to overideoverride 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:
<pre><h2 style="display:block">something</h2></pre>
 
Example of overidingoverriding automatic tab numbering:
<pre>
{{picture select|1=
Ligne 171 :
***use alternative syntax:<code><nowiki><h2 style="display:block">foo</h2></nowiki></code> (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<number>''=picture_numb if you want to overideoverride other labeling of tabs
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.