Difference between revisions of "Template:Evaldemo/3"
(New page: <noinclude>{{hh}}</noinclude><includeonly>{{<small> </small><code>{{{1}}}<b>|</b>{{{2|}}}{{#ifeq:{{{4|+}}}|{{{4|-}}}|<b>|</b>{{{3|}}}<b>|</b>{{{4|}}}|{{#ifeq:{{{3|...) |
(<noinclude>{{PAGENAME}}</noinclude>) |
||
Line 15: | Line 15: | ||
</noinclude> | </noinclude> | ||
+ | <noinclude>[[Category:OrthodoxWiki Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 07:05, April 9, 2008
shows the call of a template or predefined template and its result, for documentation.
- Usage:
- {{Evaldemo/3|left side|up to 3 additional parameters}}</tt>
- {{Evaldemo/3|left side|up to 3 additional parameters|s=separator}}</tt>
- The default separator is "gives", use s== to get "=". The first parameter has to be specified and can't be empty, compare
. Please note that for parser functions the first parameter belongs to the left side before the "|" vertical bar aka pipe, use {{evaldemo}}
for examples without any vertical bar.
- Examples:
-
- {{Evaldemo/3|#ifeq: 1.00|+1|okay}}
- {{
#ifeq: 1.00|+1|okay
}} gives okay
- {{
- {{Evaldemo/3|#ifeq: this|that<tt>||false|s=is}}</tt>
- {{
#ifeq: this|that||false
}} is false
- {{
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.