Difference between revisions of "Demo:CodeWrapper"

From PKC
Jump to navigation Jump to search
Line 1: Line 1:
This page shows how to include some page in its original form, without passing through the MediaWiki parser.
This page shows how to include some page in its original form, without passing through the MediaWiki parser.


For example the following code segment would render a different result:
For example the following code segment <code><nowiki>{{:Demo:SwitchStatement7}}</nowiki></code> would render a a result like following:
  <nowiki>{{:Demo:SwitchStatement7}}</nowiki>
  {{:Demo:SwitchStatement7}}

Revision as of 11:26, 16 May 2022

This page shows how to include some page in its original form, without passing through the MediaWiki parser.

For example the following code segment {{:Demo:SwitchStatement7}} would render a a result like following:

{{#switch: {{#expr: 3+2*1}}
 | 1 = one
 | 2 = two
 | 3|4|5 = any of 3–5
 | 6 = six
 | 7 = {{uc:sEveN}} <!--lowercase-->
 | #default = other
}}