r2
| 1 | {{{#!if true |
|---|
| 2 | Hi, I'm truthy!}}} |
|---|
| 3 | {{{#!if false |
|---|
| 4 | Hi, I'm falsy!}}} |
|---|
| 5 | ---- |
|---|
| 6 | {{{#!if a = 10 |
|---|
| 7 | {{{#!if b = a + 10 |
|---|
| 8 | @a@ @b@ |
|---|
| 9 | }}} |
|---|
| 10 | @a@ @b@}}} |
|---|
| 11 | {{{#!if b = a + 20 |
|---|
| 12 | @a@ @b@}}} |
|---|
| 13 | {{{#!if true |
|---|
| 14 | @a@ @b@ |
|---|
| 15 | }}} |
|---|
| 16 | ---- |
|---|
| 17 | {{{#!if mycolor = "abcdef" |
|---|
| 18 | {{{#@mycolor@ Color me}}} |
|---|
| 19 | {{{#!wiki style="color: #@mycolor@" |
|---|
| 20 | Color me wiki style}}} |
|---|
| 21 | }}} |
|---|
| 22 | {{{#!if mycolor = "#abcdef" |
|---|
| 23 | {{{@mycolor@ Color me}}} |
|---|
| 24 | {{{#!wiki style="color: @mycolor@" |
|---|
| 25 | Color me wiki style}}} |
|---|
| 26 | }}} |
|---|
| 27 | {{{@mycolor@ Color me}}} |
|---|
| 28 | {{{#!wiki style="color: @mycolor@" |
|---|
| 29 | Color me wiki style}}} |
|---|