Difference between revisions of "User:Catwheezle"
no edit summary
imported>Catwheezle |
imported>Catwheezle |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
#ifeq: {{#ifeq:{{{1}}}|00:37, 23 February 2012|Ifeq | #ifeq: {{#ifeq:{{{1}}}|00:37, 23 February 2012|Ifeq thinks {{{1}}} is the static date|Ifeq thinks {{{1}}} is not a date}} | ||
#ifeq: {{#ifeq:{{{1}}}|Not_A_Date|Ifeq fails with {{{1}}}|Ifeq works with {{{1}}}}} | #ifeq: {{#ifeq:{{{1}}}|Not_A_Date|Ifeq fails with {{{1}}}|Ifeq works with {{{1}}}}} | ||
#Time static: {{#time: c|00:37, 23 February 2012}} | #Time static: {{#time: c|00:37, 23 February 2012}} (always a time) | ||
#Time var: {{#time: c|{{{1}}}}} | #Time var: {{#time: c|{{{1}}}}} (time or an error) | ||
#Bad time var: {{#time: c|{{{1}}}?}} | #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>|NotEqual|Equal}} | #Expression static: {{#ifeq:{{#time: c|00:37, 23 February 2012}}|<strong class="error">Error: invalid time</strong>|NotEqual|Equal}} (always Equal) | ||
#Full expression: {{#ifeq:{{#time: c|{{{2}}}}}|<strong class="error">Error: invalid time</strong>|NotEqual|Equal}} | #Full expression: {{#ifeq:{{#time: c|{{{2}}}}}|<strong class="error">Error: invalid time</strong>|NotEqual|Equal}} (should depend on var, Equal or NotEqual.) | ||