PipeEscape
De Semantic MediaWiki - Sandbox
Demonstrates the usage of the "PipeEscape" extension.
- Code 1
{{#if: {{{arg|}}} |{{#!: {| |- ! style="width: 25px" || Heading 1 || Heading 2 |- | Row a || a1 || a2 |- | Row b || b1 || b2 |} }} }}
- Result 1
Nothing is shown since the #if
parser function gets no value via .
- Code 2
{{#if: {{{arg|value}}} |{{#!: {| |- ! style="width: 25px" || Heading 1 || Heading 2 |- | Row a || a1 || a2 |- | Row b || b1 || b2 |} }} }}
- Result 2
style="width: 25px" | Heading 1 | Heading 2 |
---|---|---|
Row a | a1 | a2 |
Row b | b1 | b2 |