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

De Guide de l'Installation Electrique
Aller à :navigation, rechercher
(changed cols-5 to wide-table)
(test avoid using "wide-table" in the wiki (reserved for OneSource export) - replaced by cols-5 - test impact on the look&feel of "large" tables in the wiki (cols-5 not defined in CSS ==> no fixed width))
Ligne 1 : Ligne 1 :
<includeonly>{| id="{{{1}}}" class="wikitable {{#switch: {{{2|}}} | 2col = cols-2 | 3col = cols-3 | 4col = cols-4 | 5col = wide-table | #default = cols-4}}"</includeonly><noinclude>
<includeonly>{| id="{{{1}}}" class="wikitable {{#switch: {{{2|}}} | 2col = cols-2 | 3col = cols-3 | 4col = cols-4 | 5col = cols-5 | #default = cols-4}}"</includeonly><noinclude>





Version du 20 septembre 2016 à 09:23


Description

This template is the starting syntax of EIG tables ("replaces" the usual syntax : {| class="wikitable"


Syntax:

{{ TableStart | <1=table-ID> | <2=table-cols> }}


Where:

<1=table-ID>     is like:   Tab1001   (= cf refence file for table IDs)
<2=table-cols>   corresponds to the number of "columns" (referring to book page structure divided in 5 columns ...), eg: 1col 2col 3col 4col 5col