« Modèle:TableStart » : différence entre les versions
De Guide de l'Installation Electrique
(copied from FR-pp) |
(modified it to add similar classes as in OneSource (cols-3 rather than 3col)) |
||
Ligne 1 : | Ligne 1 : | ||
<includeonly>{| id="{{{1}}}" class="wikitable {{{2|}}}"</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 1 septembre 2016 à 07:16
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