User:Anonymous Dissident/Substable pfs
ABANDONED TEST.
#expr: edit
- With subpage templates on this page.
template | template source | template page output | this page source | this page output |
---|---|---|---|---|
/expr01 | {{<includeonly>subst:</includeonly>#expr: sin(26) }} | 0.7625584504796 | {{/expr01}} | {{subst:#expr: sin(26) }} |
/expr02 | {{<includeonly>subst:</includeonly>#expr: 3*4 }} | 12 | {{/expr02}} | {{subst:#expr: 3*4 }} |
/expr03 | {{<includeonly>subst:</includeonly>#expr: 1.67 and 4 }} | 1 | {{/expr03}} | {{subst:#expr: 1.67 and 4 }} |
- Status: Unsubstable.
- Section source
== #expr: ==
*With <span style="background:#FCC;">subpage templates</span> on <span style="background:lightgray;">this page</span>.
{| class="wikitable" style="margin: 0 auto; text-align:center"
|+Sources and outputs
! template
! template source
! template page output
! this page source
! this page output
|-
| [[/expr01]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#expr: sin(26) }}</nowiki></span>
|<span style="background:#FCC;">0.7625584504796</span>
|<span style="background:lightgray;"><nowiki>{{/expr01}}</nowiki></span>
|<span style="background:lightgray;">{{/expr01}}</span>
|-
| [[/expr02]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#expr: 3*4 }}</nowiki></span>
|<span style="background:#FCC;">12</span>
|<span style="background:lightgray;"><nowiki>{{/expr02}}</nowiki></span>
|<span style="background:lightgray;">{{/expr02}}</span>
|-
| [[/expr03]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#expr: 1.67 and 4 }}</nowiki></span>
|<span style="background:#FCC;">1</span>
|<span style="background:lightgray;"><nowiki>{{/expr03}}</nowiki></span>
|<span style="background:lightgray;">{{/expr03}}</span>
|}
*{{/Stat|n}}
#if: edit
- With subpage templates on this page.
template | template source | template page output | this page source | this page output |
---|---|---|---|---|
/if01 | {{<includeonly>subst:</includeonly>#if: string | true | false }} | true | {{/if01}} | true | false }} |
/if02 | {{<includeonly>subst:</includeonly>#if: | true | false }} | false | {{/if02}} | true | false }} |
/if03 | {{<includeonly>subst:</includeonly>#if: {{{1|}}} | yes | no }} | no | {{/if03|string}} | yes | no }} |
- Status: Unsubstable.
- Section source
== #if: ==
*With <span style="background:#FCC;">subpage templates</span> on <span style="background:lightgray;">this page</span>.
{| class="wikitable" style="margin: 0 auto; text-align:center"
|+Sources and outputs
! template
! template source
! template page output
! this page source
! this page output
|-
| [[/if01]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#if: 1==2 | true | false}}</nowiki></span>
|<span style="background:#FCC;">true</span>
|<span style="background:lightgray;"><nowiki>{{/if01}}</nowiki></span>
|<span style="background:lightgray;">{{/if01}}</span>
|-
| [[/if02]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#if: | true | false}}</nowiki></span>
|<span style="background:#FCC;">false</span>
|<span style="background:lightgray;"><nowiki>{{/if02}}</nowiki></span>
|<span style="background:lightgray;">{{/if02}}</span>
|-
| [[/if03]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#if: {{#expr: 6*5}} = 30 | yes | no}}</nowiki></span>
|<span style="background:#FCC;">yes</span>
|<span style="background:lightgray;"><nowiki>{{/if03}}</nowiki></span>
|<span style="background:lightgray;">{{/if03}}</span>
|}
*{{/Stat|n}}
- Source note: consider how the greying of the "this page output" table parameter (ie. <span style="background:lightgray;">{{/if01}}</span>) fails.
#ifeq: edit
- With subpage templates on this page.
template | template source | template page output | this page source | this page output |
---|---|---|---|---|
/ifeq01 | {{<includeonly>subst:</includeonly>#ifeq: 01 | 1 | 01 = 1 | 01 != 1 }} | 01 = 1 | {{/ifeq01}} | 1 | 01 = 1 | 01 != 1 }} |
/ifeq02 | {{<includeonly>subst:</includeonly>#ifeq: {{FULLPAGENAME}} | User:Anonymous Dissident/Substable pfs | yes | no }} | no | {{/ifeq02}} | User:Anonymous Dissident/Substable pfs | yes | no }} |
- Status: Unsubstable.
- Section source
== #ifeq: ==
*With <span style="background:#FCC;">subpage templates</span> on <span style="background:lightgray;">this page</span>.
{| class="wikitable" style="margin: 0 auto; text-align:center"
|+Sources and outputs
! template
! template source
! template page output
! this page source
! this page output
|-
| [[/ifeq01]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#ifeq: 01 | 1 | 01 = 1 | 01 != 1 }}</nowiki></span>
|<span style="background:#FCC;">01 = 1</span>
|<span style="background:lightgray;"><nowiki>{{/ifeq01}}</nowiki></span>
|<span style="background:lightgray;">{{/ifeq01}}</span>
|-
| [[/ifeq02]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#ifeq: {{FULLPAGENAME}} | User:Anonymous Dissident/Substable pfs | yes | no }}</nowiki></span>
|<span style="background:#FCC;">no</span>
|<span style="background:lightgray;"><nowiki>{{/ifeq02}}</nowiki></span>
|<span style="background:lightgray;">{{/ifeq02}}</span>
|}
*{{/Stat|n}}
- Source note: consider how the greying of the "this page output" table parameter (ie. <span style="background:lightgray;">{{/ifeq01}}</span>) fails.
#iferror: edit
- With subpage templates on this page.
template | template source | template page output | this page source | this page output |
---|---|---|---|---|
/iferror01 | {{<includeonly>subst:</includeonly>#iferror: {{#expr: 1 + X }} | error | correct }} | error | {{/iferror01}} | error | correct }} |
/iferror02 | {{<includeonly>subst:</includeonly>#iferror: {{#expr: 1 + 2 }} }} | 3 | {{/iferror02}} | {{subst:#iferror: 3 }} |
- Status: Unsubstable.
- Section source
== #iferror: ==
*With <span style="background:#FCC;">subpage templates</span> on <span style="background:lightgray;">this page</span>.
{| class="wikitable" style="margin: 0 auto; text-align:center"
|+Sources and outputs
! template
! template source
! template page output
! this page source
! this page output
|-
| [[/iferror01]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#iferror: {{#expr: 1 + X }} | error | correct }}</nowiki></span>
|<span style="background:#FCC;">error</span>
|<span style="background:lightgray;"><nowiki>{{/iferror01}}</nowiki></span>
|<span style="background:lightgray;">{{/iferror01}}</span>
|-
| [[/iferror02]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#iferror: {{#expr: 1 + 2 }} }}</nowiki></span>
|<span style="background:#FCC;">3</span>
|<span style="background:lightgray;"><nowiki>{{/iferror02}}</nowiki></span>
|<span style="background:lightgray;">{{/iferror02}}</span>
|}
*{{/Stat|n}}
- Source note: consider how the greying of the "this page output" table parameter (ie. <span style="background:lightgray;">{{/ifeq01}}</span>) fails when the pf accepts parameters, but functions without them.
#ifexpr: edit
- With subpage templates on this page.
template | template source | template page output | this page source | this page output |
---|---|---|---|---|
/ifexpr01 | {{<includeonly>subst:</includeonly>#ifexpr: 10 > 9 | true | false }} | error | correct }} | true | {{/ifexpr01}} | true | false }} |
/ifexpr02 | {{<includeonly>subst:</includeonly>#ifexpr: 1 > 0 | true }} | true | {{/ifexpr02}} | true }} |
/ifexpr03 | {{<includeonly>subst:</includeonly>#ifexpr: 1 > 0 }} | {{/ifexpr03}} | {{subst:#ifexpr: 1 > 0 }} |
- Status: Unsubstable.
- Section source
== #ifexpr: ==
*With <span style="background:#FCC;">subpage templates</span> on <span style="background:lightgray;">this page</span>.
{| class="wikitable" style="margin: 0 auto; text-align:center"
|+Sources and outputs
! template
! template source
! template page output
! this page source
! this page output
|-
| [[/ifexpr01]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#ifexpr: 10 > 9 | true | false }} | error | correct }}</nowiki></span>
|<span style="background:#FCC;">true</span>
|<span style="background:lightgray;"><nowiki>{{/ifexpr01}}</nowiki></span>
|<span style="background:lightgray;">{{/ifexpr01}}</span>
|-
| [[/ifexpr02]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#ifexpr: 1 > 0 | true }}</nowiki></span>
|<span style="background:#FCC;">true</span>
|<span style="background:lightgray;"><nowiki>{{/ifexpr02}}</nowiki></span>
|<span style="background:lightgray;">{{/ifexpr02}}</span>
|-
|[[/ifexpr03]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#ifexpr: 1 > 0 }}</nowiki></span>
|<span style="background:#FCC;"> </span>
|<span style="background:lightgray;"><nowiki>{{/ifexpr03}}</nowiki></span>
|<span style="background:lightgray;">{{/ifexpr03}}</span>
|}
*{{/Stat|n}}
- Source note: consider how the greying of the "this page output" table parameter (ie. <span style="background:lightgray;">{{/ifeq01}}</span>) fails when the pf accepts parameters, but functions without them.
#ifexist: edit
- With subpage templates on this page.
template | template source | template page output | this page source | this page output |
---|---|---|---|---|
/ifexist01 | {{<includeonly>subst:</includeonly>#ifexist: Main page | 0 | 1 }} | 0 | {{/ifexist01}} | 0 | 1 }} |
/ifexist02 | {{<includeonly>subst:</includeonly>#ifexist:{{{1}}} | 0 | 1 }} | 1 | {{/ifexist02|Main page}} | 0 | 1 }} |
- Status: Unsubstable.
- Section source
== #ifexist: ==
*With <span style="background:#FCC;">subpage templates</span> on <span style="background:lightgray;">this page</span>.
{| class="wikitable" style="margin: 0 auto; text-align:center"
|+Sources and outputs
! template
! template source
! template page output
! this page source
! this page output
|-
| [[/ifexist01]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#ifexist: Main page | 0 | 1 }}</nowiki></span>
|<span style="background:#FCC;">0</span>
|<span style="background:lightgray;"><nowiki>{{/ifexist01}}</nowiki></span>
|<span style="background:lightgray;">{{/ifexist01}}</span>
|-
| [[/ifexist02]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#ifexist:{{{1}}} | 0 | 1 }}</nowiki></span>
|<span style="background:#FCC;">1</span>
|<span style="background:lightgray;"><nowiki>{{/ifexist02|Main page}}</nowiki></span>
|<span style="background:lightgray;">{{/ifexist02|Main page}}</span>
|}
*{{/Stat|n}}
- Source note: consider how the greying of the "this page output" table parameter (ie. <span style="background:lightgray;">{{/ifeq01}}</span>) fails.
#rel2abs: edit
- With subpage templates on this page.
template | template source | template page output | this page source | this page output |
---|---|---|---|---|
/rel2labs01 | {{<includeonly>subst:</includeonly>#rel2abs: ./quok}} | User:Anonymous Dissident/Substable pfs/Rel2labs01/quok | {{/rel2labs01}} | {{subst:#rel2abs: ./quok}} |
/rel2labs02 | {{<includeonly>subst:</includeonly>#rel2abs: ./{{{1}}} | Help:Foo/bar/baz }} | Help:Foo/bar/baz/{{{1}}} | {{/rel2labs02|quok}} | Help:Foo/bar/baz }} |
/rel2labs03 | {{<includeonly>subst:</includeonly>#rel2abs: ./quok | {{{1}}} }} | {{{1}}}/quok | {{/rel2labs03|Help:Foo/bar/baz}} | Main page }} |
- Status: Unsubstable.
- Section source
== #rel2abs: ==
*With <span style="background:#FCC;">subpage templates</span> on <span style="background:lightgray;">this page</span>.
{| class="wikitable" style="margin: 0 auto; text-align:center"
|+Sources and outputs
! template
! template source
! template page output
! this page source
! this page output
|-
| [[/rel2labs01]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#rel2abs: ./quok}}</nowiki></span>
|<span style="background:#FCC;">User:Anonymous Dissident/Substable pfs/Rel2labs01/quok</span>
|<span style="background:lightgray;"><nowiki>{{/rel2labs01}}</nowiki></span>
|<span style="background:lightgray;">{{/rel2labs01}}</span>
|-
| [[/rel2labs02]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#rel2abs: ./{{{1}}} | Help:Foo/bar/baz }}</nowiki></span>
|<span style="background:#FCC;">Help:Foo/bar/baz/{{{1}}}</span>
|<span style="background:lightgray;"><nowiki>{{/rel2labs02|quok}}</nowiki></span>
|<span style="background:lightgray;">{{/rel2labs02|quok}}</span>
|-
| [[/rel2labs03]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#rel2abs: ./quok | {{{1}}} }}</nowiki></span>
|<span style="background:#FCC;">{{{1}}}/quok</span>
|<span style="background:lightgray;"><nowiki>{{/rel2labs03|Help:Foo/bar/baz}}</nowiki></span>
|<span style="background:lightgray;">{{/rel2labs03|Main page}}</span>
|}
*{{/Stat|n}}
#switch: edit
- With subpage templates on this page.
template | template source | template page output | this page source | this page output |
---|---|---|---|---|
/switch01 | {{<includeonly>subst:</includeonly>#switch: {{{1}}} | Y=y | X=x | #default=A }} | A | {{/switch01}} | Y=y | X=x | #default=A }} |
/switch01 | {{<includeonly>subst:</includeonly>#switch: {{{1}}} | Y=y | X=x | #default=A }} | A | {{/switch01|Y}} | Y=y | X=x | #default=A }} |
/switch03 | {{<includeonly>subst:</includeonly>#rel2abs: ./quok | {{{1}}} }} | {{{1}}}/quok | {{/switch03|Help:Foo/bar/baz}} | User:Anonymous Dissident/Substable pfs/switch03 |
- Status: Unsubstable.
- Section source
*With <span style="background:#FCC;">subpage templates</span> on <span style="background:lightgray;">this page</span>.
{| class="wikitable" style="margin: 0 auto; text-align:center"
|+Sources and outputs
! template
! template source
! template page output
! this page source
! this page output
|-
| [[/switch01]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#switch: {{{1}}} | Y=y | X=x | #default=A }}</nowiki></span>
|<span style="background:#FCC;">A</span>
|<span style="background:lightgray;"><nowiki>{{/switch01}}</nowiki></span>
|<span style="background:lightgray;">{{/switch01}}</span>
|-
| [[/switch01]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#switch: {{{1}}} | Y=y | X=x | #default=A }}</nowiki></span>
|<span style="background:#FCC;">A</span>
|<span style="background:lightgray;"><nowiki>{{/switch01|Y}}</nowiki></span>
|<span style="background:lightgray;">{{/switch01|Y}}</span>
|-
| [[/switch03]]
|<span style="background:#FCC;"><nowiki>{{<includeonly>subst:</includeonly>#rel2abs: ./quok | {{{1}}} }}</nowiki></span>
|<span style="background:#FCC;">{{{1}}}/quok</span>
|<span style="background:lightgray;"><nowiki>{{/switch03|Help:Foo/bar/baz}}</nowiki></span>
|<span style="background:lightgray;">{{/switch03|Help:Foo/bar/baz}}</span>
|}
*{{/Stat|n}}