User:לערי ריינהארט/tests/parser test
Jump to navigation
Jump to search
references
[edit]- m:Help:ParserFunctions
- {{ #ifeq: <text 1> | text 2> | <code if equal> }}
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:
- yes
- yes
- no
- yes
- yes
- 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:
- yes
- yes
- no
- yes
- yes
- yes
pastebin links
[edit]- http://gengleri.pastebin.org/19701 · there are no RLM
- http://gengleri.pastebin.org/19702 · the RLM's are there
# {{urlencode:{{DIRECTIONMARK}}}} # {{ #ifeq: {{urlencode:{{DIRECTIONMARK}}}} | %E2%80%8E | LTR | RTL }}<br />
generates:
- %E2%80%8E
- 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)