4 | | Wiki markup is a core feature in Trac, tightly integrating all the other parts of Trac into a flexible and powerful whole. |
5 | | |
6 | | Trac has a built in small and powerful wiki rendering engine. This wiki engine implements an ever growing subset of the commands from other popular Wikis, |
7 | | especially [http://moinmoin.wikiwikiweb.de/ MoinMoin]. |
8 | | |
9 | | |
10 | | This page demonstrates the formatting syntax available anywhere WikiFormatting is allowed. |
11 | | |
12 | | |
13 | | == Font Styles == |
| 5 | Wiki markup is a core feature in Trac, tightly integrating all the other parts of Trac into a flexible and unified whole. |
| 6 | |
| 7 | Trac has a powerful wiki rendering engine that implements a subset of the commands from other popular Wikis, such as [https://moinmo.in/ MoinMoin] and [trac:WikiCreole]. |
| 8 | |
| 9 | The sections below provide an overview for the most common syntax, each link in the ''Category'' column leads you to the more detailed explanation later in this page. |
| 10 | |
| 11 | The following wiki pages present the advanced features of the Trac wiki markup in more depth: |
| 12 | - TracLinks covers all the possible ways to refer to any Trac resource or parts thereof. |
| 13 | - WikiPageNames covers the various names a wiki page can take, whether in CamelCase or not. |
| 14 | - WikiMacros lists the macros available for generating dynamic content. |
| 15 | - WikiProcessors and WikiHtml details how parts of the wiki text can be processed in special ways. |
| 16 | - [trac:wiki:TracDev/Proposals/AdvancedWikiOperations AdvancedWikiOperations] provides some operations in uncommon or administrative scenarios. |
| 17 | |
| 18 | == Common wiki markup |
| 19 | |
| 20 | ||= '''Category''' =||= '''Wiki Markup''' =||= '''Display''' =|| |
| 21 | |----------------------------------------------------------- |
| 22 | {{{#!th rowspan=3 |
| 23 | [#FontStyles Font Styles] |
| 24 | }}} |
| 25 | || `'''bold'''`, `''italic''`, `'''''Wikipedia style'''''` || \ |
| 26 | || '''bold''', ''italic'', '''''Wikipedia style''''' || |
| 27 | || `**bold**`, `//italic//`, `**//!WikiCreole style//**` || \ |
| 28 | || **bold**, //italic//, **//!WikiCreole style//** || |
| 29 | || {{{`monospaced (''other markup ignored'')`}}} || \ |
| 30 | || `monospaced (''other markup ignored'')` || |
| 31 | |----------------------------------------------------------- |
| 32 | ||= [#Headings Headings] =||\ |
| 33 | {{{#!td |
| 34 | {{{ |
| 35 | == Level 2 |
| 36 | === Level 3 ^([#hn note])^ |
| 37 | }}} |
| 38 | }}} |
| 39 | {{{#!td style="padding-left: 2em" |
| 40 | == Level 2 |
| 41 | === Level 3 ^([#hn note])^ |
| 42 | }}} |
| 43 | |----------------------------------------------------------- |
| 44 | ||= [#Paragraphs Paragraphs] =||\ |
| 45 | {{{#!td |
| 46 | {{{ |
| 47 | First paragraph |
| 48 | on multiple lines. |
| 49 | |
| 50 | Second paragraph. |
| 51 | }}} |
| 52 | }}} |
| 53 | {{{#!td |
| 54 | First paragraph |
| 55 | on multiple lines. |
| 56 | |
| 57 | Second paragraph. |
| 58 | }}} |
| 59 | |----------------------------------------------------------- |
| 60 | ||= [#Lists Lists] =||\ |
| 61 | {{{#!td |
| 62 | {{{ |
| 63 | * bullet list |
| 64 | on multiple lines |
| 65 | 1. nested list |
| 66 | a. different numbering |
| 67 | styles |
| 68 | }}} |
| 69 | }}} |
| 70 | {{{#!td |
| 71 | * bullet list |
| 72 | on multiple lines |
| 73 | 1. nested list |
| 74 | a. different numbering |
| 75 | styles |
| 76 | }}} |
| 77 | |----------------------------------------------------------- |
| 78 | {{{#!th |
| 79 | [#DefinitionLists Definition Lists] |
| 80 | }}} |
| 81 | {{{#!td |
| 82 | {{{ |
| 83 | term:: definition on |
| 84 | multiple lines |
| 85 | }}} |
| 86 | }}} |
| 87 | {{{#!td |
| 88 | term:: definition on |
| 89 | multiple lines |
| 90 | }}} |
| 91 | |----------------------------------------------------------- |
| 92 | ||= [#PreformattedText Preformatted Text] =||\ |
| 93 | {{{#!td |
| 94 | {{{ |
| 95 | {{{ |
| 96 | multiple lines, ''no wiki'', |
| 97 | white space respected |
| 98 | }}} |
| 99 | }}} |
| 100 | }}} |
| 101 | {{{#!td |
| 102 | {{{ |
| 103 | multiple lines, ''no wiki'', |
| 104 | white space respected |
| 105 | }}} |
| 106 | }}} |
| 107 | |----------------------------------------------------------- |
| 108 | ||= [#Blockquotes Blockquotes] =||\ |
| 109 | {{{#!td |
| 110 | {{{ |
| 111 | if there's some leading |
| 112 | space the text is quoted |
| 113 | }}} |
| 114 | }}} |
| 115 | {{{#!td |
| 116 | if there's some leading |
| 117 | space the text is quoted |
| 118 | }}} |
| 119 | |----------------------------------------------------------- |
| 120 | ||= [#DiscussionCitations Discussion Citations] =||\ |
| 121 | {{{#!td |
| 122 | {{{ |
| 123 | >> ... (I said) |
| 124 | > (he replied) |
| 125 | }}} |
| 126 | }}} |
| 127 | {{{#!td |
| 128 | >>... (I said) |
| 129 | > (he replied) |
| 130 | }}} |
| 131 | |----------------------------------------------------------- |
| 132 | ||= [#Tables Tables] =||\ |
| 133 | {{{#!td |
| 134 | {{{ |
| 135 | ||= Table Header =|| Cell || |
| 136 | |||| (details below) || |
| 137 | }}} |
| 138 | }}} |
| 139 | {{{#!td |
| 140 | ||= Table Header =|| Cell || |
| 141 | |||| (details below) || |
| 142 | }}} |
| 143 | |----------------------------------------------------------- |
| 144 | {{{#!th rowspan=2 |
| 145 | [#Links Links] |
| 146 | }}} |
| 147 | || `https://trac.edgewall.org` ||\ |
| 148 | || https://trac.edgewall.org || |
| 149 | || `WikiFormatting (CamelCase)` ||\ |
| 150 | || WikiFormatting (CamelCase) || |
| 151 | |----------------------------------------------------------- |
| 152 | {{{#!th rowspan=5 |
| 153 | [#TracLinks TracLinks] |
| 154 | }}} |
| 155 | || `wiki:WikiFormatting`, `wiki:"WikiFormatting"` ||\ |
| 156 | || wiki:WikiFormatting, wiki:"WikiFormatting" || |
| 157 | || `#1 (ticket)`, `[1] (changeset)`, `{1} (report)` ||\ |
| 158 | || #1 (ticket), [1] (changeset), {1} (report) || |
| 159 | || `ticket:1, ticket:1#comment:1, comment:1:ticket:1` ||\ |
| 160 | || ticket:1, ticket:1#comment:1, comment:1:ticket:1 || |
| 161 | || `Ticket [ticket:1]`, `[ticket:1 ticket one]` ||\ |
| 162 | || Ticket [ticket:1], [ticket:1 ticket one] || |
| 163 | || `Ticket [[ticket:1]]`, `[[ticket:1|ticket one]]` ||\ |
| 164 | || Ticket [[ticket:1]], [[ticket:1|ticket one]] || |
| 165 | |----------------------------------------------------------- |
| 166 | {{{#!th rowspan=2 |
| 167 | [#SettingAnchors Setting Anchors] |
| 168 | }}} |
| 169 | || `[=#point1 (1)] First...` ||\ |
| 170 | || [=#point1 (1)] First... || |
| 171 | || `see [#point1 (1)]` ||\ |
| 172 | || see [#point1 (1)] || |
| 173 | |----------------------------------------------------------- |
| 174 | {{{#!th rowspan=3 |
| 175 | [#Escaping Escaping Markup] |
| 176 | }}} |
| 177 | || `!'' doubled quotes` ||\ |
| 178 | || !'' doubled quotes || |
| 179 | || `!wiki:WikiFormatting`, `!WikiFormatting` ||\ |
| 180 | || !wiki:WikiFormatting, !WikiFormatting || |
| 181 | || [[html(<code>`{{{-}}}` triple curly brackets</code>)]] ||\ |
| 182 | || `{{{-}}}` triple curly brackets || |
| 183 | |----------------------------------------------------------- |
| 184 | ||= [#Images Images] =|| `[[Image(`''link''`)]]` || [[Image(htdocs:../common/trac_logo_mini.png)]] || |
| 185 | |----------------------------------------------------------- |
| 186 | {{{#!th rowspan=2 |
| 187 | [#Macros Macros] |
| 188 | }}} |
| 189 | || `[[MacroList(*)]]` || ''(short list of all available macros)'' || |
| 190 | || `[[Image?]]` || ''(help for the Image macro)'' || |
| 191 | |----------------------------------------------------------- |
| 192 | ||= [#Processors Processors] =||\ |
| 193 | {{{#!td |
| 194 | {{{ |
| 195 | {{{#!div style="font-size: 80%" |
| 196 | Code highlighting: |
| 197 | {{{#!python |
| 198 | hello = lambda: "world" |
| 199 | }}} |
| 200 | }}} |
| 201 | }}} |
| 202 | }}} |
| 203 | {{{#!td style="padding-left: 2em" |
| 204 | {{{#!div style="font-size: 80%" |
| 205 | Code highlighting: |
| 206 | {{{#!python |
| 207 | hello = lambda: "world" |
| 208 | }}} |
| 209 | }}} |
| 210 | }}} |
| 211 | |----------------------------------------------------------- |
| 212 | ||= [#Comments Comments] =||\ |
| 213 | {{{#!td |
| 214 | {{{ |
| 215 | {{{#!comment |
| 216 | Note to Editors: ... |
| 217 | }}} |
| 218 | }}} |
| 219 | }}} |
| 220 | || ''(comment is shown in edit mode only)'' || |
| 221 | |----------------------------------------------------------- |
| 222 | ||= [#Miscellaneous Miscellaneous] =||\ |
| 223 | {{{#!td |
| 224 | {{{ |
| 225 | Line [[br]] break |
| 226 | Line \\ break |
| 227 | ---- |
| 228 | }}} |
| 229 | }}} |
| 230 | {{{#!td style="padding-left: 2em" |
| 231 | Line [[br]] break |
| 232 | Line \\ break |
| 233 | ---- |
| 234 | }}} |
| 235 | |
| 236 | == Font Styles |
39 | | * {{{ ! }}} tells wiki parser to not take the following characters as wiki format, so pay attention to put a space after !, e.g. when ending bold. |
40 | | |
41 | | == Headings == |
42 | | |
43 | | You can create heading by starting a line with one up to five ''equal'' characters ("=") |
44 | | followed by a single space and the headline text. The line should end with a space |
45 | | followed by the same number of ''='' characters. |
46 | | The heading might optionally be followed by an explicit id. If not, an implicit but nevertheless readable id will be generated. |
47 | | |
48 | | Example: |
49 | | {{{ |
50 | | = Heading = |
51 | | == Subheading == |
52 | | === About ''this'' === |
53 | | === Explicit id === #using-explicit-id-in-heading |
54 | | }}} |
55 | | |
56 | | Display: |
57 | | = Heading = |
58 | | == Subheading == |
59 | | === About ''this'' === |
60 | | === Explicit id === #using-explicit-id-in-heading |
61 | | |
62 | | == Paragraphs == |
| 279 | * {{{ ! }}} tells wiki parser to not take the following characters as wiki format, so pay attention to put a space after `!`, e.g. when ending bold. |
| 280 | * all the font styles marks have to be used in opening/closing pairs, |
| 281 | and they must nest properly; in particular, an `''` italic can't be paired |
| 282 | with a `//` one, and `'''` can't be paired with `**`. |
| 283 | |
| 284 | == Headings |
| 285 | |
| 286 | You can create a heading by starting a line with one up to six ''equal'' characters (`=`) followed by a single space and the headline text. |
| 287 | |
| 288 | [=#hn] |
| 289 | The headline text can be followed by the same number of `=` characters, but this is not mandatory. That is, `=== Section3 ===` is identical to `=== Section3`. |
| 290 | |
| 291 | Finally, the heading might optionally be followed by an explicit id. If not, an implicit but nevertheless readable id will be generated. |
| 292 | |
| 293 | ||= Wiki Markup =||= Display =|| |
| 294 | {{{#!td |
| 295 | {{{ |
| 296 | = Heading = |
| 297 | == Subheading |
| 298 | === About ''this'' === |
| 299 | === Explicit id === #using-explicit-id-in-heading |
| 300 | == Subheading #sub2 |
| 301 | }}} |
| 302 | }}} |
| 303 | {{{#!td style="padding: 1em;" |
| 304 | {{{ |
| 305 | #!div |
| 306 | = Heading = |
| 307 | == Subheading |
| 308 | === About ''this'' === |
| 309 | === Explicit id === #using-explicit-id-in-heading |
| 310 | == Subheading #sub2 |
| 311 | }}} |
| 312 | }}} |
| 313 | |
| 314 | == Paragraphs |
193 | | Display: |
194 | | ||Cell 1||Cell 2||Cell 3|| |
195 | | ||Cell 4||Cell 5||Cell 6|| |
196 | | |
197 | | Note that more complex tables can be created using |
198 | | [wiki:WikiRestructuredText#BiggerReSTExample reStructuredText]. |
199 | | |
200 | | |
201 | | == Links == |
202 | | |
203 | | Hyperlinks are automatically created for WikiPageNames and URLs. !WikiPageLinks can be disabled by prepending an exclamation mark "!" character, such as {{{!WikiPageLink}}}. |
204 | | |
205 | | Example: |
206 | | {{{ |
207 | | TitleIndex, http://www.edgewall.com/, !NotAlink |
208 | | }}} |
209 | | |
210 | | Display: |
211 | | TitleIndex, http://www.edgewall.com/, !NotAlink |
212 | | |
213 | | Links can be given a more descriptive title by writing the link followed by a space and a title and all this inside square brackets. If the descriptive title is omitted, then the explicit prefix is discarded, unless the link is an external link. This can be useful for wiki pages not adhering to the WikiPageNames convention. |
214 | | |
215 | | Example: |
216 | | {{{ |
217 | | * [http://www.edgewall.com/ Edgewall Software] |
218 | | * [wiki:TitleIndex Title Index] |
219 | | * [wiki:ISO9000] |
220 | | }}} |
221 | | |
222 | | Display: |
223 | | * [http://www.edgewall.com/ Edgewall Software] |
224 | | * [wiki:TitleIndex Title Index] |
225 | | * [wiki:ISO9000] |
226 | | |
227 | | |
228 | | === Trac Links === |
| 495 | Cell headings can be specified by wrapping the content in a pair of `=` characters. |
| 496 | Note that the `=` characters have to stick to the cell separators: |
| 497 | ||= Wiki Markup =||= Display =|| |
| 498 | {{{#!td |
| 499 | {{{ |
| 500 | || ||= stable =||= latest =|| |
| 501 | ||= 0.10 =|| 0.10.5 || 0.10.6dev|| |
| 502 | ||= 0.11 =|| 0.11.6 || 0.11.7dev|| |
| 503 | }}} |
| 504 | }}} |
| 505 | {{{#!td style="padding: 2em;" |
| 506 | || ||= stable =||= latest =|| |
| 507 | ||= 0.10 =|| 0.10.5 || 0.10.6dev|| |
| 508 | ||= 0.11 =|| 0.11.6 || 0.11.7dev|| |
| 509 | }}} |
| 510 | |
| 511 | Finally, specifying an empty cell means that the next non empty cell will span the empty cells: |
| 512 | ||= Wiki Markup =||= Display =|| |
| 513 | {{{#!td |
| 514 | {{{ |
| 515 | || 1 || 2 || 3 || |
| 516 | |||| 1-2 || 3 || |
| 517 | || 1 |||| 2-3 || |
| 518 | |||||| 1-2-3 || |
| 519 | }}} |
| 520 | }}} |
| 521 | {{{#!td style="padding: 2em;" |
| 522 | || 1 || 2 || 3 || |
| 523 | |||| 1-2 || 3 || |
| 524 | || 1 |||| 2-3 || |
| 525 | |||||| 1-2-3 || |
| 526 | }}} |
| 527 | |
| 528 | Note that if the content of a cell sticks to one side of the cell and only one, then the text will be aligned on that side: |
| 529 | ||= Wiki Markup =||= Display =|| |
| 530 | {{{#!td |
| 531 | {{{ |
| 532 | ||=Text =||= Numbers =|| |
| 533 | ||left align || 1.0|| |
| 534 | || center || 4.5|| |
| 535 | || right align|| 4.5|| |
| 536 | || default alignment || 2.5|| |
| 537 | ||default|| 2.5|| |
| 538 | || default || 2.5|| |
| 539 | || default || 2.5|| |
| 540 | }}} |
| 541 | }}} |
| 542 | {{{#!td style="padding: 2em;" |
| 543 | ||=Text =||= Numbers =|| |
| 544 | ||left align || 1.0|| |
| 545 | || center || 4.5|| |
| 546 | || right align|| 4.5|| |
| 547 | || default alignment || 2.5|| |
| 548 | ||default|| 2.5|| |
| 549 | || default || 2.5|| |
| 550 | || default || 2.5|| |
| 551 | }}} |
| 552 | |
| 553 | If contrary to the example above, the cells in your table contain more text, it might be convenient to spread a table row over multiple lines of markup. The `\` character placed at the end of a line after a cell separator tells Trac to not start a new row for the cells on the next line: |
| 554 | |
| 555 | ||= Wiki Markup =|| |
| 556 | {{{#!td |
| 557 | {{{ |
| 558 | || this is column 1 [https://trac.edgewall.org/newticket new ticket] || \ |
| 559 | || this is column 2 [https://trac.edgewall.org/roadmap the road ahead] || \ |
| 560 | || that's column 3 and last one || |
| 561 | }}} |
| 562 | }}} |
| 563 | |------------- |
| 564 | ||= Display =|| |
| 565 | {{{#!td style="padding: 2em;" |
| 566 | || this is column 1 [https://trac.edgewall.org/newticket new ticket] || \ |
| 567 | || this is column 2 [https://trac.edgewall.org/roadmap the road ahead] || \ |
| 568 | || that's column 3 and last one || |
| 569 | }}} |
| 570 | |
| 571 | === Complex Tables |
| 572 | |
| 573 | If the possibilities offered by the simple pipe-based markup (`||`) for tables described above are not enough for your needs, you can create more elaborate tables by using [#Processors-example-tables WikiProcessor based tables]. |
| 574 | |
| 575 | == Links |
| 576 | |
| 577 | Hyperlinks are automatically created for WikiPageNames and URLs. !WikiPageLinks can be disabled by prepending an exclamation mark (`!`), such as `!WikiPageLink`. |
| 578 | |
| 579 | ||= Wiki Markup =||= Display =|| |
| 580 | {{{#!td |
| 581 | {{{ |
| 582 | TitleIndex, https://www.edgewall.com/, !NotAlink |
| 583 | }}} |
| 584 | }}} |
| 585 | {{{#!td |
| 586 | TitleIndex, https://www.edgewall.com/, !NotAlink |
| 587 | }}} |
| 588 | |
| 589 | Links can be given a more descriptive title by writing the link followed by a space and a title and all this inside square brackets. |
| 590 | If the descriptive title is omitted, then the explicit prefix is discarded, unless the link is an external link. This can be useful for wiki pages not adhering to the WikiPageNames convention. |
| 591 | |
| 592 | ||= Wiki Markup =||= Display =|| |
| 593 | {{{#!td |
| 594 | {{{ |
| 595 | * [https://www.edgewall.com Edgewall Software] |
| 596 | * [wiki:TitleIndex Title Index] |
| 597 | * [wiki:TitleIndex] |
| 598 | * [wiki:ISO9000] |
| 599 | }}} |
| 600 | }}} |
| 601 | {{{#!td |
| 602 | * [https://www.edgewall.com Edgewall Software] |
| 603 | * [wiki:TitleIndex Title Index] |
| 604 | * [wiki:TitleIndex] |
| 605 | * [wiki:ISO9000] |
| 606 | }}} |
| 607 | |
| 608 | Following the [trac:WikiCreole] trend, the descriptive title can also be specified by writing the link followed by a pipe (`|`) and a title and all this inside //double// square brackets. |
| 609 | |
| 610 | {{{#!td |
| 611 | {{{ |
| 612 | * [[https://www.edgewall.com|Edgewall Software]] |
| 613 | * [[wiki:TitleIndex|Title Index]] |
| 614 | or even [[TitleIndex|Title Index]] |
| 615 | * [[wiki:TitleIndex]] |
| 616 | ''' but not ![[TitleIndex]]! ''' |
| 617 | * [[ISO9000]] |
| 618 | }}} |
| 619 | }}} |
| 620 | {{{#!td |
| 621 | * [[https://www.edgewall.com|Edgewall Software]] |
| 622 | * [[wiki:TitleIndex|Title Index]] |
| 623 | or even [[TitleIndex|Title Index]] |
| 624 | * [[wiki:TitleIndex]] |
| 625 | ''' but not ![[TitleIndex]]! ''' |
| 626 | * [[ISO9000]] |
| 627 | }}} |
| 628 | |
| 629 | '''Note''': the [trac:WikiCreole] style for links is quick to type and certainly looks familiar as it is the one used on Wikipedia and in many other wikis. Unfortunately it conflicts with the syntax for [#Macros macros]. |
| 630 | So in the rare case when you need to refer to a page which is named after a macro (typical examples being TitleIndex, InterTrac and InterWiki), by writing `[[TitleIndex]]` you will actually call the macro instead of linking to the page. |
| 631 | |
| 632 | == Trac Links |
266 | | You now have to use the ![[Image]] macro (see below). |
267 | | |
268 | | |
269 | | == Macros == |
270 | | |
271 | | Macros are ''custom functions'' to insert dynamic content in a page. |
272 | | |
273 | | Example: |
274 | | {{{ |
275 | | [[Timestamp]] |
276 | | }}} |
277 | | |
278 | | Display: |
279 | | [[Timestamp]] |
| 737 | You now have to use the ![[Image]] macro. The simplest way to include an image is to upload it as attachment to the current page, and put the filename in a macro call like `[[Image(picture.gif)]]`. |
| 738 | |
| 739 | In addition to the current page, it is possible to refer to other resources: |
| 740 | * `[[Image(wiki:WikiFormatting:picture.gif)]]` (referring to attachment on another page) |
| 741 | * `[[Image(ticket:1:picture.gif)]]` (file attached to a ticket) |
| 742 | * `[[Image(htdocs:picture.gif)]]` (referring to a file inside the [TracEnvironment environment] `htdocs` directory) |
| 743 | * `[[Image(source:/trunk/trac/htdocs/trac_logo_mini.png)]]` (a file in repository) |
| 744 | |
| 745 | ||= Wiki Markup =||= Display =|| |
| 746 | {{{#!td |
| 747 | {{{ |
| 748 | [[Image(htdocs:../common/trac_logo_mini.png)]] |
| 749 | }}} |
| 750 | }}} |
| 751 | {{{#!td |
| 752 | [[Image(htdocs:../common/trac_logo_mini.png)]] |
| 753 | }}} |
| 754 | |
| 755 | See WikiMacros for further documentation on the `[[Image()]]` macro, which has several useful options (`title=`, `link=`, etc.) |
| 756 | |
| 757 | == Macros |
| 758 | |
| 759 | Macros are ''custom functions'' that insert dynamic content in a page. |
| 760 | |
| 761 | ||= Wiki Markup =||= Display =|| |
| 762 | {{{#!td |
| 763 | {{{ |
| 764 | [[RecentChanges(Trac,3)]] |
| 765 | }}} |
| 766 | }}} |
| 767 | {{{#!td style="padding-left: 2em" |
| 768 | [[RecentChanges(Trac,3)]] |
| 769 | }}} |
328 | | Perl: |
329 | | {{{ |
330 | | #!perl |
331 | | my ($test) = 0; |
332 | | if ($test > 0) { |
333 | | print "hello"; |
334 | | } |
| 843 | }}} |
| 844 | |-------------------------------------------------------- |
| 845 | {{{#!td align="center" colspan=2 style="border: 0px; font-size: 90%" |
| 846 | |
| 847 | [=#Processors-example-tables Example 3:] Complex Tables |
| 848 | |
| 849 | }}} |
| 850 | |-------------------------------------------------------- |
| 851 | {{{#!td style="border: 0px" |
| 852 | {{{ |
| 853 | {{{#!th rowspan=4 align=justify |
| 854 | With the `#td` and `#th` processors, |
| 855 | table cells can contain any content: |
| 856 | }}} |
| 857 | |---------------- |
| 858 | {{{#!td |
| 859 | - lists |
| 860 | - embedded tables |
| 861 | - simple multiline content |
| 862 | }}} |
| 863 | |---------------- |
| 864 | {{{#!td |
| 865 | As processors can be easily nested, |
| 866 | so can be tables: |
| 867 | {{{#!th |
| 868 | Example: |
| 869 | }}} |
| 870 | {{{#!td style="background: #eef" |
| 871 | || must be at the third level now... || |
| 872 | }}} |
| 873 | }}} |
| 874 | |---------------- |
| 875 | {{{#!td |
| 876 | Even when you don't have complex markup, |
| 877 | this form of table cells can be convenient |
| 878 | to write content on multiple lines. |
| 879 | }}} |
| 880 | }}} |
| 881 | }}} |
| 882 | {{{#!td valign="top" style="border: 0px" |
| 883 | |
| 884 | {{{#!th rowspan=4 align=justify |
| 885 | With the `#td` and `#th` processors, |
| 886 | table cells can contain any content: |
| 887 | }}} |
| 888 | |---------------- |
| 889 | {{{#!td |
| 890 | - lists |
| 891 | - embedded tables |
| 892 | - simple multiline content |
| 893 | }}} |
| 894 | |---------------- |
| 895 | {{{#!td |
| 896 | As processors can be easily nested, |
| 897 | so can be tables: |
| 898 | {{{#!th |
| 899 | Example: |
| 900 | }}} |
| 901 | {{{#!td style="background: #eef" |
| 902 | || must be at the third level now... || |
| 903 | }}} |
| 904 | }}} |
| 905 | |---------------- |
| 906 | {{{#!td |
| 907 | Even when you don't have complex markup, |
| 908 | this form of table cells can be convenient |
| 909 | to write content on multiple lines. |
| 910 | }}} |
| 911 | |