Because saved variables can't really be loaded without depending on the validity of the #load command (and other things in the more advance usages), expected results listed here are the values you would expect to see in Special:MetaVarsOnPage. Tests are listed in the order you should see them there.
Description | Var Name | Displayed Value | Expected Display | Expected Save (here) |
---|---|---|---|---|
Not defined | none | (Should not appear in results) | ||
Passed value | 1 | This is a {{{passed}}} test. | This is a {{{passed}}} test. | This is a {{{passed}}} test. |
Numeric save | 2 | I have a very bad feeling about this! | I have a very bad feeling about this! | I have a very bad feeling about this! |
Blank | blank | |||
False | false | false | false | false |
Has link | link | parent page | parent page | [[../|parent page]] |
Plain text | plain | This has no special formatting of any kind. | This has no special formatting of any kind. | This has no special formatting of any kind. |
Has template, but no |savemarkup=1 |
template | This is a test. | This is a test. | This is a test. |
Zero | zero | 0 | 0 | 0 |
Does not need parsed but has |savemarkup=1 |
test:nomarkup | Hello, world! | Hello, world! | Hello, world! |
Needs parsed based on |savemarkup=1 |
unparsed | This is a test. | This is a test. | This is {{Echo|a test}}. |