Difference between revisions of "User:Catwheezle"
Jump to navigation
Jump to search
no edit summary
imported>Catwheezle |
imported>Catwheezle |
||
Line 6: | Line 6: | ||
#Time var: {{#time: c|{{{1}}}}} (time or an error) | #Time var: {{#time: c|{{{1}}}}} (time or an error) | ||
#Bad time var: {{#time: c|{{{1}}}?}} (always an error) | #Bad time var: {{#time: c|{{{1}}}?}} (always an error) | ||
#Expression static: {{#ifeq:{{#time: c|00:37, 23 February 2012}}|<strong class="error">Error: invalid time</strong>| | #Expression good static: {{#ifeq:{{#time: c|00:37, 23 February 2012}}|<strong class="error">Error: invalid time</strong>|Fails|Works}} | ||
#Expression bad static: {{#ifeq:{{#time: c|Catweasel}}|<strong class="error">Error: invalid time</strong>|Works|Fails}} | |||
This does not work: | This does not work: | ||
#Full expression: {{#ifeq:{{#time: c|{{{2}}}}}|<strong class="error">Error: invalid time</strong>|NOT a date|IS a date}} (should depend on var, Equal or NotEqual.) | #Full expression: {{#ifeq:{{#time: c|{{{2}}}}}|<strong class="error">Error: invalid time</strong>|NOT a date|IS a date}} (should depend on var, Equal or NotEqual.) |