Wikibooks:Dialog/do/test/special parameter processing
This page tests processing of special parameters by the parameter-passing mechanism and by {{dialog/init}}. Various parameters are passed by the button and then modified by means of {{dialog/init}}; for each parameter, the incoming value and the value set by {{dialog/init}} are shown separately, along with their expected values. Each parameter p is passed value "incoming
p" and then set via {{dialog/init}} to "localized
p"; observations deviate from this pattern according to handling of reserved and local parameters.
cols=&rows=&viewxcols=&rows=&Wikibooks:Dialog/do/test/special parameter processingxcols=&rows=&incoming subjectxcols=&rows=&incoming SUBJECTxcols=&rows=&incoming FOOxcols=&rows=&incoming Fooxcols=&rows=&incoming fooxcols=&rows=&incoming 123xcols=&rows=&incoming local-foox
parameter | incoming | localized | ||
---|---|---|---|---|
subject | expected: | incoming subject
|
expected: | localized subject
|
observed: | {{{subject}}}
|
observed: | size=&x | |
FOO | expected: | uninitialized | expected: | blank |
observed: | {{{FOO}}}
|
observed: | size=&x | |
Foo | expected: | incoming Foo
|
expected: | localized Foo
|
observed: | {{{Foo}}}
|
observed: | size=&x | |
foo | expected: | incoming foo
|
expected: | localized foo
|
observed: | {{{foo}}}
|
observed: | size=&x | |
123 | expected: | incoming 123
|
expected: | localized 123
|
observed: | {{{123}}}
|
observed: | size=&x | |
local-foo | expected: | uninitialized | expected: | localized local-foo
|
observed: | {{{local-foo}}}
|
observed: | size=&x |
This is a test page for dialog action Wikibooks:Dialog/do. <waiting to detect dialog> Consult diagnostic panel. |
This is a test page for dialog action Wikibooks:Dialog/do. <waiting to detect dialog> Consult diagnostic panel. |