« Modèle:TableStart » : différence entre les versions
De Guide de l'Installation Electrique
(modified it to add similar classes as in OneSource (cols-3 rather than 3col)) |
(changed cols-5 to wide-table) |
||
Ligne 1 : | Ligne 1 : | ||
<includeonly>{| id="{{{1}}}" class="wikitable {{#switch: {{{2|}}} | 2col = cols-2 | 3col = cols-3 | 4col = cols-4 | 5col = | <includeonly>{| id="{{{1}}}" class="wikitable {{#switch: {{{2|}}} | 2col = cols-2 | 3col = cols-3 | 4col = cols-4 | 5col = wide-table | #default = cols-4}}"</includeonly><noinclude> | ||
Version du 1 septembre 2016 à 08:14
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