#format wiki #language en #pragma section-numbers off #acl IanRiley:read,write,delete,revert,admin All:read #pragma supplementation-page on == tables.py parser example == An example for two adjacent tables with Table 1 from a page and Table 2 from an attached file. The defaults of one table per row with a width of 66% have been overridden here by option c-2 and 40%, respectively. === Table 1 === Stored as page with the caption as part of the table. The caption included in the parser section to serves only as a comment. Link to [[/Table 1|Table 1]] page. === Table 2 === Stored as attached text file (.txt assumed) with caption from the key:val pair positioned (borderless) above the inserted table. {{attachment:Table 2.txt}} === Parser markup === {{{{ {{{#!tables 40% c-2 /Table 1:: #'''Table 1.''' Example table saved as a page. Table 2:: '''Fig. 2.''' Example table saved as an attached file. }}} }}}} === Tables parsed === {{{#!tables 40% c-2 /Table 1:: #'''Table 1.''' Example table saved as a page. Table 2:: '''Fig. 2.''' Example table saved as an attached file. }}}