PipeEscape

De Semantic MediaWiki - Sandbox

Révision datée du 23 janvier 2019 à 19:33 par Kghbln (discussion | contributions) (chg)

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
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.