Template:Ifnumber: Difference between revisions

From RetroWikipedia
Jump to navigation Jump to search
imported>Gonnym
while {{#expr:E}} gives a number value, a much more valid use-case would be the letter "e" which is not a number
 
imported>Theknightwho
Make substable.
 
Line 1: Line 1:
<includeonly>{{#ifeq: {{lc:{{{1|}}}}} | e | {{{3|0}}} | {{#iferror:{{#expr:{{{1|}}}*0}}|{{{3|0}}}|{{{2|1}}}}} }}</includeonly><noinclude>{{Documentation}}</noinclude>
<includeonly>{{safesubst:#ifeq: {{safesubst:lc:{{{1|}}}}} | e | {{{3|0}}} | {{safesubst:#iferror:{{safesubst:#expr:{{{1|}}}*0}}|{{{3|0}}}|{{{2|1}}}}} }}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 05:23, 5 August 2025