User:לערי ריינהארט/tests/parser test

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

references

[edit]

character normalization test

[edit]
# {{ #ifeq: {{DIRECTIONMARK}} | ‎ | yes | no }}<br />
# {{ #ifeq: {{DIRECTIONMARK}} | ‎ | yes | no }}<br />
# {{ #ifeq: {{DIRECTIONMARK}} |  | yes | no }}<br />
# {{ #ifeq: {{SUBST:DIRECTIONMARK}} | ‎ | yes | no }}<br />
# {{ #ifeq: {{SUBST:DIRECTIONMARK}} | ‎ | yes | no }}<br />
# {{ #ifeq: {{SUBST:DIRECTIONMARK}} |  | yes | no }}<br />

generates:

  1. yes
  2. yes
  3. no
  4. yes
  5. yes
  6. no

another test

[edit]
# {{ #ifeq: {{DIRECTIONMARK}} | ‎ | yes | no }}<br />
# {{ #ifeq: {{DIRECTIONMARK}} | ‎ | yes | no }}<br />
# {{ #ifeq: {{DIRECTIONMARK}} |  | yes | no }}<br />
# {{ #ifeq: {{SUBST:DIRECTIONMARK}} | ‎ | yes | no }}<br />
# {{ #ifeq: {{SUBST:DIRECTIONMARK}} | ‎ | yes | no }}<br />
# {{ #ifeq: {{SUBST:DIRECTIONMARK}} | ‎ | yes | no }}<br />

generates:

  1. yes
  2. yes
  3. no
  4. yes
  5. yes
  6. yes
[edit]

Tim's method

[edit]
# {{urlencode:{{DIRECTIONMARK}}}}
# {{ #ifeq: {{urlencode:{{DIRECTIONMARK}}}} | %E2%80%8E | LTR | RTL }}<br />

generates:

  1. %E2%80%8E
  2. LTR

Thanks a lot! Best regards
‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 11:14, 15 February 2008 (UTC)

minor change edits

[edit]
  • 10:40, 15 February 2008 (UTC)