Utilisateur:Raymond SÉNÈQUE/Article en cours : Différence entre versions

De WikiGenWeb
Aller à : navigation, rechercher
m
m (Page blanchie)
Ligne 1 : Ligne 1 :
+
 
=== Collapsible tables ===
 
Classes can also be used to collapse tables, so they are hidden by default.  Use the style 'collapsible' to enable collapsing behaviour.  By default, a collapsible table will begin expanded.  To change this, include the additional class 'collapsed' or 'autocollapse' (i.e. only collapse if 3 other collapsible tables are present). You must include a header row, where the 'hide' option will be displayed. Example:
 
<pre style="display: inline-block;">
 
{| class="wikitable collapsible collapsed"
 
! Header
 
|-
 
| Content which starts hidden
 
|-
 
| more hidden content
 
|}
 
</pre>
 
Gives:
 
{| class="wikitable collapsible collapsed"
 
|-
 
! Header
 
|-
 
| Content which starts hidden
 
|-
 
| more hidden content
 
|}
 

Version du 26 février 2011 à 12:39