Template:Evaldemo/doc: Difference between revisions

add cat
(Created page with 'Examples: #{{Tlx|Evaldemo|CURRENTDAY|s=is}} displays #:{{Evaldemo|CURRENTDAY|s=is}} #{{Tlx|Evaldemo|#expr:2*3}} displays #:{{Evaldemo|#expr:2*3}} #<nowiki>{{subst:evaldem…')
 
(add cat)
Line 17: Line 17:
<!-- #:{{subst:evaldemo|uc:Upper Case|subst=subst:}} -->
<!-- #:{{subst:evaldemo|uc:Upper Case|subst=subst:}} -->
#:{&#123;<small>&#160;</small><code>subst:uc:Upper Case</code>&#125;} {{{s|gives}}} UPPER CASE
#:{&#123;<small>&#160;</small><code>subst:uc:Upper Case</code>&#125;} {{{s|gives}}} UPPER CASE
#:See [[m:Help:Substitution|Help:Substitution]] for several caveats wrt <tt>subst=subst:</tt>.
#:See {{mw|Help:Substitution}} for several caveats wrt <tt>subst=subst:</tt>.


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.
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.
Line 28: Line 28:
#:{{evaldemo/2|urlencode:|DIRMARK}}
#:{{evaldemo/2|urlencode:|DIRMARK}}
<includeonly>
<includeonly>
 
[[Category:Utility templates]]
</includeonly>
</includeonly>
90,866

edits