Template:Evaldemo
MyWikiBiz, Author Your Legacy — Tuesday November 05, 2024
Jump to navigationJump to searchThis 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.
{{ {{{1}}}
}} gives {{{{{1}}}}}
Examples:
- Template:Tlx displays
- {{
CURRENTDAY
}} is 5
- {{
- Template:Tlx displays
- {{
#expr:2*3
}} gives 6
- {{
- {{subst:evaldemo|subst=subst:|#expr:2*3}} gives:
- {{
subst:#expr:2*3
}} gives 6
- {{
- Template:Tlx displays
- {{
#expr:2+2=5
}} gives 0
- {{
- Template:Tlx displays
- {{
#expr:(2+2=4)
}} = 1
- {{
- Template:Tlx displays
- {{
urlencode:!
}} = %21
- {{
- Template:Tlx gives
- {{
uc:abc
}} gives ABC
- {{
- {{subst:Evaldemo|uc:Upper Case|subst=subst:}} substitutes
- {{
subst:uc:Upper Case
}} gives UPPER CASE - See Help:Substitution for several caveats wrt subst=subst:.
- {{
As always the expression (first parameter) cannot directly contain "|", "=", plus other special cases related to square brackets / curly braces. In the case of this template "not directly" means "never" except from "=" as shown above.
For simple nested expressions use
:- Template:Tlx displays
- Template:Tlx displays