Difference between revisions of "Template:Evaldemo/2"
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>{{<small> </small><code>{{{subst|}}}{{{1}}}</code>{{<small> </small><code>{{{subst|}}}{{{2}}}</code>}}<code>{{{3|}}}</code>}} {{{4|gives}}} {{{{{subst|}}}{{{1}}}{{{{{subst|}}}{{{2}}}}}{{{3|}}}}}<noinclude> | + | <noinclude>{{hh}}</noinclude>{{<small> </small><code>{{{subst|}}}{{{1}}}</code>{{<small> </small><code>{{{subst|}}}{{{2}}}</code>}}<code>{{{3|}}}</code>}} {{{{{subst|}}}#ifeq: {{{s|+}}}|{{{s|-}}}|{{{s}}}|{{{4|gives}}}}} {{{{{subst|}}}{{{1}}}{{{{{subst|}}}{{{2}}}}}{{{3|}}}}}<noinclude> |
---- | ---- | ||
;Usage: | ;Usage: | ||
| − | :{{Tlx|{{PAGENAME}}|outer-left|inner|outer-right<tt>|</tt>separator}} | + | :{{Tlx|{{PAGENAME}}|outer-left|inner|outer-right<tt>|s=</tt>separator}} |
| − | :The default separator is "'''gives'''", use <tt> | + | :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: | ;Example: | ||
:{{Tlx|{{PAGENAME}}|#expr:|CURRENTTIMESTAMP| mod 100}} | :{{Tlx|{{PAGENAME}}|#expr:|CURRENTTIMESTAMP| mod 100}} | ||
:{{{{PAGENAME}}|#expr:|CURRENTTIMESTAMP| mod 100}} | :{{{{PAGENAME}}|#expr:|CURRENTTIMESTAMP| mod 100}} | ||
| − | + | {{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