Difference between revisions of "Template:Evaldemo/3"
Jump to navigation
Jump to search
imported>CarsracBot m (r2.6.4) (Robot: Adding or:ଟେମ୍ପଲେଟ:Evaldemo/3) |
imported>Kasirbot m (r2.7.1) (Robot: Adding fa, hi, km, ne, simple) |
||
| Line 1: | Line 1: | ||
| − | <includeonly><tt><b>{{</b></tt><small> </small><tt>{{{1}}}</tt><small> </small><tt><b>|</b></tt><small> </small><tt>{{{2|}}}</tt>{{{{{subst|}}}#ifeq:{{{4|}}}|{{{4|-}}}|<small> </small><tt><b>|</b></tt><small> </small><tt>{{{3|}}}</tt><small> </small><tt><b>|</b></tt><small> </small><tt>{{{4}}}</tt>|{{{{{subst|}}}#ifeq:{{{3|}}}|{{{3|-}}}|<small> </small><tt><b>|</b></tt><small> </small><tt>{{{3}}}</tt>}}}}<small> </small><tt><b>}}</b></tt> {{{{{subst|}}}#ifeq:{{{s|}}}|{{{s|-}}}|{{{s}}}|{{{5|gives}}}}} {{{{{subst|}}}#ifeq:{{{4|}}}|{{{4|-}}}|{{{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4}}}}}|{{{{{subst|}}}#ifeq:{{{3|}}}|{{{3|-}}}|{{{{{1}}}|{{{2|}}}|{{{3}}}}}|{{{{{1}}}|{{{2|}}}}}}}}}</includeonly><noinclude>{{Evaldemo/3/doc}}<!-- all meta data transcluded from doc -->[[or: | + | <includeonly><tt><b>{{</b></tt><small> </small><tt>{{{1}}}</tt><small> </small><tt><b>|</b></tt><small> </small><tt>{{{2|}}}</tt>{{{{{subst|}}}#ifeq:{{{4|}}}|{{{4|-}}}|<small> </small><tt><b>|</b></tt><small> </small><tt>{{{3|}}}</tt><small> </small><tt><b>|</b></tt><small> </small><tt>{{{4}}}</tt>|{{{{{subst|}}}#ifeq:{{{3|}}}|{{{3|-}}}|<small> </small><tt><b>|</b></tt><small> </small><tt>{{{3}}}</tt>}}}}<small> </small><tt><b>}}</b></tt> {{{{{subst|}}}#ifeq:{{{s|}}}|{{{s|-}}}|{{{s}}}|{{{5|gives}}}}} {{{{{subst|}}}#ifeq:{{{4|}}}|{{{4|-}}}|{{{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4}}}}}|{{{{{subst|}}}#ifeq:{{{3|}}}|{{{3|-}}}|{{{{{1}}}|{{{2|}}}|{{{3}}}}}|{{{{{1}}}|{{{2|}}}}}}}}}</includeonly><noinclude>{{Evaldemo/3/doc}}<!-- all meta data transcluded from doc -->[[fa:الگو:Evaldemo/3]] |
| + | [[hi:साँचा:Evaldemo/3]] | ||
| + | [[ne:ढाँचा:Evaldemo/3]] | ||
| + | [[or:ଛାଞ୍ଚ:Evaldemo/3]] | ||
| + | [[km:ទំព័រគំរូ:Evaldemo/3]] | ||
| + | [[simple:Template:Evaldemo/3]] | ||
[[vi:Bản mẫu:Evaldemo/3]] | [[vi:Bản mẫu:Evaldemo/3]] | ||
</noinclude> | </noinclude> | ||
Revision as of 10:59, 31 January 2013
Template:Evaldemo/3(edit talk links history) shows the call of a template or predefined template and its result, for documentation.
- Usage:
{{Evaldemo/3|left side|up to 3 additional parameters}}{{Evaldemo/3|left side|up to 3 additional parameters|s=separator}}- The default separator is "gives", use s== to get "=". The first parameter has to be specified and can't be empty, compare Template:Evaldemo(edit talk links history). Please note that for colon 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 | true | false|s=is}}- {{ #ifeq: this | that | true | 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.
fa:الگو:Evaldemo/3
hi:साँचा:Evaldemo/3
ne:ढाँचा:Evaldemo/3
or:ଛାଞ୍ଚ:Evaldemo/3
km:ទំព័រគំរូ:Evaldemo/3
simple:Template:Evaldemo/3
vi:Bản mẫu:Evaldemo/3