Difference between revisions of "User:Catwheezle"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Catwheezle
imported>Catwheezle
Line 1: Line 1:
<includeonly>
<includeonly>
#ifeq: {{#ifeq:{{{1}}}|00:37, 23 February 2012|Ifeq thinks {{{1}}} is the static date|Ifeq thinks {{{1}}} is not a date}}
These work:
#ifeq: {{#ifeq:{{{1}}}|Not_A_Date|Ifeq fails with {{{1}}}|Ifeq works with {{{1}}}}}
#ifeq var to date: {{#ifeq:{{{1}}}|00:37, 23 February 2012|Ifeq thinks {{{1}}} is the static date|Ifeq thinks {{{1}}} is not a date}}
#ifeq var to string: {{#ifeq:{{{1}}}|Not_A_Date|Ifeq fails with {{{1}}}|Ifeq works with {{{1}}}}}
#Time static: {{#time: c|00:37, 23 February 2012}} (always a time)
#Time static: {{#time: c|00:37, 23 February 2012}} (always a time)
#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>|NotEqual|Equal}} (always 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}} (should depend on var, Equal or NotEqual.)
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.)




Line 15: Line 17:
My name:
My name:
{{:User:Catwheezle|Catwheezle}}</noinclude>
{{:User:Catwheezle|Catwheezle}}</noinclude>
For the full expression to not work, but the #ifeq and the #time and the <nowiki>{{{1}}}</nowiki> to all work fine separately or in any combination of the two seems strange.
* #ifeq #time - works
* #ifeq <nowiki>{{{1}}}</nowiki> - works
* #time <nowiki>{{{1}}}</nowiki> - works
* #ifeq #time <nowiki>{{{1}}}</nowiki> - fails

Revision as of 02:18, 23 February 2012

Legal date:

These work:

  1. ifeq var to date: Ifeq thinks 00:37, 23 February 2012 is the static date
  2. ifeq var to string: Ifeq works with 00:37, 23 February 2012
  3. Time static: 2012-02-23T00:37:00+00:00 (always a time)
  4. Time var: 2012-02-23T00:37:00+00:00 (time or an error)
  5. Bad time var: Error: Invalid time. (always an error)
  6. Expression static: Equal (always Equal)

This does not work:

  1. Full expression: IS a date (should depend on var, Equal or NotEqual.)



For the full expression to not work, but the #ifeq and the #time and the {{{1}}} to all work fine separately or in any combination of the two seems strange.

  • #ifeq #time - works
  • #ifeq {{{1}}} - works
  • #time {{{1}}} - works
  • #ifeq #time {{{1}}} - fails

My name:

These work:

  1. ifeq var to date: Ifeq thinks Catwheezle is not a date
  2. ifeq var to string: Ifeq works with Catwheezle
  3. Time static: 2012-02-23T00:37:00+00:00 (always a time)
  4. Time var: Error: Invalid time. (time or an error)
  5. Bad time var: Error: Invalid time. (always an error)
  6. Expression static: Equal (always Equal)

This does not work:

  1. Full expression: IS a date (should depend on var, Equal or NotEqual.)



For the full expression to not work, but the #ifeq and the #time and the {{{1}}} to all work fine separately or in any combination of the two seems strange.

  • #ifeq #time - works
  • #ifeq {{{1}}} - works
  • #time {{{1}}} - works
  • #ifeq #time {{{1}}} - fails

For the full expression to not work, but the #ifeq and the #time and the {{{1}}} to all work fine separately or in any combination of the two seems strange.

  • #ifeq #time - works
  • #ifeq {{{1}}} - works
  • #time {{{1}}} - works
  • #ifeq #time {{{1}}} - fails