19,809
edits
m (oops) |
(restoring old changes: "FELD" -> "COLUMN", prettytable to wikitable) |
||
| Line 544: | Line 544: | ||
//generateTable(caption, exhead, nbCol, nbRow, exfield, align); | //generateTable(caption, exhead, nbCol, nbRow, exfield, align); | ||
var code = '\n'; | var code = '\n'; | ||
code += '{| | code += '{| ' + align + ' '; | ||
code += (f.inputSort.checked) ? 'class="sortable" \n' : '\n'; | code += (f.inputSort.checked) ? 'class="wikitable sortable" \n' : '\n'; | ||
code += caption + exhead; | code += caption + exhead; | ||
if (exfield) { | if (exfield) { | ||
| Line 551: | Line 551: | ||
} | } | ||
for (i = 1; i < nbCol + 1; i++) { | for (i = 1; i < nbCol + 1; i++) { | ||
code += '! | code += '! COLUMN ' + i + '\n'; | ||
} | } | ||
var items = 0; | var items = 0; | ||