Difference between revisions of "Template:Evaldemo/2"

From blackwiki
Jump to navigation Jump to search
imported>Omniplex
m (TRANSWIKI from Meta)
imported>Omniplex
(Upgrade from Meta (prepare to deprecate))
Line 1: Line 1:
<noinclude>{{hh}}</noinclude>{&#123;<small>&#160;</small><code>{{{subst|}}}{{{1}}}</code>{&#123;<small>&#160;</small><code>{{{subst|}}}{{{2}}}</code>&#125;}<code>{{{3|}}}</code>&#125;} {{{4|gives}}} {{{{{subst|}}}{{{1}}}{{{{{subst|}}}{{{2}}}}}{{{3|}}}}}<noinclude>
+
<noinclude>{{hh}}</noinclude>{&#123;<small>&#160;</small><code>{{{subst|}}}{{{1}}}</code>{&#123;<small>&#160;</small><code>{{{subst|}}}{{{2}}}</code>&#125;}<code>{{{3|}}}</code>&#125;} {{{{{subst|}}}#ifeq: {{{s|+}}}|{{{s|-}}}|{{{s}}}|{{{4|gives}}}}} {{{{{subst|}}}{{{1}}}{{{{{subst|}}}{{{2}}}}}{{{3|}}}}}<noinclude>
 
----
 
----
 
;Usage&#58;
 
;Usage&#58;
:{{Tlx|{{PAGENAME}}|outer-left|inner|outer-right<tt>&#124;</tt>separator}}
+
:{{Tlx|{{PAGENAME}}|outer-left|inner|outer-right<tt>&#124;s&#61;</tt>separator}}
:The default separator is "'''gives'''", use <tt>4==</tt> or similar to get "'''='''". The second parameter has to specified and can't be empty, compare {{tim|evaldemo}}. With optional [[Help:substitution|substitution]] <tt>subst=subst:</tt> the first parameter also can't be empty.
+
:The default separator is "'''gives'''", use e.g. <tt>s==</tt> for "'''='''". The second parameter has to specified and can't be empty, compare {{tim|evaldemo}}. With optional [[Help:substitution|substitution]] <tt>subst=subst:</tt> the first parameter also can't be empty.
 
;Example&#58;
 
;Example&#58;
 
:{{Tlx|{{PAGENAME}}|#expr:|CURRENTTIMESTAMP| mod 100}}
 
:{{Tlx|{{PAGENAME}}|#expr:|CURRENTTIMESTAMP| mod 100}}
 
:{{{{PAGENAME}}|#expr:|CURRENTTIMESTAMP| mod 100}}
 
:{{{{PAGENAME}}|#expr:|CURRENTTIMESTAMP| mod 100}}
  
[[Category:Handbook templates|{{PAGENAME}}]]
+
{{tdeprecated|evdn}}
 
</noinclude>
 
</noinclude>

Revision as of 12:28, 17 June 2006


Happy Holidays


This user wishes you a very Happy Holiday season.

{{ {{{1}}}{{ {{{2}}}}}}} gives {{{{{1}}}{{{{{2}}}}}}}


Usage:
{{Evaldemo/2|outer-left|inner|outer-right|s=separator}}
The default separator is "gives", use e.g. s== for "=". The second parameter has to specified and can't be empty, compare m:Template:evaldemo (backlinks edit). With optional substitution subst=subst: the first parameter also can't be empty.
Example:
{{Evaldemo/2|#expr:|CURRENTTIMESTAMP| mod 100}}
{{ #expr:{{ CURRENTTIMESTAMP}} mod 100}} gives 36

Template:Tdeprecated