Wiki source code of Confluence bridge for Section
Version 1.1 by Frank Fock on 2025/01/26 23:11
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | {{toc/}} |
| 2 | |||
| 3 | = Description = | ||
| 4 | |||
| 5 | This macro is a bridge for the Confluence Section macro. This macro is used in conjunction with [[ConfluenceColumn]] to create sections of contents with columns. | ||
| 6 | |||
| 7 | = Parameters = | ||
| 8 | |||
| 9 | |=Parameter|=Name|=Description|=Default value | ||
| 10 | |border|Show Border|Select this option to draw a border around the columns, when they exist.|false | ||
| 11 | |||
| 12 | = Usage Examples = | ||
| 13 | |||
| 14 | {{excerpt}} | ||
| 15 | |||
| 16 | == Simple section without border == | ||
| 17 | |||
| 18 | {{code}} | ||
| 19 | {{confluence_section}} | ||
| 20 | Content of a simple section, without border. | ||
| 21 | {{/confluence_section}} | ||
| 22 | {{/code}} | ||
| 23 | |||
| 24 | {{confluence_section}} | ||
| 25 | Content of a simple section, without border. | ||
| 26 | {{/confluence_section}} | ||
| 27 | |||
| 28 | == Simple section with border, no column == | ||
| 29 | |||
| 30 | No border is added, because the borders are applied on columns, when they exist. | ||
| 31 | |||
| 32 | {{code}} | ||
| 33 | {{confluence_section border="true"}} | ||
| 34 | Content of a simple section, with border. | ||
| 35 | {{/confluence_section}} | ||
| 36 | {{/code}} | ||
| 37 | |||
| 38 | {{confluence_section border="true"}} | ||
| 39 | Content of a simple section, with border. | ||
| 40 | {{/confluence_section}} | ||
| 41 | |||
| 42 | == Simple section with border and column == | ||
| 43 | |||
| 44 | {{code}} | ||
| 45 | {{confluence_section border="true"}} | ||
| 46 | {{column}} | ||
| 47 | Content of a simple section, with border. | ||
| 48 | {{/column}} | ||
| 49 | {{/confluence_section}} | ||
| 50 | {{/code}} | ||
| 51 | |||
| 52 | {{confluence_section border="true"}} | ||
| 53 | {{column}} | ||
| 54 | Content of a simple section, with border. | ||
| 55 | {{/column}} | ||
| 56 | {{/confluence_section}} | ||
| 57 | |||
| 58 | == Section with 4 columns == | ||
| 59 | |||
| 60 | {{code}} | ||
| 61 | {{confluence_section border="true"}} | ||
| 62 | |||
| 63 | {{column width="250px"}} | ||
| 64 | Content in the column 1 | ||
| 65 | {{/column}} | ||
| 66 | |||
| 67 | {{column width="300px"}} | ||
| 68 | Content in the column 2 | ||
| 69 | {{/column}} | ||
| 70 | |||
| 71 | {{column width="300px"}} | ||
| 72 | Content in the column 3 | ||
| 73 | {{/column}} | ||
| 74 | |||
| 75 | {{column width="250px"}} | ||
| 76 | Content in the column 4 | ||
| 77 | {{/column}} | ||
| 78 | |||
| 79 | {{/confluence_section}} | ||
| 80 | {{/code}} | ||
| 81 | |||
| 82 | {{confluence_section border="true"}} | ||
| 83 | |||
| 84 | {{column width="250px"}} | ||
| 85 | Content in the column 1 | ||
| 86 | {{/column}} | ||
| 87 | |||
| 88 | {{column width="300px"}} | ||
| 89 | Content in the column 2 | ||
| 90 | {{/column}} | ||
| 91 | |||
| 92 | {{column width="300px"}} | ||
| 93 | Content in the column 3 | ||
| 94 | {{/column}} | ||
| 95 | |||
| 96 | {{column width="250px"}} | ||
| 97 | Content in the column 4 | ||
| 98 | {{/column}} | ||
| 99 | |||
| 100 | {{/confluence_section}} | ||
| 101 | {{/excerpt}} |