Template:Evaldemo/3
From Wikipedia, the free encyclopedia
This is a copy of the master template page at Meta. Do not edit this copy.
Edits will be lost in the next update from the master page. See below for more information.
shows the call of a template or predefined template and its result, for documentation.
- Usage:
- {{Evaldemo/3|left side|up to 3 additional parameters}}
- {{Evaldemo/3|left side|up to 3 additional parameters|s=separator}}
- The default separator is "gives", use s== to get "=". The first parameter has to be specified and can't be empty, compare colon functions the first parameter belongs to the left side before the "|" vertical bar aka pipe, use {{evaldemo}} for examples without any vertical bar. . Please note that for
- Examples:
-
- {{Evaldemo/3|#ifeq: 1.00|+1|okay}}
- {{
#ifeq: 1.00|+1|okay
}} gives okay
- {{
- {{Evaldemo/3|#ifeq: this|that||false|s=is}}
- {{
#ifeq: this|that||false
}} is false
- {{
- {{Evaldemo/3|#ifeq: 1.00|+1|okay}}
Optional substitution with subst=subst: is not supported. It's anyway against the spirit of this demo template showing what another template actually does, and not what it did some time ago.